22 #ifndef NANCY_ACTION_SOUNDRECORDS_H 23 #define NANCY_ACTION_SOUNDRECORDS_H 25 #include "engines/nancy/action/actionrecord.h" 34 void execute()
override;
40 Common::String getRecordTypeName()
const override {
return "SetVolume"; }
48 void execute()
override;
51 uint32 fadeTimeMs = 0;
54 Common::String getRecordTypeName()
const override {
return "FadeSoundToSilence"; }
57 uint32 _startTime = 0;
58 uint16 _startVolume = 0;
66 void execute()
override;
68 static const int32 kNoChange = 10000;
70 uint16 _channelID = 0;
74 int32 _minDistance = 0;
75 int32 _maxDistance = 0;
78 Common::String getRecordTypeName()
const override {
return "Update3DSound"; }
86 void execute()
override;
93 Common::String getRecordTypeName()
const override {
return "Set3DSoundListenerPosition"; }
105 void execute()
override;
109 bool _changeSceneImmediately =
false;
115 byte _afterSoundAction = 0;
128 void applyAfterSoundAction();
136 void execute()
override;
150 Common::String getRecordTypeName()
const override {
return "PlaySoundTerse"; }
159 Common::String getRecordTypeName()
const override {
return "PlaySoundEventFlagTerse"; }
167 void execute()
override;
180 void execute()
override;
187 bool canHaveHotspot()
const override {
return true; }
191 Common::String getRecordTypeName()
const override {
return "PlaySoundMultiHS"; }
199 void execute()
override;
205 Common::String getRecordTypeName()
const override {
return "StopSound"; }
217 uint _selectedSound = 0;
220 Common::String getRecordTypeName()
const override {
return "PlayRandomSound"; }
232 uint _selectedSound = 0;
235 Common::String getRecordTypeName()
const override {
return "PlayRandomSoundTerse"; }
245 void execute()
override;
248 Common::String getRecordTypeName()
const override {
return "TableIndexPlaySound"; }
250 uint16 _tableIndex = 0;
251 int16 _lastIndexVal = -1;
257 #endif // NANCY_ACTION_NAVIGATIONRECORDS_H
static String format(MSVC_PRINTF const char *fmt,...) GCC_PRINTF(1
Definition: soundrecords.h:145
Definition: soundrecords.h:31
Definition: commontypes.h:165
Definition: soundrecords.h:83
Definition: soundrecords.h:63
Definition: soundrecords.h:196
Definition: soundrecords.h:164
Definition: commontypes.h:245
Definition: soundrecords.h:99
Definition: commontypes.h:185
Definition: soundrecords.h:133
Definition: actionrecord.h:98
Definition: soundrecords.h:154
Definition: soundrecords.h:242
Definition: soundrecords.h:177
Definition: soundrecords.h:225
Definition: commontypes.h:282
Definition: soundrecords.h:45
Definition: commontypes.h:180
Definition: actionmanager.h:32
Definition: soundrecords.h:211