MusicManager refactoring and fixes

This commit is contained in:
Sergeanur committed 2021-09-18 10:27:41 +03:00
1 parent 0d9c0aca0c
commit 245d6cf43a
4 files changed
+757 -739

No files matched your search

+1
View File
@@ -17,6 +17,7 @@
SETTWEAKPATH("Audio");
TWEAKBOOLN(AudioManager.m_bIsSurround, "Surround/Reverb");
TWEAKBOOLN(AudioManager.m_bDoubleVolume, "Double volume");
TWEAKBOOLN(AudioManager.m_bDynamicAcousticModelingStatus, "Dynamic Acoustic Modeling Status");
#endif
cAudioManager AudioManager;
+750 -735
View File
File diff suppressed because it is too large. Load diff
+1
View File
@@ -53,6 +53,7 @@ public:
public:
cMusicManager();
~cMusicManager();
bool8 IsInitialised() { return m_bIsInitialised; }
uint8 GetMusicMode() { return m_nMusicMode; }
uint32 GetCurrentTrack() { return m_nPlayingTrack; }
+5 -4
View File
@@ -12,11 +12,12 @@ enum eRadioStation
RADIO_ESPANTOSO,
EMOTION,
WAVE,
#ifdef GTA_PC
USERTRACK,
NUM_RADIOS = 10,
POLICE_RADIO = 10,
RADIO_OFF = 10,
//TAXI_RADIO,
#endif
NUM_RADIOS,
POLICE_RADIO = NUM_RADIOS,
RADIO_OFF = NUM_RADIOS,
};
enum eMusicMode