summaryrefslogtreecommitdiffstats
path: root/src/game/shared/world/voxel_registry.hh
diff options
context:
space:
mode:
authoruntodesu <kirill@untode.su>2025-12-26 14:50:33 +0500
committeruntodesu <kirill@untode.su>2025-12-26 14:50:33 +0500
commit6c2abde5c99a236453b795abaa6d7d70105e31f7 (patch)
treef085049b9615a7d03cca5de40adb6529d6c13e11 /src/game/shared/world/voxel_registry.hh
parentf40d09cb8f712e87691af4912f3630d92d692779 (diff)
downloadvoxelius-6c2abde5c99a236453b795abaa6d7d70105e31f7.tar.bz2
voxelius-6c2abde5c99a236453b795abaa6d7d70105e31f7.zip
Just a big Ctrl+H refactoring
Diffstat (limited to 'src/game/shared/world/voxel_registry.hh')
-rw-r--r--src/game/shared/world/voxel_registry.hh16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/game/shared/world/voxel_registry.hh b/src/game/shared/world/voxel_registry.hh
index a1e0eee..5dbaf50 100644
--- a/src/game/shared/world/voxel_registry.hh
+++ b/src/game/shared/world/voxel_registry.hh
@@ -2,25 +2,25 @@
#include "shared/world/voxel.hh"
-namespace world::voxel_registry
+namespace voxel_registry
{
extern emhash8::HashMap<std::string, voxel_id> names;
extern std::vector<std::unique_ptr<Voxel>> voxels;
-} // namespace world::voxel_registry
+} // namespace voxel_registry
-namespace world::voxel_registry
+namespace voxel_registry
{
Voxel* register_voxel(const VoxelBuilder& builder);
Voxel* find(std::string_view name);
Voxel* find(voxel_id id);
-} // namespace world::voxel_registry
+} // namespace voxel_registry
-namespace world::voxel_registry
+namespace voxel_registry
{
void purge(void);
-} // namespace world::voxel_registry
+} // namespace voxel_registry
-namespace world::voxel_registry
+namespace voxel_registry
{
std::uint64_t get_checksum(void);
-} // namespace world::voxel_registry
+} // namespace voxel_registry