summaryrefslogtreecommitdiffstats
path: root/game/client/sound.hh
diff options
context:
space:
mode:
authoruntodesu <kirill@untode.su>2025-06-29 22:24:42 +0500
committeruntodesu <kirill@untode.su>2025-06-29 22:24:42 +0500
commit6cd00aacfa22fed6a54a9b812f6b069ad16feec0 (patch)
treeb77f4e665da3dd235cdb01e7e6ea78c1c02ecf2e /game/client/sound.hh
parentf440914e1ae453768d09383f332bc7844e0a700e (diff)
downloadvoxelius-6cd00aacfa22fed6a54a9b812f6b069ad16feec0.tar.bz2
voxelius-6cd00aacfa22fed6a54a9b812f6b069ad16feec0.zip
Move game sources into src subdirectory
Diffstat (limited to 'game/client/sound.hh')
-rw-r--r--game/client/sound.hh43
1 files changed, 0 insertions, 43 deletions
diff --git a/game/client/sound.hh b/game/client/sound.hh
deleted file mode 100644
index 2701ae0..0000000
--- a/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 deinit(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<SoundEffect> sound, bool looping, float pitch);
-void play_entity(entt::entity entity, resource_ptr<SoundEffect> sound, bool looping, float pitch);
-void play_player(resource_ptr<SoundEffect> sound, bool looping, float pitch);
-void play_ui(resource_ptr<SoundEffect> sound, bool looping, float pitch);
-} // namespace sound
-
-#endif /* CLIENT_SOUND_HH */