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.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/buildings/Building.h b/src/buildings/Building.h
new file mode 100644
index 00000000..2c2dfb1f
--- /dev/null
+++ b/src/buildings/Building.h
@@ -0,0 +1,20 @@
+#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; }
+};
+
+bool IsBuildingPointerValid(CBuilding*);