summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2019-10-26 16:08:13 +0200
committerSergeanur <s.anureev@yandex.ua>2019-10-26 16:08:13 +0200
commit35bd3f514d2a673cf17db78103b17c169d2027e1 (patch)
tree7864795f6658b75f5eb478b054c3c189430afc89
parentMerge pull request #254 from Sergeanur/Audio (diff)
downloadre3-35bd3f514d2a673cf17db78103b17c169d2027e1.tar
re3-35bd3f514d2a673cf17db78103b17c169d2027e1.tar.gz
re3-35bd3f514d2a673cf17db78103b17c169d2027e1.tar.bz2
re3-35bd3f514d2a673cf17db78103b17c169d2027e1.tar.lz
re3-35bd3f514d2a673cf17db78103b17c169d2027e1.tar.xz
re3-35bd3f514d2a673cf17db78103b17c169d2027e1.tar.zst
re3-35bd3f514d2a673cf17db78103b17c169d2027e1.zip
-rw-r--r--src/audio/AudioManager.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/audio/AudioManager.cpp b/src/audio/AudioManager.cpp
index 36713dbc..e3ae9068 100644
--- a/src/audio/AudioManager.cpp
+++ b/src/audio/AudioManager.cpp
@@ -48,7 +48,16 @@ bool &bPlayerJustEnteredCar = *(bool *)0x6508C4;
bool &g_bMissionAudioLoadFailed = *(bool *)0x95CD8E;
uint32 *gMinTimeToNextReport = (uint32 *)0x8E2828;
uint8 &gSpecialSuspectLastSeenReport = *(uint8 *)0x95CD4D;
-bool **hornPatternsArray = (bool **)0x606AB8;
+bool hornPatternsArray[8][44] = {
+ {false, false, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, false, false, false, false, false, false, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, false, false, false, false},
+ {false, false, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, false, false},
+ {false, false, true, true, true, true, true, true, true, true, true, true, false, false, false, false, true, true, true, true, true, false, false, false, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, false},
+ {false, false, true, true, true, true, true, false, false, true, true, true, true, true, false, false, false, true, true, true, true, true, true, true, true, true, true, false, false, false, true, true, true, true, true, true, true, true, true, true, true, true, true, false},
+ {false, false, true, true, true, true, true, true, true, true, true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false},
+ {false, false, true, true, true, false, false, false, true, true, true, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false},
+ {false, false, true, true, true, true, false, false, false, false, true, true, true, false, false, true, true, true, false, false, true, true, true, true, true, true, false, false, false, false, false, true, true, true, true, true, true, true, true, true, true, true, false, false},
+ {false, false, true, true, true, true, false, false, true, true, true, true, true, false, false, false, true, true, true, true, true, true, false, false, false, false, true, true, true, true, true, true, true, true, true, true, true, true, true, false, false, false, false, false},
+};
constexpr int totalAudioEntitiesSlots = 200;
constexpr int maxVolume = 127;