mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-16 23:29:22 +00:00
Add AUDIO_REVERB define
This commit is contained in:
parent
51ba90dd52
commit
71e0895dc6
8 changed files with 110 additions and 87 deletions
|
@ -30,8 +30,8 @@ public:
|
|||
float m_SoundIntensity;
|
||||
bool8 m_bReleasingSoundFlag;
|
||||
CVector m_vecPos;
|
||||
#ifndef GTA_PS2
|
||||
bool8 m_bReverbFlag; // TODO: ifdef all the occurrences
|
||||
#if !defined(GTA_PS2) || defined(AUDIO_REVERB) // GTA_PS2 because this field exists on mobile but not on PS2
|
||||
bool8 m_bReverbFlag;
|
||||
#endif
|
||||
#ifdef AUDIO_REFLECTIONS
|
||||
uint8 m_nLoopsRemaining;
|
||||
|
@ -616,6 +616,11 @@ public:
|
|||
#else
|
||||
#define SET_SOUND_REFLECTION(b)
|
||||
#endif
|
||||
#ifdef AUDIO_REVERB
|
||||
#define SET_SOUND_REVERB(b) m_sQueueSample.m_bReverbFlag = b
|
||||
#else
|
||||
#define SET_SOUND_REVERB(b)
|
||||
#endif
|
||||
|
||||
#if defined(AUDIO_MSS) && !defined(PS2_AUDIO_CHANNELS)
|
||||
static_assert(sizeof(cAudioManager) == 0x5558, "cAudioManager: error");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue