From 3bf42c6ff3805a0d42bbc661794a95ff31bedc26 Mon Sep 17 00:00:00 2001 From: untodesu Date: Sat, 15 Mar 2025 16:22:09 +0500 Subject: Add whatever I was working on for the last month --- game/server/globals.cc | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 game/server/globals.cc (limited to 'game/server/globals.cc') diff --git a/game/server/globals.cc b/game/server/globals.cc new file mode 100644 index 0000000..e0f50da --- /dev/null +++ b/game/server/globals.cc @@ -0,0 +1,17 @@ +#include "server/pch.hh" +#include "server/globals.hh" + +#include "core/config.hh" + +#include "shared/protocol.hh" + +Config globals::server_config; + +ENetHost *globals::server_host; + +bool globals::is_running; +unsigned int globals::tickrate; +std::uint64_t globals::tickrate_dt; + +Dimension *globals::spawn_dimension; +std::unordered_map globals::dimensions; -- cgit