summaryrefslogtreecommitdiffstats
path: root/src/audio/AudioManager.h
diff options
context:
space:
mode:
authorFilip Gawin <filip.gawin@zoho.com>2019-09-26 20:47:04 +0200
committerFilip Gawin <filip.gawin@zoho.com>2019-10-26 13:05:00 +0200
commit47d2cf6c0affcdf4e39a2710ce98ae278649f572 (patch)
treeb509bac73d0b99c8ab4189031db6c2b43c33eaa8 /src/audio/AudioManager.h
parentMore audio (to hook and test) (diff)
downloadre3-47d2cf6c0affcdf4e39a2710ce98ae278649f572.tar
re3-47d2cf6c0affcdf4e39a2710ce98ae278649f572.tar.gz
re3-47d2cf6c0affcdf4e39a2710ce98ae278649f572.tar.bz2
re3-47d2cf6c0affcdf4e39a2710ce98ae278649f572.tar.lz
re3-47d2cf6c0affcdf4e39a2710ce98ae278649f572.tar.xz
re3-47d2cf6c0affcdf4e39a2710ce98ae278649f572.tar.zst
re3-47d2cf6c0affcdf4e39a2710ce98ae278649f572.zip
Diffstat (limited to 'src/audio/AudioManager.h')
-rw-r--r--src/audio/AudioManager.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/audio/AudioManager.h b/src/audio/AudioManager.h
index 0a21f92a..a3cbd37d 100644
--- a/src/audio/AudioManager.h
+++ b/src/audio/AudioManager.h
@@ -239,7 +239,7 @@ struct Crime {
int32 type;
CVector position;
uint16 timer;
- uint16 b;
+ uint16 gap;
};
static_assert(sizeof(Crime) == 20, "Crime: error ");
@@ -282,12 +282,11 @@ public:
int32 m_nFireAudioEntity;
int32 m_nWaterCannonEntity;
int32 m_nPoliceChannelEntity;
- uint8 stuff[239];
- uint8 unk1;
+ int32 crimesSamples[60];
uint8 policeChannelTimer;
- uint8 unk3;
+ uint8 policeChannelTimerSeconds;
uint8 policeChannelCounterSeconds;
- uint8 unk5;
+ uint8 gap30;
Crime crimes[10];
int32 m_nFrontEndEntity;
int32 m_nCollisionEntity;
@@ -447,7 +446,7 @@ public:
void PlayLoadedMissionAudio(); /// ok
void PlayOneShot(int32 index, int16 sound, float vol); // to do (need testing)
- uint32 PlaySuspectLastSeen(float x, float y, float z); // todo
+ void PlaySuspectLastSeen(float x, float y, float z); // todo cleanup and hook
void PlayerJustGotInCar() const; /// ok
void PlayerJustLeftCar() const; /// ok
void PostInitialiseGameSpecificSetup(); /// ok
@@ -552,14 +551,14 @@ public:
void SetSpeakerConfig(int32 conf) const;
void SetUpLoopingCollisionSound(cAudioCollision *col, uint8 counter); /// ok
void SetUpOneShotCollisionSound(cAudioCollision *col); /// ok
- bool SetupCrimeReport(); // todo
+ bool SetupCrimeReport(); // todo cleanup and hook
bool SetupJumboEngineSound(uint8 a2, int32 a3); // todo
bool SetupJumboFlySound(uint8 emittingVol); /// ok
bool SetupJumboRumbleSound(uint8 emittingVol); /// ok
bool SetupJumboTaxiSound(uint8 vol); /// ok
bool SetupJumboWhineSound(uint8 emittingVol, int32 freq); /// ok
void SetupPedComments(cPedParams *params, uint32 sound); /// ok
- void SetupSuspectLastSeenReport(); // todo
+ void SetupSuspectLastSeenReport(); // todo cleanup and hook
void Terminate();
void TranslateEntity(CVector *v1, CVector *v2) const;