diff options
author | Travis Howell | 2007-06-04 14:25:02 +0000 |
---|---|---|
committer | Travis Howell | 2007-06-04 14:25:02 +0000 |
commit | 64413f9cc8492a3f278575b21927b5ee8ee40ba1 (patch) | |
tree | a3eae07b4e5bb1f86cda6fa5d5f6e2d768c8a333 /engines/agos/agos.h | |
parent | 6dd52b592e9e9bf09fa558132b16ca25c8fa0b1c (diff) | |
download | scummvm-rg350-64413f9cc8492a3f278575b21927b5ee8ee40ba1.tar.gz scummvm-rg350-64413f9cc8492a3f278575b21927b5ee8ee40ba1.tar.bz2 scummvm-rg350-64413f9cc8492a3f278575b21927b5ee8ee40ba1.zip |
Only call MIDI code, in games which use MIDI based music.
svn-id: r27080
Diffstat (limited to 'engines/agos/agos.h')
-rw-r--r-- | engines/agos/agos.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/agos/agos.h b/engines/agos/agos.h index e40b1b10a5..e4b97e1425 100644 --- a/engines/agos/agos.h +++ b/engines/agos/agos.h @@ -1186,8 +1186,10 @@ protected: virtual void windowNewLine(WindowBlock *window); void windowDrawChar(WindowBlock *window, uint x, uint y, byte chr); - virtual void loadMusic(uint music); - void loadModule(uint music); + void loadMusic(uint track); + void playModule(uint music); + virtual void playMusic(uint16 track, uint16 track); + void stopMusic(); void checkTimerCallback(); void delay(uint delay); @@ -1478,7 +1480,7 @@ protected: virtual void userGame(bool load); virtual int userGameGetKey(bool *b, char *buf, uint maxChar); - virtual void loadMusic(uint music); + virtual void playMusic(uint16 music, uint16 track); virtual void vcStopAnimation(uint zone, uint sprite); }; @@ -1521,8 +1523,6 @@ protected: virtual uint setupIconHitArea(WindowBlock *window, uint num, uint x, uint y, Item *item_ptr); virtual void playSpeech(uint speech_id, uint vga_sprite_id); - - virtual void loadMusic(uint music); }; class AGOSEngine_Feeble : public AGOSEngine_Simon2 { |