summaryrefslogtreecommitdiffstats
path: root/src/buildings/Treadable.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-12-20 15:08:21 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2020-12-20 15:08:21 +0100
commitdb012aa9e0cc3efdb43a3b7c7e43c5ec32cb9bc4 (patch)
tree4eaae4d683fe281711aceb90efa218dd75fa44b0 /src/buildings/Treadable.h
parentimplemented collectives in script (diff)
parentlittle ps2 fixes (diff)
downloadre3-db012aa9e0cc3efdb43a3b7c7e43c5ec32cb9bc4.tar
re3-db012aa9e0cc3efdb43a3b7c7e43c5ec32cb9bc4.tar.gz
re3-db012aa9e0cc3efdb43a3b7c7e43c5ec32cb9bc4.tar.bz2
re3-db012aa9e0cc3efdb43a3b7c7e43c5ec32cb9bc4.tar.lz
re3-db012aa9e0cc3efdb43a3b7c7e43c5ec32cb9bc4.tar.xz
re3-db012aa9e0cc3efdb43a3b7c7e43c5ec32cb9bc4.tar.zst
re3-db012aa9e0cc3efdb43a3b7c7e43c5ec32cb9bc4.zip
Diffstat (limited to 'src/buildings/Treadable.h')
-rw-r--r--src/buildings/Treadable.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/buildings/Treadable.h b/src/buildings/Treadable.h
new file mode 100644
index 00000000..c3160f47
--- /dev/null
+++ b/src/buildings/Treadable.h
@@ -0,0 +1,17 @@
+#pragma once
+
+#include "Building.h"
+
+class CTreadable : public CBuilding
+{
+public:
+ static void *operator new(size_t);
+ static void operator delete(void*, size_t);
+
+ int16 m_nodeIndices[2][12]; // first car, then ped
+
+ bool GetIsATreadable(void) { return true; }
+};
+
+VALIDATE_SIZE(CTreadable, 0x94);
+