29 lines
787 B
C
29 lines
787 B
C
#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;
|
|
extern INetworkBase *g_pPublicConnection;
|
|
extern INetworkBase *g_pCurrentConnection;
|
|
|
|
#endif
|