2021-12-05 17:54:36 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <random>
|
|
|
|
|
|
|
|
class dServer;
|
|
|
|
class dLogger;
|
|
|
|
class InstanceManager;
|
|
|
|
class dChatFilter;
|
|
|
|
class dConfig;
|
|
|
|
class RakPeerInterface;
|
2022-11-01 18:21:26 +00:00
|
|
|
class AssetManager;
|
2021-12-05 17:54:36 +00:00
|
|
|
struct SystemAddress;
|
2023-07-15 20:56:33 +00:00
|
|
|
class EntityManager;
|
2021-12-05 17:54:36 +00:00
|
|
|
|
|
|
|
namespace Game {
|
|
|
|
extern dLogger* logger;
|
|
|
|
extern dServer* server;
|
|
|
|
extern InstanceManager* im;
|
|
|
|
extern dChatFilter* chatFilter;
|
|
|
|
extern dConfig* config;
|
|
|
|
extern std::mt19937 randomEngine;
|
|
|
|
extern RakPeerInterface* chatServer;
|
2022-11-01 18:21:26 +00:00
|
|
|
extern AssetManager* assetManager;
|
2021-12-05 17:54:36 +00:00
|
|
|
extern SystemAddress chatSysAddr;
|
2022-12-15 12:02:38 +00:00
|
|
|
extern bool shouldShutdown;
|
2023-07-15 20:56:33 +00:00
|
|
|
extern EntityManager* entityManager;
|
2021-12-05 17:54:36 +00:00
|
|
|
}
|