summaryrefslogtreecommitdiffstats
path: root/src/audio/MusicManager.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2019-08-03 15:02:09 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2019-08-03 15:02:09 +0200
commita3bdaccafbf4e916597fae9df71e3b7052be1647 (patch)
tree37a42c0b9ecdf75b8d4a524dbf76a10e9b8fe984 /src/audio/MusicManager.h
parentRunningScript, part 4, plus some fixes (diff)
parentMerge pull request #178 from Fire-Head/master (diff)
downloadre3-a3bdaccafbf4e916597fae9df71e3b7052be1647.tar
re3-a3bdaccafbf4e916597fae9df71e3b7052be1647.tar.gz
re3-a3bdaccafbf4e916597fae9df71e3b7052be1647.tar.bz2
re3-a3bdaccafbf4e916597fae9df71e3b7052be1647.tar.lz
re3-a3bdaccafbf4e916597fae9df71e3b7052be1647.tar.xz
re3-a3bdaccafbf4e916597fae9df71e3b7052be1647.tar.zst
re3-a3bdaccafbf4e916597fae9df71e3b7052be1647.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();