mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 15:49:00 +00:00
PolRadio type fixes
This commit is contained in:
parent
7aa8d7c073
commit
9dbaa7a77f
2 changed files with 5 additions and 5 deletions
|
@ -390,7 +390,7 @@ public:
|
||||||
float GetDistanceSquared(const CVector &v) const; // inlined in vc
|
float GetDistanceSquared(const CVector &v) const; // inlined in vc
|
||||||
int32 GetJumboTaxiFreq() const; // inlined in vc
|
int32 GetJumboTaxiFreq() const; // inlined in vc
|
||||||
uint8 GetMissionAudioLoadingStatus(uint8 slot) const;
|
uint8 GetMissionAudioLoadingStatus(uint8 slot) const;
|
||||||
int8 GetMissionScriptPoliceAudioPlayingStatus() const;
|
int8 GetMissionScriptPoliceAudioPlayingStatus();
|
||||||
uint8 GetNum3DProvidersAvailable();
|
uint8 GetNum3DProvidersAvailable();
|
||||||
uint32 GetPedCommentSfx(CPed *ped, int32 sound);
|
uint32 GetPedCommentSfx(CPed *ped, int32 sound);
|
||||||
void GetPhrase(uint32 &phrase, uint32 &prevPhrase, uint32 sample, uint32 maxOffset) const;
|
void GetPhrase(uint32 &phrase, uint32 &prevPhrase, uint32 sample, uint32 maxOffset) const;
|
||||||
|
@ -510,7 +510,7 @@ public:
|
||||||
void SetEntityStatus(int32 id, bool8 status);
|
void SetEntityStatus(int32 id, bool8 status);
|
||||||
uint32 SetLoopingCollisionRequestedSfxFreqAndGetVol(const cAudioCollision &audioCollision);
|
uint32 SetLoopingCollisionRequestedSfxFreqAndGetVol(const cAudioCollision &audioCollision);
|
||||||
void SetMissionAudioLocation(uint8 slot, float x, float y, float z);
|
void SetMissionAudioLocation(uint8 slot, float x, float y, float z);
|
||||||
void SetMissionScriptPoliceAudio(int32 sfx) const; // inlined and optimized
|
void SetMissionScriptPoliceAudio(uint32 sfx); // inlined and optimized
|
||||||
void SetMonoMode(bool8 mono);
|
void SetMonoMode(bool8 mono);
|
||||||
void SetMusicFadeVol(uint8 volume);
|
void SetMusicFadeVol(uint8 volume);
|
||||||
void SetMusicMasterVolume(uint8 volume);
|
void SetMusicMasterVolume(uint8 volume);
|
||||||
|
|
|
@ -23,7 +23,7 @@ struct tPoliceRadioZone {
|
||||||
|
|
||||||
tPoliceRadioZone ZoneSfx[NUMAUDIOZONES];
|
tPoliceRadioZone ZoneSfx[NUMAUDIOZONES];
|
||||||
|
|
||||||
int32 g_nMissionAudioSfx = TOTAL_AUDIO_SAMPLES;
|
uint32 g_nMissionAudioSfx = TOTAL_AUDIO_SAMPLES;
|
||||||
int8 g_nMissionAudioPlayingStatus = 2;
|
int8 g_nMissionAudioPlayingStatus = 2;
|
||||||
uint8 gSpecialSuspectLastSeenReport;
|
uint8 gSpecialSuspectLastSeenReport;
|
||||||
uint32 gMinTimeToNextReport[NUM_CRIME_TYPES];
|
uint32 gMinTimeToNextReport[NUM_CRIME_TYPES];
|
||||||
|
@ -80,7 +80,7 @@ cAudioManager::ResetPoliceRadio()
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
cAudioManager::SetMissionScriptPoliceAudio(int32 sfx) const
|
cAudioManager::SetMissionScriptPoliceAudio(uint32 sfx)
|
||||||
{
|
{
|
||||||
if (!m_bIsInitialised) return;
|
if (!m_bIsInitialised) return;
|
||||||
if (g_nMissionAudioPlayingStatus != 1) {
|
if (g_nMissionAudioPlayingStatus != 1) {
|
||||||
|
@ -90,7 +90,7 @@ cAudioManager::SetMissionScriptPoliceAudio(int32 sfx) const
|
||||||
}
|
}
|
||||||
|
|
||||||
int8
|
int8
|
||||||
cAudioManager::GetMissionScriptPoliceAudioPlayingStatus() const
|
cAudioManager::GetMissionScriptPoliceAudioPlayingStatus()
|
||||||
{
|
{
|
||||||
return g_nMissionAudioPlayingStatus;
|
return g_nMissionAudioPlayingStatus;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue