networking i guess
This commit is contained in:
27
game/client/basemodelentity.h
Normal file
27
game/client/basemodelentity.h
Normal file
@@ -0,0 +1,27 @@
|
||||
|
||||
#ifndef BASE_MODEL_ENTITY_H
|
||||
#define BASE_MODEL_ENTITY_H
|
||||
|
||||
#include "baseentity.h"
|
||||
#include "worldrender.h"
|
||||
#include "assetmgr.h"
|
||||
|
||||
class C_BaseModelEntity: public C_BaseEntity
|
||||
{
|
||||
public:
|
||||
DECLARE_CLASS(C_BaseModelEntity, C_BaseEntity);
|
||||
DECLARE_DATADESC();
|
||||
|
||||
virtual void Precache() override;
|
||||
virtual void Spawn() override;
|
||||
void Think( float fDelta );
|
||||
|
||||
void SetModel( const char *szName );
|
||||
private:
|
||||
|
||||
uint32_t m_uModelIndex;
|
||||
FunnyModel_t *m_pModel;
|
||||
IMeshInstance *m_pInstance;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user