mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-24 13:20:00 +00:00
revert some changes and little fix
This commit is contained in:
parent
6ff138ca76
commit
1991f9b362
|
@ -411,19 +411,16 @@ cAudioManager::SetDynamicAcousticModelingStatus(uint8 status)
|
||||||
m_bDynamicAcousticModelingStatus = status!=0;
|
m_bDynamicAcousticModelingStatus = status!=0;
|
||||||
}
|
}
|
||||||
|
|
||||||
//bool
|
bool
|
||||||
//cAudioManager::CheckForAnAudioFileOnCD() const
|
cAudioManager::CheckForAnAudioFileOnCD() const
|
||||||
//{
|
{
|
||||||
// return SampleManager.CheckForAnAudioFileOnCD();
|
return SampleManager.CheckForAnAudioFileOnCD();
|
||||||
//}
|
}
|
||||||
|
|
||||||
uint8
|
uint8
|
||||||
cAudioManager::GetCDAudioDriveLetter() const
|
cAudioManager::GetCDAudioDriveLetter() const
|
||||||
{
|
{
|
||||||
if (m_bIsInitialised)
|
|
||||||
return SampleManager.GetCDAudioDriveLetter();
|
return SampleManager.GetCDAudioDriveLetter();
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
|
@ -945,8 +942,6 @@ void
|
||||||
cAudioManager::ClearRequestedQueue()
|
cAudioManager::ClearRequestedQueue()
|
||||||
{
|
{
|
||||||
for (int32 i = 0; i < m_nActiveSamples; i++) {
|
for (int32 i = 0; i < m_nActiveSamples; i++) {
|
||||||
if (i >= m_nActiveSamples)
|
|
||||||
break;
|
|
||||||
m_abSampleQueueIndexTable[m_nActiveSampleQueue][i] = m_nActiveSamples;
|
m_abSampleQueueIndexTable[m_nActiveSampleQueue][i] = m_nActiveSamples;
|
||||||
}
|
}
|
||||||
m_SampleRequestQueuesStatus[m_nActiveSampleQueue] = 0;
|
m_SampleRequestQueuesStatus[m_nActiveSampleQueue] = 0;
|
||||||
|
@ -978,7 +973,7 @@ cAudioManager::ClearActiveSamples()
|
||||||
m_asActiveSamples[i].m_nCalculatedVolume = 0;
|
m_asActiveSamples[i].m_nCalculatedVolume = 0;
|
||||||
m_asActiveSamples[i].m_nReleasingVolumeDivider = 0;
|
m_asActiveSamples[i].m_nReleasingVolumeDivider = 0;
|
||||||
m_asActiveSamples[i].m_nVolumeChange = -1;
|
m_asActiveSamples[i].m_nVolumeChange = -1;
|
||||||
m_asActiveSamples[i].m_vecPos = {0.0f, 0.0f, 0.0f};
|
m_asActiveSamples[i].m_vecPos = CVector(0.0f, 0.0f, 0.0f);
|
||||||
m_asActiveSamples[i].m_bReverbFlag = false;
|
m_asActiveSamples[i].m_bReverbFlag = false;
|
||||||
m_asActiveSamples[i].m_nLoopsRemaining = 0;
|
m_asActiveSamples[i].m_nLoopsRemaining = 0;
|
||||||
m_asActiveSamples[i].m_bRequireReflection = false;
|
m_asActiveSamples[i].m_bRequireReflection = false;
|
||||||
|
|
|
@ -248,7 +248,7 @@ public:
|
||||||
void AgeCrimes(); // done (inlined in vc)
|
void AgeCrimes(); // done (inlined in vc)
|
||||||
|
|
||||||
void CalculateDistance(bool &condition, float dist); // done
|
void CalculateDistance(bool &condition, float dist); // done
|
||||||
//bool CheckForAnAudioFileOnCD() const; // not exists in v1.0 and android
|
bool CheckForAnAudioFileOnCD() const; // done
|
||||||
void ClearActiveSamples(); // done
|
void ClearActiveSamples(); // done
|
||||||
void ClearMissionAudio(uint8 slot); // done
|
void ClearMissionAudio(uint8 slot); // done
|
||||||
void ClearRequestedQueue(); // done (inlined in vc)
|
void ClearRequestedQueue(); // done (inlined in vc)
|
||||||
|
|
|
@ -171,7 +171,7 @@ cDMAudio::SetDynamicAcousticModelingStatus(uint8 status)
|
||||||
bool
|
bool
|
||||||
cDMAudio::CheckForAnAudioFileOnCD(void)
|
cDMAudio::CheckForAnAudioFileOnCD(void)
|
||||||
{
|
{
|
||||||
return 0; //exists only in android version, and used only in symbols
|
return AudioManager.CheckForAnAudioFileOnCD();
|
||||||
}
|
}
|
||||||
|
|
||||||
char
|
char
|
||||||
|
|
Loading…
Reference in a new issue