some work on assetmgr

This commit is contained in:
2026-03-04 14:45:34 +02:00
parent 9884006888
commit ddbdef713b
20 changed files with 282 additions and 153 deletions

0
game/server/assetmgr.cpp Normal file
View File

0
game/server/assetmgr.h Normal file
View File

View File

@@ -1 +1,11 @@
#include "basemodelentity.h"
void CBaseModelEntity::Spawn()
{
}
void CBaseModelEntity::Precache()
{
}

View File

@@ -3,6 +3,7 @@
#include "baseentity.h"
#include "iphysics.h"
#include "assetmgr.h"
class CBaseModelEntity: public CBaseEntity
{
@@ -11,7 +12,12 @@ public:
virtual void Spawn() override;
virtual void Precache() override;
void SetModel( const char *szName );
private:
HFunnyModel m_hModelHandle;
FunnyModel_t *m_pModel;
HShape m_hShape;
HCollider m_hCollider;
IPhysicsBody *m_pBody;