summaryrefslogtreecommitdiffstats
path: root/src/game/client/world/voxel_sounds.hh
blob: 1ed57e212dbfc738272259959c4f8e643fc79cc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// SPDX-License-Identifier: BSD-2-Clause
// Copyright (c) 2025 Kirill Dmitrievich
// File: voxel_sounds.hh
// Description: Handle voxel sounds

#ifndef CLIENT_WORLD_VOXEL_SOUNDS_HH
#define CLIENT_WORLD_VOXEL_SOUNDS_HH
#pragma once

#include "core/resource/resource.hh"

#include "shared/world/voxel.hh"

struct SoundEffect;

namespace voxel_sounds
{
void init(void);
void shutdown(void);
} // namespace voxel_sounds

namespace voxel_sounds
{
resource_ptr<SoundEffect> get_footsteps(VoxelMaterial material);
resource_ptr<SoundEffect> get_placebreak(VoxelMaterial material);
} // namespace voxel_sounds

#endif