diff options
author | Paul Gilbert | 2014-05-16 09:05:05 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-05-16 09:05:05 -0400 |
commit | 514f122847c1e6be7b9901800bd3298d47ae72bb (patch) | |
tree | 7c43a4d69fe052e124de972908cf05162fe8b89c /engines/mads/nebular/sound_nebular.h | |
parent | 8a30fe7d5d2490fdd169208291c6f1148c1f7d8a (diff) | |
download | scummvm-rg350-514f122847c1e6be7b9901800bd3298d47ae72bb.tar.gz scummvm-rg350-514f122847c1e6be7b9901800bd3298d47ae72bb.tar.bz2 scummvm-rg350-514f122847c1e6be7b9901800bd3298d47ae72bb.zip |
MADS: Implemented sound player for scene group 8
Diffstat (limited to 'engines/mads/nebular/sound_nebular.h')
-rw-r--r-- | engines/mads/nebular/sound_nebular.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/engines/mads/nebular/sound_nebular.h b/engines/mads/nebular/sound_nebular.h index 997f6bbffb..b5dee5b3ed 100644 --- a/engines/mads/nebular/sound_nebular.h +++ b/engines/mads/nebular/sound_nebular.h @@ -670,6 +670,49 @@ public: virtual int command(int commandId, int param); }; +class ASound8 : public ASound { +private: + typedef int (ASound8::*CommandPtr)(); + static const CommandPtr _commandList[38]; + + 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 command26(); + int command27(); + int command28(); + int command29(); + int command30(); + int command31(); + int command32(); + int command33(); + int command34(); + int command35(); + int command36(); + int command37(); + + void method1(byte *pData); + void adjustRange(byte *pData, byte v, int incr); +public: + ASound8(Audio::Mixer *mixer); + + virtual int command(int commandId, int param); +}; + } // End of namespace Nebular } // End of namespace MADS |