summaryrefslogtreecommitdiffstats
path: root/src/buildings/Building.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-12-20 11:39:44 +0100
committerSergeanur <s.anureev@yandex.ua>2020-12-20 11:40:59 +0100
commitbe92b57b54241de55e233376f481ba848ca8df35 (patch)
tree18111337fba137a947e5c7479021887a0c302fcb /src/buildings/Building.h
parentMerge pull request #890 from aap/miami (diff)
downloadre3-be92b57b54241de55e233376f481ba848ca8df35.tar
re3-be92b57b54241de55e233376f481ba848ca8df35.tar.gz
re3-be92b57b54241de55e233376f481ba848ca8df35.tar.bz2
re3-be92b57b54241de55e233376f481ba848ca8df35.tar.lz
re3-be92b57b54241de55e233376f481ba848ca8df35.tar.xz
re3-be92b57b54241de55e233376f481ba848ca8df35.tar.zst
re3-be92b57b54241de55e233376f481ba848ca8df35.zip
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*);