diff options
author | Strangerke | 2016-05-12 00:32:31 +0200 |
---|---|---|
committer | Strangerke | 2016-05-12 00:33:47 +0200 |
commit | f467db5ed23cdaa96fb0601ae1b05853f44e3356 (patch) | |
tree | 3eec89b7785869f1c4ede50573f8d380908bd0df /engines/gnap/gnap.h | |
parent | 2aaebf0ae984db39a96b3fc399be952479c01d52 (diff) | |
download | scummvm-rg350-f467db5ed23cdaa96fb0601ae1b05853f44e3356.tar.gz scummvm-rg350-f467db5ed23cdaa96fb0601ae1b05853f44e3356.tar.bz2 scummvm-rg350-f467db5ed23cdaa96fb0601ae1b05853f44e3356.zip |
GNAP: Add music when game is paused
Diffstat (limited to 'engines/gnap/gnap.h')
-rw-r--r-- | engines/gnap/gnap.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/engines/gnap/gnap.h b/engines/gnap/gnap.h index c7273077a4..2119ad6cac 100644 --- a/engines/gnap/gnap.h +++ b/engines/gnap/gnap.h @@ -43,6 +43,7 @@ #include "gnap/resource.h" #include "gnap/scenes/scenecore.h" #include "gnap/character.h" +#include "gnap/music.h" struct ADGameDescription; @@ -53,6 +54,7 @@ class SequenceResource; class SpriteResource; class GameSys; class SoundMan; +class MusicPlayer; #define GNAP_SAVEGAME_VERSION 1 @@ -78,7 +80,8 @@ struct Hotspot { const int kMaxTimers = 10; enum GnapDebugChannels { - kDebugBasic = 1 << 0 + kDebugBasic = 1 << 0, + kDebugMusic = 1 << 1 }; enum { @@ -234,6 +237,7 @@ public: Scene *_scene; PlayerGnap *_gnap; PlayerPlat *_plat; + MusicPlayer *_music; int _lastUpdateClock; @@ -453,6 +457,9 @@ public: int toyUfoGetSequenceId(); bool toyUfoCheckTimer(); void toyUfoFlyTo(int destX, int destY, int minX, int maxX, int minY, int maxY, int animationIndex); + + void playMidi(const char *name); + void stopMidi(); }; } // End of namespace Gnap |