1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 23:20:01 +00:00
This commit is contained in:
Filip Gawin 2019-07-19 23:35:21 +02:00
parent 40b3ff31bb
commit e003f7ffba
4 changed files with 5 additions and 5 deletions

View file

@ -794,10 +794,10 @@ cAudioManager::MissionScriptAudioUsesPoliceChannel(int32 soundMission)
} }
} }
uint8 char *
cAudioManager::Get3DProviderName(uint8 id) cAudioManager::Get3DProviderName(uint8 id)
{ {
if(m_bIsInitialised) return 0; if(!m_bIsInitialised) return 0;
if(id >= num3DProvidersAvailable) return 0; if(id >= num3DProvidersAvailable) return 0;
return asName3DProviders[id]; return asName3DProviders[id];
} }

View file

@ -292,7 +292,7 @@ public:
bool MissionScriptAudioUsesPoliceChannel(int32 soundMission); bool MissionScriptAudioUsesPoliceChannel(int32 soundMission);
uint8 Get3DProviderName(uint8 id); char* Get3DProviderName(uint8 id);
bool SetupJumboFlySound(uint8 emittingVol); /// ok bool SetupJumboFlySound(uint8 emittingVol); /// ok
bool SetupJumboRumbleSound(uint8 emittingVol); /// ok bool SetupJumboRumbleSound(uint8 emittingVol); /// ok

View file

@ -6,7 +6,7 @@ CSampleManager &cSampleManager = *(CSampleManager *)0x7341E0;
uint32 &nNumOfMp3Files = *(uint32 *)0x95CC00; uint32 &nNumOfMp3Files = *(uint32 *)0x95CC00;
uint8 &num3DProvidersAvailable = *(uint8 *)0x734237; uint8 &num3DProvidersAvailable = *(uint8 *)0x734237;
uint32 *asName3DProviders = (uint32 *)0x734238; char **asName3DProviders = (char **)0x734238;
bool bool
CSampleManager::IsMP3RadioChannelAvailable() CSampleManager::IsMP3RadioChannelAvailable()

View file

@ -63,6 +63,6 @@ public:
extern uint32 &nNumOfMp3Files; extern uint32 &nNumOfMp3Files;
extern uint8 &num3DProvidersAvailable; extern uint8 &num3DProvidersAvailable;
extern uint32 *asName3DProviders; extern char **asName3DProviders;
extern CSampleManager &cSampleManager; extern CSampleManager &cSampleManager;