From 87024e108f1eba8b714ab1e84bc37afadcb6074a Mon Sep 17 00:00:00 2001 From: Petr Ohlidal Date: Wed, 23 Feb 2022 23:21:46 +0100 Subject: [PATCH] :books: Doxygen: added module Audio --- source/main/audio/MumbleIntegration.h | 5 +++++ source/main/audio/Sound.h | 5 +++++ source/main/audio/SoundManager.h | 5 +++++ source/main/audio/SoundScriptManager.h | 5 +++++ 4 files changed, 20 insertions(+) diff --git a/source/main/audio/MumbleIntegration.h b/source/main/audio/MumbleIntegration.h index 77206fe0a3..a344a35a9b 100644 --- a/source/main/audio/MumbleIntegration.h +++ b/source/main/audio/MumbleIntegration.h @@ -38,6 +38,9 @@ namespace RoR { +/// @addtogroup Audio +/// @{ + class MumbleIntegration : public ZeroedMemoryAllocator { public: @@ -80,6 +83,8 @@ class MumbleIntegration : public ZeroedMemoryAllocator LinkedMem* lm; }; +/// @} + } // namespace RoR #endif //USE_MUMBLE diff --git a/source/main/audio/Sound.h b/source/main/audio/Sound.h index 6736897970..74fdbfcb06 100644 --- a/source/main/audio/Sound.h +++ b/source/main/audio/Sound.h @@ -32,6 +32,9 @@ namespace RoR { +/// @addtogroup Audio +/// @{ + class Sound : public ZeroedMemoryAllocator { friend class SoundManager; @@ -84,6 +87,8 @@ class Sound : public ZeroedMemoryAllocator int source_index; }; +/// @} + } // namespace RoR #endif // USE_OPENAL diff --git a/source/main/audio/SoundManager.h b/source/main/audio/SoundManager.h index 9f7208e86c..f7749ca7dd 100644 --- a/source/main/audio/SoundManager.h +++ b/source/main/audio/SoundManager.h @@ -38,6 +38,9 @@ namespace RoR { +/// @addtogroup Audio +/// @{ + class SoundManager : public ZeroedMemoryAllocator { friend class Sound; @@ -94,6 +97,8 @@ class SoundManager : public ZeroedMemoryAllocator ALCcontext* sound_context; }; +/// @} + } // namespace RoR #endif // USE_OPENAL diff --git a/source/main/audio/SoundScriptManager.h b/source/main/audio/SoundScriptManager.h index 6a9bb22ad7..9dbaaf08e6 100644 --- a/source/main/audio/SoundScriptManager.h +++ b/source/main/audio/SoundScriptManager.h @@ -37,6 +37,9 @@ namespace RoR { +/// @addtogroup Audio +/// @{ + enum { MAX_SOUNDS_PER_SCRIPT = 16, MAX_INSTANCES_PER_GROUP = 256 @@ -319,6 +322,8 @@ class SoundScriptManager : public Ogre::ScriptLoader, public ZeroedMemoryAllocat SoundManager* sound_manager; }; +/// @} + } // namespace RoR #else // USE_OPENAL