22 #ifndef MADS_PHANTOM_SOUND_RSOUND_PHANTOM_H 23 #define MADS_PHANTOM_SOUND_RSOUND_PHANTOM_H 25 #include "mads/phantom/sound/rsound.h" 56 typedef int (
RSound1:: *CommandPtr)();
59 int _lastRandomAmbianceIndex = -1;
61 void checkRandomAmbianceTrigger()
override;
68 int command4()
override;
69 int command5()
override;
110 int command(
int commandId,
int param)
override;
132 typedef int (
RSound2:: *CommandPtr)();
133 static const CommandPtr _commandList[74];
139 int command4()
override;
140 int command5()
override;
164 int command(
int commandId,
int param)
override;
203 typedef int (
RSound3:: *CommandPtr)();
204 static const CommandPtr _commandList[77];
206 int command4()
override;
207 int command5()
override;
238 int command(
int commandId,
int param)
override;
277 typedef int (
RSound4:: *CommandPtr)();
278 static const CommandPtr _commandList[72];
281 int command4()
override;
282 int command5()
override;
302 int command(
int commandId,
int param)
override;
337 typedef int (
RSound5:: *CommandPtr)();
338 static const CommandPtr _commandList[80];
342 int command4()
override;
343 int command5()
override;
350 void enableChannels678();
386 int command(
int commandId,
int param)
override;
419 typedef int (
RSound9:: *CommandPtr)();
420 static const CommandPtr _commandList[73];
422 int command4()
override;
423 int command5()
override;
452 int command(
int commandId,
int param)
override;
459 int dataOffset,
int dataSize,
int sysExOffset);
461 int dispatchCommonCommand(
int commandId);
462 int command4()
override;
463 int command5()
override;
470 void writeRandomizedPair(uint16 firstLowOffset, uint16 secondLowOffset,
471 uint16 firstHighOffset, uint16 secondHighOffset,
472 byte firstLow, byte secondLow, byte firstHigh, byte secondHigh);
477 int command(
int commandId,
int param)
override;
Definition: rsound_phantom.h:54
int command(int commandId, int param) override
Definition: rsound_phantom.h:335
Definition: rsound_phantom.h:417
Definition: rsound_phantom.h:275
virtual bool callFunction(uint16 targetOffset)
Definition: rsound.h:299
Definition: rsound_phantom.h:467
Definition: rsound_phantom.h:456
Definition: rsound_phantom.h:201
Definition: anim_timer.h:27
Definition: rsound_phantom.h:130