28 lines
441 B
C++
28 lines
441 B
C++
#ifndef ENGINE_H
|
|
#define ENGINE_H
|
|
|
|
#include "tier0/platform.h"
|
|
|
|
class CBaseEntity;
|
|
|
|
interface IEngine
|
|
{
|
|
public:
|
|
static void Init();
|
|
static void Frame(float fDelta);
|
|
static void Shutdown();
|
|
};
|
|
|
|
|
|
interface IIEngine
|
|
{
|
|
public:
|
|
static void PrecacheModel( const char *psz );
|
|
static void PrecacheSound( const char *psz );
|
|
|
|
static CBaseEntity *SpawnEntity( const char *szName );
|
|
static void DestroyEntity( CBaseEntity *pEntity );
|
|
};
|
|
|
|
#endif
|