mirror of
https://github.com/GTAmodding/re3.git
synced 2024-12-28 13:25:40 +00:00
Add new tSound field
This commit is contained in:
parent
47c23ba917
commit
0df6fbb30a
2 changed files with 4 additions and 2 deletions
|
@ -687,7 +687,7 @@ cAudioManager::InterrogateAudioEntities()
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
cAudioManager::AddSampleToRequestedQueue()
|
cAudioManager::AddSampleToRequestedQueue(uint8 unk_lcs)
|
||||||
{
|
{
|
||||||
uint32 finalPriority;
|
uint32 finalPriority;
|
||||||
uint8 sampleIndex;
|
uint8 sampleIndex;
|
||||||
|
@ -726,6 +726,7 @@ cAudioManager::AddSampleToRequestedQueue()
|
||||||
m_sQueueSample.m_bReverb = FALSE;
|
m_sQueueSample.m_bReverb = FALSE;
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
m_sQueueSample.field_51_lcs = unk_lcs;
|
||||||
|
|
||||||
m_aRequestedQueue[m_nActiveQueue][sampleIndex] = m_sQueueSample;
|
m_aRequestedQueue[m_nActiveQueue][sampleIndex] = m_sQueueSample;
|
||||||
|
|
||||||
|
|
|
@ -59,6 +59,7 @@ public:
|
||||||
#if defined(FIX_BUGS) && defined(EXTERNAL_3D_SOUND)
|
#if defined(FIX_BUGS) && defined(EXTERNAL_3D_SOUND)
|
||||||
int8 m_nEmittingVolumeChange; // same as above but for m_nEmittingVolume
|
int8 m_nEmittingVolumeChange; // same as above but for m_nEmittingVolume
|
||||||
#endif
|
#endif
|
||||||
|
uint8 field_51_lcs;
|
||||||
};
|
};
|
||||||
|
|
||||||
VALIDATE_SIZE(tSound, 96);
|
VALIDATE_SIZE(tSound, 96);
|
||||||
|
@ -347,7 +348,7 @@ public:
|
||||||
uint32 ComputeDopplerEffectedFrequency(uint32 oldFreq, float position1, float position2, float speedMultiplier);
|
uint32 ComputeDopplerEffectedFrequency(uint32 oldFreq, float position1, float position2, float speedMultiplier);
|
||||||
int32 RandomDisplacement(uint32 seed);
|
int32 RandomDisplacement(uint32 seed);
|
||||||
void InterrogateAudioEntities(); // inlined
|
void InterrogateAudioEntities(); // inlined
|
||||||
void AddSampleToRequestedQueue();
|
void AddSampleToRequestedQueue(uint8 unk_lcs = 0);
|
||||||
void AddDetailsToRequestedOrderList(uint8 sample); // inlined in vc
|
void AddDetailsToRequestedOrderList(uint8 sample); // inlined in vc
|
||||||
#ifdef AUDIO_REFLECTIONS
|
#ifdef AUDIO_REFLECTIONS
|
||||||
void AddReflectionsToRequestedQueue();
|
void AddReflectionsToRequestedQueue();
|
||||||
|
|
Loading…
Reference in a new issue