networking i guess

This commit is contained in:
2026-02-28 21:07:44 +02:00
parent e83f7cd448
commit 03c560c2b7
68 changed files with 1348 additions and 121 deletions

View 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