22 #ifndef NANCY_ACTION_SOUNDRECORDS_H 23 #define NANCY_ACTION_SOUNDRECORDS_H 25 #include "engines/nancy/action/actionrecord.h" 40 void execute()
override;
48 Common::String getRecordTypeName()
const override {
return "SetVolume"; }
56 void execute()
override;
62 Common::String getRecordTypeName()
const override {
return "SetMovieVolume"; }
70 void execute()
override;
73 uint32 fadeTimeMs = 0;
76 Common::String getRecordTypeName()
const override {
return "FadeSoundToSilence"; }
79 uint32 _startTime = 0;
80 uint16 _startVolume = 0;
88 void execute()
override;
90 static const int32 kNoChange = 10000;
92 uint16 _channelID = 0;
96 int32 _minDistance = 0;
97 int32 _maxDistance = 0;
100 Common::String getRecordTypeName()
const override {
return "Update3DSound"; }
108 void execute()
override;
115 Common::String getRecordTypeName()
const override {
return "Set3DSoundListenerPosition"; }
127 void execute()
override;
131 bool _changeSceneImmediately =
false;
137 byte _afterSoundAction = 0;
150 void applyAfterSoundAction();
158 void execute()
override;
172 Common::String getRecordTypeName()
const override {
return "PlaySoundTerse"; }
181 Common::String getRecordTypeName()
const override {
return "PlaySoundEventFlagTerse"; }
189 void execute()
override;
202 void execute()
override;
209 bool canHaveHotspot()
const override {
return true; }
213 Common::String getRecordTypeName()
const override {
return "PlaySoundMultiHS"; }
221 void execute()
override;
227 Common::String getRecordTypeName()
const override {
return "StopSound"; }
239 uint _selectedSound = 0;
242 Common::String getRecordTypeName()
const override {
return "PlayRandomSound"; }
254 uint _selectedSound = 0;
257 Common::String getRecordTypeName()
const override {
return "PlayRandomSoundTerse"; }
267 void execute()
override;
270 Common::String getRecordTypeName()
const override {
return "TableIndexPlaySound"; }
272 uint16 _tableIndex = 0;
273 int16 _lastIndexVal = -1;
283 void execute()
override;
300 static const byte kSubtitleModeNone = 3;
303 virtual bool perGroupFlags()
const = 0;
305 void showGroupSubtitle();
306 void startCurrentSound();
311 int16 _exitSceneID = kNoScene;
312 byte _subtitleMode = 0;
315 uint _currentGroup = 0;
316 uint _currentSound = 0;
317 bool _soundStarted =
false;
318 uint32 _delayEnd = 0;
323 bool perGroupFlags()
const override {
return true; }
324 Common::String getRecordTypeName()
const override {
return "ConcatSound"; }
329 bool perGroupFlags()
const override {
return false; }
330 Common::String getRecordTypeName()
const override {
return "MultiSound"; }
336 #endif // NANCY_ACTION_NAVIGATIONRECORDS_H
static String format(MSVC_PRINTF const char *fmt,...) GCC_PRINTF(1
Definition: soundrecords.h:167
Definition: soundrecords.h:37
Definition: commontypes.h:186
Definition: soundrecords.h:105
Definition: soundrecords.h:280
Definition: soundrecords.h:321
Definition: soundrecords.h:85
Definition: soundrecords.h:218
Definition: soundrecords.h:186
Definition: soundrecords.h:327
Definition: commontypes.h:269
Definition: soundrecords.h:292
Definition: soundrecords.h:121
Definition: soundrecords.h:53
Definition: commontypes.h:206
Definition: soundrecords.h:155
Definition: actionrecord.h:107
Definition: soundrecords.h:176
Definition: soundrecords.h:264
Definition: soundrecords.h:199
Definition: soundrecords.h:247
Definition: commontypes.h:306
Definition: soundrecords.h:67
Definition: commontypes.h:201
Definition: actionmanager.h:32
Definition: soundrecords.h:286
Definition: soundrecords.h:233