diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-09-09 18:37:44 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-09-09 18:37:44 +0200 |
commit | 4f4b1f914540465a77aa8daf7e837042a96b3e31 (patch) | |
tree | 56fe4ae390e58e8a0d8f39ce555a382bdf635bbe /src/core | |
parent | More stinger fix (diff) | |
download | re3-4f4b1f914540465a77aa8daf7e837042a96b3e31.tar re3-4f4b1f914540465a77aa8daf7e837042a96b3e31.tar.gz re3-4f4b1f914540465a77aa8daf7e837042a96b3e31.tar.bz2 re3-4f4b1f914540465a77aa8daf7e837042a96b3e31.tar.lz re3-4f4b1f914540465a77aa8daf7e837042a96b3e31.tar.xz re3-4f4b1f914540465a77aa8daf7e837042a96b3e31.tar.zst re3-4f4b1f914540465a77aa8daf7e837042a96b3e31.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/Game.cpp | 3 | ||||
-rw-r--r-- | src/core/Stats.cpp | 5 | ||||
-rw-r--r-- | src/core/Stats.h | 1 |
3 files changed, 7 insertions, 2 deletions
diff --git a/src/core/Game.cpp b/src/core/Game.cpp index d108c78d..6ba6b191 100644 --- a/src/core/Game.cpp +++ b/src/core/Game.cpp @@ -463,8 +463,7 @@ bool CGame::Initialise(const char* datFile) #ifdef USE_TEXTURE_POOL _TexturePoolsUnknown(true); #endif - // TODO(Miami) - // DMAudio.SetStartingTrackPositions(1); + DMAudio.SetStartingTrackPositions(true); DMAudio.ChangeMusicMode(MUSICMODE_GAME); return true; } diff --git a/src/core/Stats.cpp b/src/core/Stats.cpp index 1efcee01..9aff2758 100644 --- a/src/core/Stats.cpp +++ b/src/core/Stats.cpp @@ -447,6 +447,11 @@ void CStats::AddPropertyAsOwned(int32 id) } } +float CStats::GetFavoriteRadioStationList(int32 station) +{ + return FavoriteRadioStationList[station]; +} + void CStats::SaveStats(uint8 *buf, uint32 *size) { CheckPointReachedSuccessfully(); diff --git a/src/core/Stats.h b/src/core/Stats.h index f9ad4174..aac54af5 100644 --- a/src/core/Stats.h +++ b/src/core/Stats.h @@ -144,4 +144,5 @@ public: static void LongestTimeInBloodRing(int32); static void AddPropertyAsOwned(int32); + static float GetFavoriteRadioStationList(int32); }; |