networking i guess
This commit is contained in:
@@ -10,6 +10,8 @@
|
||||
#include "entitysystem.h"
|
||||
#include "datamap.h"
|
||||
#include "trig.h"
|
||||
#include "netmap.h"
|
||||
#include "tier1/utlstring.h"
|
||||
|
||||
#define DECLARE_CLASS_NOBASE( className ) \
|
||||
typedef className ThisClass;
|
||||
@@ -18,7 +20,7 @@
|
||||
typedef className ThisClass;
|
||||
|
||||
#define LINK_ENTITY_TO_CLASS( mapClassName, DLLClassName) \
|
||||
static CEntityFactory<DLLClassName> g_EntityFactory_##mapClassName( #mapClassName );
|
||||
static CEntityFactory<DLLClassName> g_EntityFactory_##mapClassName( #mapClassName ); \
|
||||
|
||||
class C_BaseEntity;
|
||||
|
||||
@@ -50,6 +52,7 @@ class C_BaseEntity
|
||||
public:
|
||||
DECLARE_CLASS_NOBASE(C_BaseEntity);
|
||||
DECLARE_DATADESC_NOBASE()
|
||||
DECLARE_CLIENTCLASS_NOBASE()
|
||||
|
||||
typedescription_t *FindDataByName( const char *szName );
|
||||
typedescription_t *FindDataByMapName( const char *szName );
|
||||
@@ -62,7 +65,8 @@ public:
|
||||
virtual void SetAbsOrigin( Vector origin );
|
||||
virtual void SetScale( float fScale );
|
||||
|
||||
virtual QAngle GetAbsAngles( void );
|
||||
virtual QAngle GetAbsQAngles( void );
|
||||
virtual Quat GetAbsAngles( void );
|
||||
virtual Vector GetAbsOrigin( void );
|
||||
virtual float GetScale( void );
|
||||
|
||||
@@ -71,6 +75,7 @@ public:
|
||||
virtual void SetNextThink( float fThink );
|
||||
|
||||
fnThink m_pfnThink = NULL;
|
||||
CUtlString m_szClassName;
|
||||
private:
|
||||
Vector m_vPosition;
|
||||
Quat m_vRotation;
|
||||
|
||||
Reference in New Issue
Block a user