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/server/world/inhabited.hh | 4 ---- game/server/world/overworld.hh | 4 ---- game/server/world/universe.hh | 4 ---- game/server/world/unloader.hh | 4 ---- game/server/world/worldgen.hh | 4 ---- 5 files changed, 20 deletions(-) (limited to 'game/server/world') diff --git a/game/server/world/inhabited.hh b/game/server/world/inhabited.hh index bbb7a03..57008e9 100644 --- a/game/server/world/inhabited.hh +++ b/game/server/world/inhabited.hh @@ -1,10 +1,6 @@ -#ifndef SERVER_INHABITED_HH -#define SERVER_INHABITED_HH 1 #pragma once namespace world { struct Inhabited final {}; } // namespace world - -#endif // SERVER_INHABITED_HH diff --git a/game/server/world/overworld.hh b/game/server/world/overworld.hh index cc6be91..f3fc8cf 100644 --- a/game/server/world/overworld.hh +++ b/game/server/world/overworld.hh @@ -1,5 +1,3 @@ -#ifndef SERVER_OVERWORLD_HH -#define SERVER_OVERWORLD_HH 1 #pragma once #include "core/config/number.hh" @@ -68,5 +66,3 @@ private: std::mutex m_mutex; }; } // namespace world - -#endif // SERVER_OVERWORLD_HH diff --git a/game/server/world/universe.hh b/game/server/world/universe.hh index 164ff01..285911e 100644 --- a/game/server/world/universe.hh +++ b/game/server/world/universe.hh @@ -1,5 +1,3 @@ -#ifndef SERVER_UNIVERSE_HH -#define SERVER_UNIVERSE_HH 1 #pragma once #include "shared/types.hh" @@ -25,5 +23,3 @@ Chunk* load_chunk(Dimension* dimension, const chunk_pos& cpos); void save_chunk(Dimension* dimension, const chunk_pos& cpos); void save_all_chunks(Dimension* dimension); } // namespace world::universe - -#endif // SERVER_UNIVERSE_HH diff --git a/game/server/world/unloader.hh b/game/server/world/unloader.hh index a995152..9682de6 100644 --- a/game/server/world/unloader.hh +++ b/game/server/world/unloader.hh @@ -1,5 +1,3 @@ -#ifndef SERVER_UNLOADER_HH -#define SERVER_UNLOADER_HH 1 #pragma once namespace world @@ -13,5 +11,3 @@ void init(void); void init_late(void); void fixed_update_late(Dimension* dimension); } // namespace world::unloader - -#endif // SERVER_UNLOADER_HH diff --git a/game/server/world/worldgen.hh b/game/server/world/worldgen.hh index db5b91f..8ffec36 100644 --- a/game/server/world/worldgen.hh +++ b/game/server/world/worldgen.hh @@ -1,5 +1,3 @@ -#ifndef SERVER_WORLDGEN_HH -#define SERVER_WORLDGEN_HH 1 #pragma once #include "shared/types.hh" @@ -21,5 +19,3 @@ namespace world::worldgen bool is_generating(Dimension* dimension, const chunk_pos& cpos); void request_chunk(Session* session, const chunk_pos& cpos); } // namespace world::worldgen - -#endif // SERVER_WORLDGEN_HH -- cgit