diff options
author | aap <aap@papnet.eu> | 2019-07-07 19:07:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-07 19:07:25 +0200 |
commit | 6d96b6d04632f499e7df28d0734d1061dfd02f28 (patch) | |
tree | aebeb6ca125bc7fe2d576492137f47be2857c754 /src/audio/AudioManager.h | |
parent | Merge pull request #121 from Nick007J/master (diff) | |
parent | Fix reverse warn and air brakes (diff) | |
download | re3-6d96b6d04632f499e7df28d0734d1061dfd02f28.tar re3-6d96b6d04632f499e7df28d0734d1061dfd02f28.tar.gz re3-6d96b6d04632f499e7df28d0734d1061dfd02f28.tar.bz2 re3-6d96b6d04632f499e7df28d0734d1061dfd02f28.tar.lz re3-6d96b6d04632f499e7df28d0734d1061dfd02f28.tar.xz re3-6d96b6d04632f499e7df28d0734d1061dfd02f28.tar.zst re3-6d96b6d04632f499e7df28d0734d1061dfd02f28.zip |
Diffstat (limited to 'src/audio/AudioManager.h')
-rw-r--r-- | src/audio/AudioManager.h | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/src/audio/AudioManager.h b/src/audio/AudioManager.h index 24dae2ce..7a2dc9c5 100644 --- a/src/audio/AudioManager.h +++ b/src/audio/AudioManager.h @@ -44,7 +44,7 @@ public: char m_bLoopEnded; char field_82; char field_83; - int field_84; + int calculatedVolume; char field_88; char field_89; char field_90; @@ -218,6 +218,20 @@ public: char field_19195; int m_nTimeOfRecentCrime; + void AddSampleToRequestedQueue(); + + void AddDetailsToRequestedOrderList(uint8 sample); + void AddReflectionsToRequestedQueue(); + + uint32 ComputeVolume(int emittingVolume, float soundIntensity, float distance); + + void Initialise(); + void PostInitialiseGameSpecificSetup(); + void InitialisePoliceRadioZones(); // @todo + void ResetAudioLogicTimers(int32 timer); // @todo + + void Terminate(); + char GetMissionScriptPoliceAudioPlayingStatus(); bool GetMissionAudioLoadingStatus(); @@ -261,7 +275,7 @@ public: void InterrogateAudioEntities(); void ClearRequestedQueue(); -// void AgeCrimes(); + // void AgeCrimes(); //todo bool UsesReverseWarning(int32 model); bool HasAirBrakes(int32 model); @@ -274,7 +288,7 @@ public: void ProcessPlane(void *); // todo void ClearMissionAudio(); -// void ProcessReverb(); + // void ProcessReverb(); // todo bool IsMissionAudioSampleFinished(); @@ -282,8 +296,6 @@ public: void InitialisePoliceRadio(); - // done - int32 RandomDisplacement(uint32 seed); void ReleaseDigitalHandle(); @@ -292,7 +304,7 @@ public: bool IsAudioInitialised() const; - int32 CreateEntity(int32 type, CPhysical *memory); + int32 CreateEntity(int32 type, CPhysical *entity); void DestroyEntity(int32 id); void SetEntityStatus(int32 id, bool status); |