some stuff
This commit is contained in:
@@ -1,11 +1,14 @@
|
||||
#ifndef GAME_H
|
||||
#define GAME_H
|
||||
|
||||
#include "tier2/ifilesystem.h"
|
||||
#include "enginebridge.h"
|
||||
#include "icvar.h"
|
||||
#include "materialsystem/imaterialsystem.h"
|
||||
#include "materialsystem/igamewindow.h"
|
||||
#include "networkbase.h"
|
||||
#include "iphysics.h"
|
||||
extern IRenderContext *g_pRenderContext;
|
||||
extern IFileSystem *filesystem;
|
||||
extern IGameWindowManager *g_pWindowManager;
|
||||
#include "ihumandevice.h"
|
||||
|
||||
class CEngineVars
|
||||
{
|
||||
@@ -14,7 +17,24 @@ public:
|
||||
double m_fDeltaTime;
|
||||
};
|
||||
|
||||
extern IFileSystem *filesystem;
|
||||
|
||||
|
||||
extern IRenderContext *g_pRenderContext;
|
||||
extern IGameWindow *g_pMainWindow;
|
||||
|
||||
|
||||
extern INetworkBase *g_pServerBridge;
|
||||
extern INetworkBase *g_pClientBridge;
|
||||
|
||||
extern INetworkBase *g_pServerConnection;
|
||||
extern INetworkBase *g_pPublicConnection;
|
||||
extern INetworkBase *g_pCurrentConnection;
|
||||
|
||||
|
||||
extern CEngineVars *g_pEngineVars;
|
||||
extern EngineConsts_t *g_pEngineConstants;
|
||||
|
||||
|
||||
extern IPhysics *g_pPhysics;
|
||||
extern IPhysicsWorld *g_pPhysicsWorld;
|
||||
@@ -22,4 +42,11 @@ extern IPhysicsWorld *g_pPhysicsWorld;
|
||||
#define FUNNY_SECURE_PORT 27015
|
||||
#define FUNNY_QUERY_PORT 27016
|
||||
|
||||
#define CON_COMMAND( name, description ) \
|
||||
static void name( int c, char **v ); \
|
||||
static ConCommand name##_command(#name, name, description); \
|
||||
static void name( int c, char **v ) \
|
||||
|
||||
CreateInterfaceFn GetEngineFactory();
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user