summaryrefslogtreecommitdiffstats
path: root/src/game/shared/world/voxel_registry.hh
diff options
context:
space:
mode:
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