mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 17:20:00 +00:00
fixes for #142
This commit is contained in:
parent
40b3ff31bb
commit
e003f7ffba
|
@ -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];
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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()
|
||||||
|
|
|
@ -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;
|
Loading…
Reference in a new issue