From adcb214d721106a00d84754c9f976381f35c8c01 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Sun, 10 Sep 2023 07:54:39 -0400 Subject: [PATCH] Fix TowTrack structure --- LEGO1/legopathactor.h | 2 +- LEGO1/skateboard.cpp | 1 + LEGO1/skateboard.h | 1 - LEGO1/towtrack.h | 3 ++- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/LEGO1/legopathactor.h b/LEGO1/legopathactor.h index f2fbfd2a..41c6d843 100644 --- a/LEGO1/legopathactor.h +++ b/LEGO1/legopathactor.h @@ -26,7 +26,7 @@ class LegoPathActor : public LegoActor return !strcmp(name, LegoPathActor::ClassName()) || LegoActor::IsA(name); } protected: - // TODO: the types. IslePathActor-inherited classes (pizza, jetski, etc.) needs these as public: + // TODO: the types undefined unk78[0xc4]; MxFloat m_unk13c; MxS32 m_unk140; diff --git a/LEGO1/skateboard.cpp b/LEGO1/skateboard.cpp index 08ba64d1..5c5cbf38 100644 --- a/LEGO1/skateboard.cpp +++ b/LEGO1/skateboard.cpp @@ -1,4 +1,5 @@ #include "skateboard.h" +#include "mxomni.h" #include "decomp.h" diff --git a/LEGO1/skateboard.h b/LEGO1/skateboard.h index c7c32931..e7fb1fc8 100644 --- a/LEGO1/skateboard.h +++ b/LEGO1/skateboard.h @@ -3,7 +3,6 @@ #include "decomp.h" #include "islepathactor.h" -#include "mxomni.h" // VTABLE 0x100d55f0 // SIZE 0x168 diff --git a/LEGO1/towtrack.h b/LEGO1/towtrack.h index 8a22efe6..7263ab3a 100644 --- a/LEGO1/towtrack.h +++ b/LEGO1/towtrack.h @@ -26,7 +26,7 @@ class TowTrack : public IslePathActor private: // TODO: TowTrack field types - undefined m_unk154[0x8]; + undefined m_unk154[4]; MxS32 m_unk164; MxS16 m_unk168; MxS16 m_unk16a; @@ -35,6 +35,7 @@ class TowTrack : public IslePathActor MxS32 m_unk170; MxS32 m_unk174; MxFloat m_unk178; + undefined4 m_unk17c; };