mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-27 03:24:15 +01:00
mark code
This commit is contained in:
parent
5ea9285c5b
commit
cebf32c46c
@ -2686,7 +2686,7 @@ cAudioManager::ProcessVehicleOneShots(cVehicleParams *params)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
m_sQueueSample.m_nBankIndex = SFX_BANK_0;
|
m_sQueueSample.m_nBankIndex = SFX_BANK_0;
|
||||||
m_sQueueSample.m_nCounter = event + 10;
|
m_sQueueSample.m_nCounter = event + 10; //also used m_asAudioEntities[m_sQueueSample.m_nEntityIndex].m_awAudioEvent[i]
|
||||||
if (params->m_pVehicle->GetVehicleAppearance() == VEHICLE_APPEARANCE_HELI)
|
if (params->m_pVehicle->GetVehicleAppearance() == VEHICLE_APPEARANCE_HELI)
|
||||||
m_sQueueSample.m_nFrequency = 23459;
|
m_sQueueSample.m_nFrequency = 23459;
|
||||||
else
|
else
|
||||||
@ -2715,7 +2715,7 @@ cAudioManager::ProcessVehicleOneShots(cVehicleParams *params)
|
|||||||
const float SOUND_INTENSITY = 35.0f;
|
const float SOUND_INTENSITY = 35.0f;
|
||||||
static uint8 WheelIndex = 82;
|
static uint8 WheelIndex = 82;
|
||||||
maxDist = SQR(SOUND_INTENSITY);
|
maxDist = SQR(SOUND_INTENSITY);
|
||||||
if (event == SOUND_CAR_JUMP_2) {
|
if (event == SOUND_CAR_JUMP_2) { //also used m_asAudioEntities[m_sQueueSample.m_nEntityIndex].m_awAudioEvent[i]
|
||||||
m_sQueueSample.m_nSampleIndex = SFX_TYRE_BURST_B;
|
m_sQueueSample.m_nSampleIndex = SFX_TYRE_BURST_B;
|
||||||
emittingVol = Max(50.0f, 2 * (60.0f * m_asAudioEntities[m_sQueueSample.m_nEntityIndex].m_afVolume[i]));
|
emittingVol = Max(50.0f, 2 * (60.0f * m_asAudioEntities[m_sQueueSample.m_nEntityIndex].m_afVolume[i]));
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user