summaryrefslogtreecommitdiffstats
path: root/src/buildings/Treadable.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:39:44 +0100
commitaffd3c6baa9505328a804263434b14ee0aba1b3f (patch)
tree8c2bbbfd0d6e1c02740532662b93d99284f463b1 /src/buildings/Treadable.h
parentfixes to last HUD commits (diff)
downloadre3-affd3c6baa9505328a804263434b14ee0aba1b3f.tar
re3-affd3c6baa9505328a804263434b14ee0aba1b3f.tar.gz
re3-affd3c6baa9505328a804263434b14ee0aba1b3f.tar.bz2
re3-affd3c6baa9505328a804263434b14ee0aba1b3f.tar.lz
re3-affd3c6baa9505328a804263434b14ee0aba1b3f.tar.xz
re3-affd3c6baa9505328a804263434b14ee0aba1b3f.tar.zst
re3-affd3c6baa9505328a804263434b14ee0aba1b3f.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);
+