summaryrefslogtreecommitdiff
path: root/src/core/config.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-08-17 13:58:48 +0300
committerSergeanur <s.anureev@yandex.ua>2021-08-17 13:58:48 +0300
commit16ff379ebeca2092e9609eb3163a6bd2ffd68060 (patch)
tree75d6ec09e36174454e8bcf66867b9b0ea46ada2b /src/core/config.h
parent2526503743e71af6a93b033cf23d8d50e2abf926 (diff)
Add AUDIO_REFLECTIONS define, fix a bunch of types, fix heli chatter intensity
Diffstat (limited to 'src/core/config.h')
-rw-r--r--src/core/config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/config.h b/src/core/config.h
index d26f9546..5ec6f3ee 100644
--- a/src/core/config.h
+++ b/src/core/config.h
@@ -171,6 +171,7 @@ enum Config {
# define PS2_MENU
#elif defined GTA_PC
# define EXTERNAL_3D_SOUND
+# define AUDIO_REFLECTIONS
# ifndef GTA_HANDHELD
# define PC_PLAYER_CONTROLS // mouse player/cam mode
# endif
@@ -429,6 +430,7 @@ enum Config {
// Audio
#define EXTERNAL_3D_SOUND // use external engine to simulate 3d audio spatialization. OpenAL would not work without it (because it works in a 3d space
// originally and making it work in 2d only requires more resource). Will not work on PS2
+#define AUDIO_REFLECTIONS // Enable audio reflections. Disabled on mobile, didn't exist yet on PS2.
#define RADIO_SCROLL_TO_PREV_STATION
#define AUDIO_CACHE
#define PS2_AUDIO_CHANNELS // increases the maximum number of audio channels to PS2 value of 44 (PC has 28 originally)
@@ -490,3 +492,6 @@ enum Config {
#if defined(GTA_PS2) && defined(EXTERNAL_3D_SOUND)
#error EXTERNAL_3D_SOUND cannot work on PS2
#endif
+#if defined(AUDIO_REFLECTIONS) && GTA_VERSION < GTA3_PC_10
+#error AUDIO_REFLECTIONS cannot work with versions below GTA3_PC_10
+#endif \ No newline at end of file