From cbd823aa2154a956e7da4319eecbf7afc10441ae Mon Sep 17 00:00:00 2001 From: untodesu Date: Thu, 11 Sep 2025 15:47:37 +0500 Subject: Remove include guards --- game/shared/world/chunk.hh | 4 ---- game/shared/world/dimension.hh | 4 ---- game/shared/world/feature.hh | 4 ---- game/shared/world/item_registry.hh | 4 ---- game/shared/world/voxel_registry.hh | 4 ---- game/shared/world/voxel_storage.hh | 4 ---- 6 files changed, 24 deletions(-) (limited to 'game/shared/world') 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 -- cgit