re3/src/entities/Building.h

23 lines
510 B
C
Raw Normal View History

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