summaryrefslogtreecommitdiffstats
path: root/src/audio/AudioManager.h
diff options
context:
space:
mode:
authorFilip Gawin <filip.gawin@zoho.com>2019-09-27 23:19:43 +0200
committerFilip Gawin <filip.gawin@zoho.com>2019-10-26 13:05:00 +0200
commit8c52cdbedd7bdc04dfbde05facc40a8b88622da8 (patch)
treeb0231f85deb1d9754e9692635609e2e4a444c343 /src/audio/AudioManager.h
parentMore audio windows (diff)
downloadre3-8c52cdbedd7bdc04dfbde05facc40a8b88622da8.tar
re3-8c52cdbedd7bdc04dfbde05facc40a8b88622da8.tar.gz
re3-8c52cdbedd7bdc04dfbde05facc40a8b88622da8.tar.bz2
re3-8c52cdbedd7bdc04dfbde05facc40a8b88622da8.tar.lz
re3-8c52cdbedd7bdc04dfbde05facc40a8b88622da8.tar.xz
re3-8c52cdbedd7bdc04dfbde05facc40a8b88622da8.tar.zst
re3-8c52cdbedd7bdc04dfbde05facc40a8b88622da8.zip
Diffstat (limited to '')
-rw-r--r--src/audio/AudioManager.h17
1 files changed, 7 insertions, 10 deletions
diff --git a/src/audio/AudioManager.h b/src/audio/AudioManager.h
index a3cbd37d..6adab9b1 100644
--- a/src/audio/AudioManager.h
+++ b/src/audio/AudioManager.h
@@ -4,9 +4,8 @@
#include "DMAudio.h"
#include "common.h"
-class tActiveSample
+struct tActiveSample
{
-public:
int32 m_nEntityIndex;
int32 m_counter;
int32 m_nSampleIndex;
@@ -76,9 +75,8 @@ enum eAudioType : int32 {
class CPhysical;
class CAutomobile;
-class tAudioEntity
+struct tAudioEntity
{
-public:
eAudioType m_nType;
void *m_pEntity;
bool m_bIsUsed;
@@ -94,9 +92,8 @@ public:
static_assert(sizeof(tAudioEntity) == 40, "tAudioEntity: error");
-class tPedComment
+struct tPedComment
{
-public:
int32 m_nSampleIndex;
int32 m_entityIndex;
CVector m_vecPos;
@@ -445,8 +442,8 @@ public:
bool MissionScriptAudioUsesPoliceChannel(int32 soundMission) const; /// ok
void PlayLoadedMissionAudio(); /// ok
- void PlayOneShot(int32 index, int16 sound, float vol); // to do (need testing)
- void PlaySuspectLastSeen(float x, float y, float z); // todo cleanup and hook
+ void PlayOneShot(int32 index, int16 sound, float vol); /// ok
+ void PlaySuspectLastSeen(float x, float y, float z); /// ok
void PlayerJustGotInCar() const; /// ok
void PlayerJustLeftCar() const; /// ok
void PostInitialiseGameSpecificSetup(); /// ok
@@ -551,14 +548,14 @@ public:
void SetSpeakerConfig(int32 conf) const;
void SetUpLoopingCollisionSound(cAudioCollision *col, uint8 counter); /// ok
void SetUpOneShotCollisionSound(cAudioCollision *col); /// ok
- bool SetupCrimeReport(); // todo cleanup and hook
+ bool SetupCrimeReport(); /// ok
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 cleanup and hook
+ void SetupSuspectLastSeenReport(); /// ok
void Terminate();
void TranslateEntity(CVector *v1, CVector *v2) const;