re3-wiiu/src/entities/Building.h

23 lines
432 B
C
Raw Normal View History

2019-05-15 16:52:37 +02:00
#pragma once
#include "Entity.h"
class CBuilding : public CEntity
{
public:
2019-06-18 09:50:26 +02:00
CBuilding(void) {
m_type = ENTITY_TYPE_BUILDING;
bUsesCollision = true;
}
2019-05-15 16:52:37 +02:00
static void *operator new(size_t);
static void operator delete(void*, size_t);
2019-06-19 23:41:43 +02:00
void ReplaceWithNewModel(int32 id);
2019-05-15 16:52:37 +02:00
virtual bool GetIsATreadable(void) { return false; }
};
2020-05-10 15:54:37 +02:00
#ifdef CHECK_STRUCT_SIZES
2019-05-15 16:52:37 +02:00
static_assert(sizeof(CBuilding) == 0x64, "CBuilding: error");
2020-05-10 15:54:37 +02:00
#endif