summaryrefslogtreecommitdiffstats
path: root/src/buildings/Building.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildings/Building.h')
-rw-r--r--src/buildings/Building.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/buildings/Building.h b/src/buildings/Building.h
new file mode 100644
index 00000000..3586a8dc
--- /dev/null
+++ b/src/buildings/Building.h
@@ -0,0 +1,21 @@
+#pragma once
+
+#include "Entity.h"
+
+class CBuilding : public CEntity
+{
+public:
+ CBuilding(void) {
+ m_type = ENTITY_TYPE_BUILDING;
+ bUsesCollision = true;
+ }
+ static void *operator new(size_t);
+ static void operator delete(void*, size_t);
+
+ void ReplaceWithNewModel(int32 id);
+
+ virtual bool GetIsATreadable(void) { return false; }
+};
+
+VALIDATE_SIZE(CBuilding, 0x64);
+