diff options
| author | untodesu <kirill@untode.su> | 2025-09-11 15:48:53 +0500 |
|---|---|---|
| committer | untodesu <kirill@untode.su> | 2025-09-11 15:48:53 +0500 |
| commit | d0fbd68055e3f4a796330cc8acc6c0954b5327ff (patch) | |
| tree | e581014ea02711efa5e71f00f9862e5bca58f2ed /game/server/globals.hh | |
| parent | cbd823aa2154a956e7da4319eecbf7afc10441ae (diff) | |
| download | voxelius-d0fbd68055e3f4a796330cc8acc6c0954b5327ff.tar.bz2 voxelius-d0fbd68055e3f4a796330cc8acc6c0954b5327ff.zip | |
Run clang-format across the project
Diffstat (limited to 'game/server/globals.hh')
| -rw-r--r-- | game/server/globals.hh | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/game/server/globals.hh b/game/server/globals.hh index b684d3b..e9aa174 100644 --- a/game/server/globals.hh +++ b/game/server/globals.hh @@ -1,27 +1,27 @@ -#pragma once - -#include "shared/globals.hh" - -namespace io -{ -class ConfigMap; -} // namespace io - -namespace world -{ -class Dimension; -} // namespace world - -namespace globals -{ -extern io::ConfigMap server_config; - -extern ENetHost* server_host; - -extern bool is_running; -extern unsigned int tickrate; -extern std::uint64_t tickrate_dt; - -extern world::Dimension* spawn_dimension; -extern std::unordered_map<std::string, world::Dimension*> dimensions; -} // namespace globals +#pragma once
+
+#include "shared/globals.hh"
+
+namespace io
+{
+class ConfigMap;
+} // namespace io
+
+namespace world
+{
+class Dimension;
+} // namespace world
+
+namespace globals
+{
+extern io::ConfigMap server_config;
+
+extern ENetHost* server_host;
+
+extern bool is_running;
+extern unsigned int tickrate;
+extern std::uint64_t tickrate_dt;
+
+extern world::Dimension* spawn_dimension;
+extern std::unordered_map<std::string, world::Dimension*> dimensions;
+} // namespace globals
|
