22 #ifndef MADS_NEBULAR_SOUND_NEBULAR_H 23 #define MADS_NEBULAR_SOUND_NEBULAR_H 25 #include "mads/nebular/asound.h" 28 namespace RexNebular {
40 void validate()
override;
45 void channelCommand(byte *&pSrc,
bool &updateFlag)
override;
49 const Common::Path &filename,
int dataOffset,
int dataSize);
54 typedef int (
ASound1:: *CommandPtr)();
55 static const CommandPtr _commandList[42];
93 int command2627293032();
97 int command(
int commandId,
int param)
override;
102 byte _command12Param;
104 typedef int (
ASound2:: *CommandPtr)();
105 static const CommandPtr _commandList[44];
107 int command0()
override;
144 void command9Randomize();
145 void command9Apply(byte *data,
int val,
int incr);
149 int command(
int commandId,
int param)
override;
156 typedef int (
ASound3:: *CommandPtr)();
157 static const CommandPtr _commandList[61];
204 void command9Randomize();
205 void command9Apply(byte *data,
int val,
int incr);
209 int command(
int commandId,
int param)
override;
214 typedef int (
ASound4:: *CommandPtr)();
215 static const CommandPtr _commandList[61];
247 int command(
int commandId,
int param)
override;
252 typedef int (
ASound5:: *CommandPtr)();
253 static const CommandPtr _commandList[42];
293 int command(
int commandId,
int param)
override;
298 typedef int (
ASound6:: *CommandPtr)();
299 static const CommandPtr _commandList[30];
322 int command(
int commandId,
int param)
override;
327 typedef int (
ASound7:: *CommandPtr)();
328 static const CommandPtr _commandList[38];
354 int command(
int commandId,
int param)
override;
359 typedef int (
ASound8:: *CommandPtr)();
360 static const CommandPtr _commandList[38];
392 void method1(byte *pData);
393 void adjustRange(byte *pData, byte v,
int incr);
397 int command(
int commandId,
int param)
override;
410 typedef void (
ASound9:: *CallbackFunction)();
411 int _callbackCounter;
413 CallbackFunction _callbackFnPtr;
415 typedef int (
ASound9:: *CommandPtr)();
416 static const CommandPtr _commandList[52];
418 void tickCallback()
override;
464 void loadCommand38();
465 void loadCommand39();
466 void loadCommand40();
467 void loadCommand41();
468 void loadCommand42();
469 void loadCommand44_46();
470 void loadCommand45();
471 void loadCommand47();
472 void loadCommand50();
476 int command(
int commandId,
int param)
override;
Definition: sound_nebular.h:30
Definition: sound_nebular.h:296
Definition: sound_nebular.h:400
Definition: sound_nebular.h:100
Definition: sound_nebular.h:250
Definition: sound_nebular.h:357
Definition: sound_manager.h:90
void loadDriver(int sectionNum) override
Definition: sound_nebular.h:52
Definition: sound_nebular.h:212
Definition: sound_nebular.h:43
Definition: sound_nebular.h:325
Definition: anim_timer.h:27
int command(int commandId, int param=0)
Definition: sound_nebular.h:152