summaryrefslogtreecommitdiffstats
path: root/src/entities/Treadable.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/entities/Treadable.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/entities/Treadable.h b/src/entities/Treadable.h
new file mode 100644
index 00000000..df5c9ee0
--- /dev/null
+++ b/src/entities/Treadable.h
@@ -0,0 +1,16 @@
+#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_nodeIndicesCars[12];
+ int16 m_nodeIndicesPeds[12];
+
+ virtual bool GetIsATreadable(void) { return true; }
+};
+static_assert(sizeof(CTreadable) == 0x94, "CTreadable: error");