mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-14 04:24:08 +00:00
Audio stuff moved around, removed MusicManager dependencies, eMusicMode used for ChangeMusicMode
This commit is contained in:
parent
832572664c
commit
d5a72fa597
14 changed files with 382 additions and 389 deletions
|
@ -582,8 +582,8 @@ cAudioManager::ComputePan(float dist, CVector *vec)
|
|||
return min(107, panTable[index] + 63);
|
||||
}
|
||||
|
||||
uint32
|
||||
cAudioManager::ComputeVolume(int emittingVolume, float soundIntensity, float distance) const
|
||||
uint8
|
||||
cAudioManager::ComputeVolume(uint8 emittingVolume, float soundIntensity, float distance) const
|
||||
{
|
||||
float newSoundIntensity;
|
||||
if(soundIntensity <= 0.0f) return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue