summaryrefslogtreecommitdiffstats
path: root/game/shared/world
diff options
context:
space:
mode:
authoruntodesu <kirill@untode.su>2025-09-11 15:47:37 +0500
committeruntodesu <kirill@untode.su>2025-09-11 15:47:37 +0500
commitcbd823aa2154a956e7da4319eecbf7afc10441ae (patch)
treee8166604b86f68fa6bdcf5f16dba88f1672f92b2 /game/shared/world
parentb8bbc54c5c920aff1ff1b45a693f50d6d96d61c8 (diff)
downloadvoxelius-cbd823aa2154a956e7da4319eecbf7afc10441ae.tar.bz2
voxelius-cbd823aa2154a956e7da4319eecbf7afc10441ae.zip
Remove include guards
Diffstat (limited to 'game/shared/world')
-rw-r--r--game/shared/world/chunk.hh4
-rw-r--r--game/shared/world/dimension.hh4
-rw-r--r--game/shared/world/feature.hh4
-rw-r--r--game/shared/world/item_registry.hh4
-rw-r--r--game/shared/world/voxel_registry.hh4
-rw-r--r--game/shared/world/voxel_storage.hh4
6 files changed, 0 insertions, 24 deletions
diff --git a/game/shared/world/chunk.hh b/game/shared/world/chunk.hh
index 4f70453..439694c 100644
--- a/game/shared/world/chunk.hh
+++ b/game/shared/world/chunk.hh
@@ -1,5 +1,3 @@
-#ifndef SHARED_CHUNK_HH
-#define SHARED_CHUNK_HH 1
#pragma once
#include "shared/world/voxel_storage.hh"
@@ -42,5 +40,3 @@ private:
unsigned int m_biome;
};
} // namespace world
-
-#endif // SHARED_CHUNK_HH
diff --git a/game/shared/world/dimension.hh b/game/shared/world/dimension.hh
index 3a383ac..8b6691d 100644
--- a/game/shared/world/dimension.hh
+++ b/game/shared/world/dimension.hh
@@ -1,5 +1,3 @@
-#ifndef SHARED_DIMENSION_HH
-#define SHARED_DIMENSION_HH 1
#pragma once
#include "shared/const.hh"
@@ -100,5 +98,3 @@ struct VoxelSetEvent final {
Chunk* chunk;
};
} // namespace world
-
-#endif // SHARED_DIMENSION_HH
diff --git a/game/shared/world/feature.hh b/game/shared/world/feature.hh
index e8465e3..5008223 100644
--- a/game/shared/world/feature.hh
+++ b/game/shared/world/feature.hh
@@ -1,5 +1,3 @@
-#ifndef SHARED_FEATURE_HH
-#define SHARED_FEATURE_HH 1
#pragma once
#include "shared/types.hh"
@@ -22,5 +20,3 @@ public:
void place(const voxel_pos& vpos, const chunk_pos& cpos, VoxelStorage& voxels) const;
};
} // namespace world
-
-#endif // SHARED_FEATURE_HH
diff --git a/game/shared/world/item_registry.hh b/game/shared/world/item_registry.hh
index 7508f2a..74bd60a 100644
--- a/game/shared/world/item_registry.hh
+++ b/game/shared/world/item_registry.hh
@@ -1,5 +1,3 @@
-#ifndef SHARED_ITEM_REGISTRY_HH
-#define SHARED_ITEM_REGISTRY_HH 1
#pragma once
#include "core/resource/resource.hh"
@@ -64,5 +62,3 @@ namespace world::item_registry
{
std::uint64_t calculate_checksum(void);
} // namespace world::item_registry
-
-#endif // SHARED_ITEM_REGISTRY_HH
diff --git a/game/shared/world/voxel_registry.hh b/game/shared/world/voxel_registry.hh
index 9a7e206..6ab8c97 100644
--- a/game/shared/world/voxel_registry.hh
+++ b/game/shared/world/voxel_registry.hh
@@ -1,5 +1,3 @@
-#ifndef SHARED_VOXEL_REGISTRY_HH
-#define SHARED_VOXEL_REGISTRY_HH 1
#pragma once
#include "shared/types.hh"
@@ -149,5 +147,3 @@ namespace world::voxel_registry
{
std::uint64_t calculate_checksum(void);
} // namespace world::voxel_registry
-
-#endif // SHARED_VOXEL_REGISTRY_HH
diff --git a/game/shared/world/voxel_storage.hh b/game/shared/world/voxel_storage.hh
index fdb6e33..ac7f03d 100644
--- a/game/shared/world/voxel_storage.hh
+++ b/game/shared/world/voxel_storage.hh
@@ -1,5 +1,3 @@
-#ifndef SHARED_VOXEL_STORAGE_HH
-#define SHARED_VOXEL_STORAGE_HH 1
#pragma once
#include "shared/const.hh"
@@ -20,5 +18,3 @@ public:
void deserialize(io::ReadBuffer& buffer);
};
} // namespace world
-
-#endif // SHARED_VOXEL_STORAGE_HH