diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-07-28 23:40:32 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-07-28 23:40:32 +0200 |
commit | 6cea1de9e6062195f19b7fe5f1beeafe1432376c (patch) | |
tree | 92469601242fbdf6a6658c0d3b71501d485986f9 /src/audio/AudioManager.h | |
parent | Fix comments (diff) | |
download | re3-6cea1de9e6062195f19b7fe5f1beeafe1432376c.tar re3-6cea1de9e6062195f19b7fe5f1beeafe1432376c.tar.gz re3-6cea1de9e6062195f19b7fe5f1beeafe1432376c.tar.bz2 re3-6cea1de9e6062195f19b7fe5f1beeafe1432376c.tar.lz re3-6cea1de9e6062195f19b7fe5f1beeafe1432376c.tar.xz re3-6cea1de9e6062195f19b7fe5f1beeafe1432376c.tar.zst re3-6cea1de9e6062195f19b7fe5f1beeafe1432376c.zip |
Diffstat (limited to 'src/audio/AudioManager.h')
-rw-r--r-- | src/audio/AudioManager.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/audio/AudioManager.h b/src/audio/AudioManager.h index 5757a873..187a71a8 100644 --- a/src/audio/AudioManager.h +++ b/src/audio/AudioManager.h @@ -48,7 +48,7 @@ public: eAudioType m_nType; void *m_pEntity; bool8 m_bIsUsed; - uint8 m_bStatus; + bool8 m_bStatus; int16 m_awAudioEvent[NUM_AUDIOENTITY_EVENTS]; float m_afVolume[NUM_AUDIOENTITY_EVENTS]; uint8 m_AudioEvents; @@ -237,7 +237,9 @@ public: void Service(); int32 CreateEntity(eAudioType type, void *entity); void DestroyEntity(int32 id); + bool8 GetEntityStatus(int32 id); void SetEntityStatus(int32 id, bool8 status); + void *GetEntityPointer(int32 id); void PlayOneShot(int32 index, uint16 sound, float vol); void SetEffectsMasterVolume(uint8 volume); void SetMusicMasterVolume(uint8 volume); |