From d0fbd68055e3f4a796330cc8acc6c0954b5327ff Mon Sep 17 00:00:00 2001 From: untodesu Date: Thu, 11 Sep 2025 15:48:53 +0500 Subject: Run clang-format across the project --- game/client/sound/sound.hh | 86 +++++++++++++++++++++++----------------------- 1 file changed, 43 insertions(+), 43 deletions(-) (limited to 'game/client/sound/sound.hh') diff --git a/game/client/sound/sound.hh b/game/client/sound/sound.hh index d96d0c4..c794845 100644 --- a/game/client/sound/sound.hh +++ b/game/client/sound/sound.hh @@ -1,43 +1,43 @@ -#pragma once - -#include "core/resource/resource.hh" - -namespace config -{ -class Float; -} // namespace config - -struct SoundEffect; - -namespace sound -{ -extern config::Float volume_master; -extern config::Float volume_effects; -extern config::Float volume_music; -extern config::Float volume_ui; -} // namespace sound - -namespace sound -{ -void init_config(void); -void init(void); -void init_late(void); -void shutdown(void); -void update(void); -} // namespace sound - -namespace sound -{ -void play_generic(std::string_view sound, bool looping, float pitch); -void play_entity(entt::entity entity, std::string_view sound, bool looping, float pitch); -void play_player(std::string_view sound, bool looping, float pitch); -void play_ui(std::string_view sound, bool looping, float pitch); -} // namespace sound - -namespace sound -{ -void play_generic(resource_ptr sound, bool looping, float pitch); -void play_entity(entt::entity entity, resource_ptr sound, bool looping, float pitch); -void play_player(resource_ptr sound, bool looping, float pitch); -void play_ui(resource_ptr sound, bool looping, float pitch); -} // namespace sound +#pragma once + +#include "core/resource/resource.hh" + +namespace config +{ +class Float; +} // namespace config + +struct SoundEffect; + +namespace sound +{ +extern config::Float volume_master; +extern config::Float volume_effects; +extern config::Float volume_music; +extern config::Float volume_ui; +} // namespace sound + +namespace sound +{ +void init_config(void); +void init(void); +void init_late(void); +void shutdown(void); +void update(void); +} // namespace sound + +namespace sound +{ +void play_generic(std::string_view sound, bool looping, float pitch); +void play_entity(entt::entity entity, std::string_view sound, bool looping, float pitch); +void play_player(std::string_view sound, bool looping, float pitch); +void play_ui(std::string_view sound, bool looping, float pitch); +} // namespace sound + +namespace sound +{ +void play_generic(resource_ptr sound, bool looping, float pitch); +void play_entity(entt::entity entity, resource_ptr sound, bool looping, float pitch); +void play_player(resource_ptr sound, bool looping, float pitch); +void play_ui(resource_ptr sound, bool looping, float pitch); +} // namespace sound -- cgit