From 3bf42c6ff3805a0d42bbc661794a95ff31bedc26 Mon Sep 17 00:00:00 2001 From: untodesu Date: Sat, 15 Mar 2025 16:22:09 +0500 Subject: Add whatever I was working on for the last month --- game/client/voxel_sounds.hh | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 game/client/voxel_sounds.hh (limited to 'game/client/voxel_sounds.hh') diff --git a/game/client/voxel_sounds.hh b/game/client/voxel_sounds.hh new file mode 100644 index 0000000..ed11c0f --- /dev/null +++ b/game/client/voxel_sounds.hh @@ -0,0 +1,23 @@ +#ifndef CLIENT_VOXEL_SOUNDS_HH +#define CLIENT_VOXEL_SOUNDS_HH 1 +#pragma once + +#include "core/resource.hh" + +#include "shared/voxel_registry.hh" + +struct SoundEffect; + +namespace voxel_sounds +{ +void init(void); +void deinit(void); +} // namespace voxel_sounds + +namespace voxel_sounds +{ +resource_ptr get_footsteps(voxel_surface surface); +resource_ptr get_placebreak(voxel_surface surface); +} // namespace voxel_sounds + +#endif /* CLIENT_VOXEL_SOUNDS_HH */ -- cgit