mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-22 05:27:19 +00:00
4a6f3e44ee
* First iteration of pack reader and interface * Fix memory leak and remove logs * Complete packed asset interface and begin on file loading replacement * Implement proper BinaryIO error * Improve AssetMemoryBuffer for reading and implement more reading * Repair more file loading code and improve how navmeshes are loaded * Missing checks implementation * Revert addition of Manifest class and migration changes * Resolved all feedback.
29 lines
573 B
C++
29 lines
573 B
C++
#pragma once
|
|
|
|
#include <random>
|
|
|
|
class dServer;
|
|
class dLogger;
|
|
class InstanceManager;
|
|
class dpWorld;
|
|
class dChatFilter;
|
|
class dConfig;
|
|
class dLocale;
|
|
class RakPeerInterface;
|
|
class AssetManager;
|
|
struct SystemAddress;
|
|
|
|
namespace Game {
|
|
extern dLogger* logger;
|
|
extern dServer* server;
|
|
extern InstanceManager* im;
|
|
extern dpWorld* physicsWorld;
|
|
extern dChatFilter* chatFilter;
|
|
extern dConfig* config;
|
|
extern dLocale* locale;
|
|
extern std::mt19937 randomEngine;
|
|
extern RakPeerInterface* chatServer;
|
|
extern AssetManager* assetManager;
|
|
extern SystemAddress chatSysAddr;
|
|
}
|