networking i guess
This commit is contained in:
26
game/shared/engine.h
Normal file
26
game/shared/engine.h
Normal file
@@ -0,0 +1,26 @@
|
||||
#ifndef ENGINE_H
|
||||
#define ENGINE_H
|
||||
|
||||
#include "tier2/ifilesystem.h"
|
||||
#include "materialsystem/imaterialsystem.h"
|
||||
#include "materialsystem/igamewindow.h"
|
||||
#include "networkbase.h"
|
||||
|
||||
struct EngineConsts_t
|
||||
{
|
||||
bool m_bIsDedicated;
|
||||
bool m_bIsSteam;
|
||||
INetworkBase *(LaunchLocalBridge)(uint16_t uPort);
|
||||
INetworkBase *(LaunchServer)(uint16_t uPort);
|
||||
INetworkBase *(ConnectLocalBridge)(uint16_t uPort);
|
||||
INetworkBase *(ConnectSteamServer)(uint64_t uServer, uint16_t uPort);
|
||||
};
|
||||
|
||||
extern IFileSystem *filesystem;
|
||||
extern IRenderContext *g_pRenderContext;
|
||||
extern IGameWindow *g_pMainWindow;
|
||||
extern EngineConsts_t *g_pEngineConstants;
|
||||
extern INetworkBase *g_pServerBridge;
|
||||
extern INetworkBase *g_pClientBridge;
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user