summaryrefslogtreecommitdiffstats
path: root/src/game/server/globals.hh
blob: b684d3b212747159db6630ea4cef7873450aea97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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