summaryrefslogtreecommitdiffstats
path: root/game/server/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/server/world
parentb8bbc54c5c920aff1ff1b45a693f50d6d96d61c8 (diff)
downloadvoxelius-cbd823aa2154a956e7da4319eecbf7afc10441ae.tar.bz2
voxelius-cbd823aa2154a956e7da4319eecbf7afc10441ae.zip
Remove include guards
Diffstat (limited to 'game/server/world')
-rw-r--r--game/server/world/inhabited.hh4
-rw-r--r--game/server/world/overworld.hh4
-rw-r--r--game/server/world/universe.hh4
-rw-r--r--game/server/world/unloader.hh4
-rw-r--r--game/server/world/worldgen.hh4
5 files changed, 0 insertions, 20 deletions
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