diff options
author | krzys-h <krzys_h@interia.pl> | 2013-12-31 16:58:21 +0100 |
---|---|---|
committer | krzys-h <krzys_h@interia.pl> | 2013-12-31 16:58:21 +0100 |
commit | 999490e88bc699b671b94b88c9a4327d963db378 (patch) | |
tree | d2f27e5c80fe00358e5759e9ee40b2fd11d1ccff /src/app/pausemanager.h | |
parent | 4a237f5925eb0d371e097416b17dd5e919cd2258 (diff) | |
download | colobot-999490e88bc699b671b94b88c9a4327d963db378.tar.gz colobot-999490e88bc699b671b94b88c9a4327d963db378.tar.bz2 colobot-999490e88bc699b671b94b88c9a4327d963db378.zip |
Code for changing music in pause mode
As requested by @Emxx52. Only code for now, we don't have the music yet. Temporairly in developements builds music will change to Prototype (in CBot editor) and Constructive Destruction (in SatCom)
Diffstat (limited to 'src/app/pausemanager.h')
-rw-r--r-- | src/app/pausemanager.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/app/pausemanager.h b/src/app/pausemanager.h index d2c0eab..fefc4a5 100644 --- a/src/app/pausemanager.h +++ b/src/app/pausemanager.h @@ -22,6 +22,7 @@ #pragma once #include "common/singleton.h" +#include "sound/sound.h" #include <string> @@ -30,6 +31,7 @@ enum PauseType { PAUSE_NONE = 0, PAUSE_USER, PAUSE_SATCOM, + PAUSE_SATCOMMOVIE, PAUSE_DIALOG, PAUSE_EDITOR, PAUSE_VISIT, @@ -52,6 +54,9 @@ public: private: std::string GetPauseName(PauseType pause); +private: + CSoundInterface* m_sound; + PauseType m_pause; }; |