From 458e0005690ea9d579588a0a12368fc2c2c9a93a Mon Sep 17 00:00:00 2001 From: untodesu Date: Tue, 1 Jul 2025 03:08:39 +0500 Subject: I hyper-focued on refactoring again - I put a cool-sounding "we are number one" remix on repeat and straight up grinded the entire repository to a better state until 03:09 AM. I guess I have something wrong in my brain that makes me do this shit --- src/game/client/sound.hh | 43 ------------------------------------------- 1 file changed, 43 deletions(-) delete mode 100644 src/game/client/sound.hh (limited to 'src/game/client/sound.hh') diff --git a/src/game/client/sound.hh b/src/game/client/sound.hh deleted file mode 100644 index bba9916..0000000 --- a/src/game/client/sound.hh +++ /dev/null @@ -1,43 +0,0 @@ -#ifndef CLIENT_SOUND_HH -#define CLIENT_SOUND_HH 1 -#pragma once - -#include "core/resource.hh" - -class ConfigFloat; -struct SoundEffect; - -namespace sound -{ -extern ConfigFloat volume_master; -extern ConfigFloat volume_effects; -extern ConfigFloat volume_music; -extern ConfigFloat 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(const char* sound, bool looping, float pitch); -void play_entity(entt::entity entity, const char* sound, bool looping, float pitch); -void play_player(const char* sound, bool looping, float pitch); -void play_ui(const char* 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 - -#endif // CLIENT_SOUND_HH -- cgit