summaryrefslogtreecommitdiffstats
path: root/src/audio/MusicManager.h
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2019-08-02 22:20:12 +0200
committerFire-Head <Fire-Head@users.noreply.github.com>2019-08-02 22:20:12 +0200
commit6ba2b05443dd25b2451215bc73912dcb7b0e6240 (patch)
treee539fbb511e96622fff06cbe7fac8099aea772df /src/audio/MusicManager.h
parentMerge pull request #2 from GTAmodding/master (diff)
downloadre3-6ba2b05443dd25b2451215bc73912dcb7b0e6240.tar
re3-6ba2b05443dd25b2451215bc73912dcb7b0e6240.tar.gz
re3-6ba2b05443dd25b2451215bc73912dcb7b0e6240.tar.bz2
re3-6ba2b05443dd25b2451215bc73912dcb7b0e6240.tar.lz
re3-6ba2b05443dd25b2451215bc73912dcb7b0e6240.tar.xz
re3-6ba2b05443dd25b2451215bc73912dcb7b0e6240.tar.zst
re3-6ba2b05443dd25b2451215bc73912dcb7b0e6240.zip
Diffstat (limited to '')
-rw-r--r--src/audio/MusicManager.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/audio/MusicManager.h b/src/audio/MusicManager.h
index 6a08882f..cdea65ec 100644
--- a/src/audio/MusicManager.h
+++ b/src/audio/MusicManager.h
@@ -16,6 +16,15 @@ enum eRadioStation
RADIO_OFF,
};
+enum eMusicMode
+{
+ MUSICMODE_FRONTEND = 0,
+ MUSICMODE_GAME,
+ MUSICMODE_CUTSCENE,
+ MUSICMODE_OFF,
+ MUSICMODE_4,
+};
+
enum eStreamedSounds
{
STREAMED_SOUND_RADIO_HEAD = 0,
@@ -264,6 +273,10 @@ public:
uint8 field_2395;
public:
+ bool IsInitialised() { return m_bIsInitialised; }
+ uint32 GetMusicMode() { return m_nMusicMode; }
+ uint8 GetCurrentTrack() { return m_nCurrentStreamedSound; }
+
void Initialise();
void Terminate();