From 999490e88bc699b671b94b88c9a4327d963db378 Mon Sep 17 00:00:00 2001 From: krzys-h Date: Tue, 31 Dec 2013 16:58:21 +0100 Subject: 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) --- src/app/pausemanager.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/app/pausemanager.h') 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 @@ -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; }; -- cgit v1.2.3-1-g7c22