2022-11-14 02:18:45 +00:00
|
|
|
#ifndef _CMODEL
|
|
|
|
#define _CMODEL
|
|
|
|
|
|
|
|
class CModelFlags;
|
|
|
|
|
|
|
|
class CModel {
|
2023-01-12 20:37:45 +00:00
|
|
|
static uint sTotalMemory;
|
2022-11-14 02:18:45 +00:00
|
|
|
public:
|
|
|
|
void Touch(int) const;
|
|
|
|
void Draw(const CModelFlags&) const;
|
2022-11-25 12:41:28 +00:00
|
|
|
bool IsLoaded(int matIdx) const;
|
2023-01-12 20:37:45 +00:00
|
|
|
|
|
|
|
static void AddToTotal(uint amt) { sTotalMemory += amt; }
|
|
|
|
static void RemoveFromTotal(uint amt) { sTotalMemory -= amt; }
|
2022-11-14 02:18:45 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _CMODEL
|