From 18dff31dbde0c9ece5a61c4dc548fdc4515c73ad Mon Sep 17 00:00:00 2001 From: Joshua Peisach <itzswirlz2020@outlook.com> Date: Wed, 7 Feb 2024 06:13:20 -0500 Subject: [PATCH] Children classes of LegoWorld's VTable0x5c (#536) --- LEGO1/lego/legoomni/src/act2/legoact2.cpp | 5 ++--- LEGO1/lego/legoomni/src/act3/act3.cpp | 5 ++--- LEGO1/lego/legoomni/src/build/legocarbuild.cpp | 5 ++--- LEGO1/lego/legoomni/src/gasstation/gasstation.cpp | 5 ++--- LEGO1/lego/legoomni/src/hospital/hospital.cpp | 5 ++--- LEGO1/lego/legoomni/src/isle/jukebox.cpp | 5 ++--- 6 files changed, 12 insertions(+), 18 deletions(-) diff --git a/LEGO1/lego/legoomni/src/act2/legoact2.cpp b/LEGO1/lego/legoomni/src/act2/legoact2.cpp index c32f407c..247cf975 100644 --- a/LEGO1/lego/legoomni/src/act2/legoact2.cpp +++ b/LEGO1/lego/legoomni/src/act2/legoact2.cpp @@ -1,10 +1,9 @@ #include "legoact2.h" -// STUB: LEGO1 0x1004fe10 +// FUNCTION: LEGO1 0x1004fe10 MxBool LegoAct2::VTable0x5c() { - // TODO - return FALSE; + return TRUE; } // STUB: LEGO1 0x1004ff20 diff --git a/LEGO1/lego/legoomni/src/act3/act3.cpp b/LEGO1/lego/legoomni/src/act3/act3.cpp index b0971ec4..8df9f4e1 100644 --- a/LEGO1/lego/legoomni/src/act3/act3.cpp +++ b/LEGO1/lego/legoomni/src/act3/act3.cpp @@ -8,11 +8,10 @@ Act3::Act3() // TODO } -// STUB: LEGO1 0x10072500 +// FUNCTION: LEGO1 0x10072500 MxBool Act3::VTable0x5c() { - // TODO - return FALSE; + return TRUE; } // STUB: LEGO1 0x100726a0 diff --git a/LEGO1/lego/legoomni/src/build/legocarbuild.cpp b/LEGO1/lego/legoomni/src/build/legocarbuild.cpp index 09651ba2..f27a1533 100644 --- a/LEGO1/lego/legoomni/src/build/legocarbuild.cpp +++ b/LEGO1/lego/legoomni/src/build/legocarbuild.cpp @@ -6,11 +6,10 @@ LegoCarBuild::LegoCarBuild() // TODO } -// STUB: LEGO1 0x10022930 +// FUNCTION: LEGO1 0x10022930 MxBool LegoCarBuild::VTable0x5c() { - // TODO - return FALSE; + return TRUE; } // STUB: LEGO1 0x10022a80 diff --git a/LEGO1/lego/legoomni/src/gasstation/gasstation.cpp b/LEGO1/lego/legoomni/src/gasstation/gasstation.cpp index 36e48f56..a0e9416a 100644 --- a/LEGO1/lego/legoomni/src/gasstation/gasstation.cpp +++ b/LEGO1/lego/legoomni/src/gasstation/gasstation.cpp @@ -19,11 +19,10 @@ GasStation::GasStation() NotificationManager()->Register(this); } -// STUB: LEGO1 0x10004770 +// FUNCTION: LEGO1 0x10004770 MxBool GasStation::VTable0x5c() { - // TODO - return FALSE; + return TRUE; } // STUB: LEGO1 0x100048c0 diff --git a/LEGO1/lego/legoomni/src/hospital/hospital.cpp b/LEGO1/lego/legoomni/src/hospital/hospital.cpp index 8412cee5..e298ef34 100644 --- a/LEGO1/lego/legoomni/src/hospital/hospital.cpp +++ b/LEGO1/lego/legoomni/src/hospital/hospital.cpp @@ -23,11 +23,10 @@ Hospital::Hospital() NotificationManager()->Register(this); } -// STUB: LEGO1 0x100746a0 +// FUNCTION: LEGO1 0x100746a0 MxBool Hospital::VTable0x5c() { - // TODO - return FALSE; + return TRUE; } // STUB: LEGO1 0x100747f0 diff --git a/LEGO1/lego/legoomni/src/isle/jukebox.cpp b/LEGO1/lego/legoomni/src/isle/jukebox.cpp index ed937aeb..73b03ab0 100644 --- a/LEGO1/lego/legoomni/src/isle/jukebox.cpp +++ b/LEGO1/lego/legoomni/src/isle/jukebox.cpp @@ -13,11 +13,10 @@ JukeBox::JukeBox() NotificationManager()->Register(this); } -// STUB: LEGO1 0x1005d6e0 +// FUNCTION: LEGO1 0x1005d6e0 MxBool JukeBox::VTable0x5c() { - // TODO - return FALSE; + return TRUE; } // STUB: LEGO1 0x1005d8d0