aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/nebular/sound_nebular.h
diff options
context:
space:
mode:
authorPaul Gilbert2014-05-15 21:06:26 -0400
committerPaul Gilbert2014-05-15 21:06:26 -0400
commit7028bc3b712ae5b198dd6d495cf2c90dd49eae43 (patch)
tree1bc1075be7358767f453d5de86ec640b296292a1 /engines/mads/nebular/sound_nebular.h
parent655233bdfbb7412aa2070d3d9bd76b28e395c38e (diff)
downloadscummvm-rg350-7028bc3b712ae5b198dd6d495cf2c90dd49eae43.tar.gz
scummvm-rg350-7028bc3b712ae5b198dd6d495cf2c90dd49eae43.tar.bz2
scummvm-rg350-7028bc3b712ae5b198dd6d495cf2c90dd49eae43.zip
MADS: Implement sound player for scene group 6
Diffstat (limited to 'engines/mads/nebular/sound_nebular.h')
-rw-r--r--engines/mads/nebular/sound_nebular.h32
1 files changed, 30 insertions, 2 deletions
diff --git a/engines/mads/nebular/sound_nebular.h b/engines/mads/nebular/sound_nebular.h
index db6ca972d6..771aac4b0e 100644
--- a/engines/mads/nebular/sound_nebular.h
+++ b/engines/mads/nebular/sound_nebular.h
@@ -261,6 +261,8 @@ protected:
int command6();
int command7();
int command8();
+
+ int nullCommand() { return 0; }
public:
Audio::Mixer *_mixer;
FM_OPL *_opl;
@@ -514,7 +516,6 @@ private:
int command57();
int command59();
int command60();
- int nullCommand() { return 0; }
void command9Randomize();
void command9Apply(byte *data, int val, int incr);
@@ -554,7 +555,6 @@ private:
int command58();
int command59();
int command60();
- int nullCommand() { return 0; }
void method1();
public:
@@ -609,6 +609,34 @@ public:
virtual int command(int commandId, int param);
};
+class ASound6 : public ASound {
+private:
+ typedef int (ASound6::*CommandPtr)();
+ static const CommandPtr _commandList[30];
+
+ int command9();
+ int command10();
+ int command11();
+ int command12();
+ int command13();
+ int command14();
+ int command15();
+ int command16();
+ int command17();
+ int command18();
+ int command19();
+ int command20();
+ int command21();
+ int command22();
+ int command23();
+ int command24();
+ int command25();
+ int command29();
+public:
+ ASound6(Audio::Mixer *mixer);
+
+ virtual int command(int commandId, int param);
+};
} // End of namespace Nebular