improvements

This commit is contained in:
2025-12-14 12:32:24 +02:00
parent 90a0c55d1d
commit c4406d1891
20 changed files with 529 additions and 95 deletions

20
public/iassetmgr.h Normal file
View File

@@ -0,0 +1,20 @@
#ifndef ASSET_MGR_H
#define ASSET_MGR_H
#include "tier0/platform.h"
#include "tier2/iappsystem.h"
abstract_class IModel;
abstract_class ITexture;
abstract_class ISound;
abstract_class IAssetManager: public IAppSystem
{
public:
virtual void Preload( const char *szName ) = 0;
virtual ITexture *LoadTexture( const char *szName ) = 0;
virtual IModel *LoadModel( const char *szName ) = 0;
virtual ISound *LoadSound( const char *szName ) = 0;
};
#endif