2019-05-15 10:52:37 -04:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "Entity.h"
|
|
|
|
|
|
|
|
class CBuilding : public CEntity
|
|
|
|
{
|
|
|
|
public:
|
2019-06-18 03:50:26 -04:00
|
|
|
CBuilding(void) {
|
|
|
|
m_type = ENTITY_TYPE_BUILDING;
|
|
|
|
bUsesCollision = true;
|
|
|
|
}
|
2019-05-15 10:52:37 -04:00
|
|
|
static void *operator new(size_t);
|
|
|
|
static void operator delete(void*, size_t);
|
|
|
|
|
2019-06-19 17:41:43 -04:00
|
|
|
void ReplaceWithNewModel(int32 id);
|
|
|
|
|
2019-05-15 10:52:37 -04:00
|
|
|
virtual bool GetIsATreadable(void) { return false; }
|
2019-06-24 16:06:14 -04:00
|
|
|
|
|
|
|
CBuilding *ctor(void) { return ::new (this) CBuilding(); }
|
2019-05-15 10:52:37 -04:00
|
|
|
};
|
|
|
|
static_assert(sizeof(CBuilding) == 0x64, "CBuilding: error");
|