diff options
author | Paul Gilbert | 2014-08-31 19:21:02 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-08-31 19:21:02 -0400 |
commit | 8990a3164351d7b494acc011221ce92a4974def3 (patch) | |
tree | a84de58a27d10c75ec32ef3b4dfbf3f61bed0cdb /engines/mads/nebular/sound_nebular.h | |
parent | 218fb94abfb941d4d8b5b63e559623e87eb52382 (diff) | |
download | scummvm-rg350-8990a3164351d7b494acc011221ce92a4974def3.tar.gz scummvm-rg350-8990a3164351d7b494acc011221ce92a4974def3.tar.bz2 scummvm-rg350-8990a3164351d7b494acc011221ce92a4974def3.zip |
MADS: Implement sound player group #9
Diffstat (limited to 'engines/mads/nebular/sound_nebular.h')
-rw-r--r-- | engines/mads/nebular/sound_nebular.h | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/engines/mads/nebular/sound_nebular.h b/engines/mads/nebular/sound_nebular.h index c485bd7955..744467b45e 100644 --- a/engines/mads/nebular/sound_nebular.h +++ b/engines/mads/nebular/sound_nebular.h @@ -713,6 +713,65 @@ public: virtual int command(int commandId, int param); }; +class ASound9 : public ASound { +private: + int _v1, _v2; + byte *_soundPtr; + + typedef int (ASound9::*CommandPtr)(); + static const CommandPtr _commandList[52]; + + 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(); + int command38(); + int command39(); + int command40(); + int command41(); + int command42(); + int command43(); + int command44_46(); + int command45(); + int command47(); + int command48(); + int command49(); + int command50(); + int command51(); + int command57(); + int command59(); + int command60(); +public: + ASound9(Audio::Mixer *mixer); + + virtual int command(int commandId, int param); +}; + } // End of namespace Nebular } // End of namespace MADS |