From 69001fa3d5fdef761a136ce97d5a84a096c2fd2c Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Mon, 16 Dec 2024 14:11:58 -0700 Subject: [PATCH] Add #include where necessary --- LEGO1/lego/legoomni/src/actors/act3actors.cpp | 1 + LEGO1/lego/legoomni/src/actors/ambulance.cpp | 2 ++ LEGO1/lego/legoomni/src/actors/dunebuggy.cpp | 2 ++ LEGO1/lego/legoomni/src/actors/jetski.cpp | 2 ++ LEGO1/lego/legoomni/src/actors/motorcycle.cpp | 2 ++ LEGO1/lego/legoomni/src/actors/towtrack.cpp | 2 ++ LEGO1/lego/legoomni/src/build/legocarbuild.cpp | 1 + LEGO1/lego/legoomni/src/common/legoanimationmanager.cpp | 1 + LEGO1/lego/legoomni/src/common/legocharactermanager.cpp | 1 + LEGO1/lego/legoomni/src/common/legoutils.cpp | 1 + LEGO1/lego/legoomni/src/entity/legoentity.cpp | 2 ++ LEGO1/lego/legoomni/src/entity/legoworldpresenter.cpp | 2 ++ LEGO1/lego/legoomni/src/race/carrace.cpp | 2 ++ LEGO1/lego/legoomni/src/race/jetskirace.cpp | 2 ++ LEGO1/lego/legoomni/src/race/legoracers.cpp | 2 ++ LEGO1/lego/legoomni/src/video/legoanimpresenter.cpp | 2 ++ LEGO1/lego/legoomni/src/worlds/act3.cpp | 1 + 17 files changed, 28 insertions(+) diff --git a/LEGO1/lego/legoomni/src/actors/act3actors.cpp b/LEGO1/lego/legoomni/src/actors/act3actors.cpp index 83fe23ab..1b82be72 100644 --- a/LEGO1/lego/legoomni/src/actors/act3actors.cpp +++ b/LEGO1/lego/legoomni/src/actors/act3actors.cpp @@ -16,6 +16,7 @@ #include "roi/legoroi.h" #include +#include DECOMP_SIZE_ASSERT(Act3Actor, 0x178) DECOMP_SIZE_ASSERT(Act3Cop, 0x188) diff --git a/LEGO1/lego/legoomni/src/actors/ambulance.cpp b/LEGO1/lego/legoomni/src/actors/ambulance.cpp index f89610b8..c2bf41b1 100644 --- a/LEGO1/lego/legoomni/src/actors/ambulance.cpp +++ b/LEGO1/lego/legoomni/src/actors/ambulance.cpp @@ -23,6 +23,8 @@ #include "mxvariabletable.h" #include "scripts.h" +#include + DECOMP_SIZE_ASSERT(Ambulance, 0x184) DECOMP_SIZE_ASSERT(AmbulanceMissionState, 0x24) diff --git a/LEGO1/lego/legoomni/src/actors/dunebuggy.cpp b/LEGO1/lego/legoomni/src/actors/dunebuggy.cpp index 59890fed..43332d0d 100644 --- a/LEGO1/lego/legoomni/src/actors/dunebuggy.cpp +++ b/LEGO1/lego/legoomni/src/actors/dunebuggy.cpp @@ -18,6 +18,8 @@ #include "mxtransitionmanager.h" #include "mxvariabletable.h" +#include + DECOMP_SIZE_ASSERT(DuneBuggy, 0x16c) // GLOBAL: LEGO1 0x100f7660 diff --git a/LEGO1/lego/legoomni/src/actors/jetski.cpp b/LEGO1/lego/legoomni/src/actors/jetski.cpp index 4db9d119..7c145d45 100644 --- a/LEGO1/lego/legoomni/src/actors/jetski.cpp +++ b/LEGO1/lego/legoomni/src/actors/jetski.cpp @@ -16,6 +16,8 @@ #include "mxvariabletable.h" #include "scripts.h" +#include + DECOMP_SIZE_ASSERT(Jetski, 0x164) // GLOBAL: LEGO1 0x100f7ab8 diff --git a/LEGO1/lego/legoomni/src/actors/motorcycle.cpp b/LEGO1/lego/legoomni/src/actors/motorcycle.cpp index 1c8c73db..63407ce0 100644 --- a/LEGO1/lego/legoomni/src/actors/motorcycle.cpp +++ b/LEGO1/lego/legoomni/src/actors/motorcycle.cpp @@ -16,6 +16,8 @@ #include "mxtransitionmanager.h" #include "mxvariabletable.h" +#include + DECOMP_SIZE_ASSERT(Motocycle, 0x16c) // FUNCTION: LEGO1 0x100357b0 diff --git a/LEGO1/lego/legoomni/src/actors/towtrack.cpp b/LEGO1/lego/legoomni/src/actors/towtrack.cpp index 08da9727..7dba4ee7 100644 --- a/LEGO1/lego/legoomni/src/actors/towtrack.cpp +++ b/LEGO1/lego/legoomni/src/actors/towtrack.cpp @@ -20,6 +20,8 @@ #include "mxtransitionmanager.h" #include "mxvariabletable.h" +#include + DECOMP_SIZE_ASSERT(TowTrack, 0x180) DECOMP_SIZE_ASSERT(TowTrackMissionState, 0x28) diff --git a/LEGO1/lego/legoomni/src/build/legocarbuild.cpp b/LEGO1/lego/legoomni/src/build/legocarbuild.cpp index e8ac3d7d..a75f382c 100644 --- a/LEGO1/lego/legoomni/src/build/legocarbuild.cpp +++ b/LEGO1/lego/legoomni/src/build/legocarbuild.cpp @@ -31,6 +31,7 @@ #include "scripts.h" #include +#include #include // Names and values verified by BETA10 0x1006d742. diff --git a/LEGO1/lego/legoomni/src/common/legoanimationmanager.cpp b/LEGO1/lego/legoomni/src/common/legoanimationmanager.cpp index 4b74fdf1..c360b1a6 100644 --- a/LEGO1/lego/legoomni/src/common/legoanimationmanager.cpp +++ b/LEGO1/lego/legoomni/src/common/legoanimationmanager.cpp @@ -29,6 +29,7 @@ #include "viewmanager/viewmanager.h" #include +#include #include DECOMP_SIZE_ASSERT(LegoAnimationManager, 0x500) diff --git a/LEGO1/lego/legoomni/src/common/legocharactermanager.cpp b/LEGO1/lego/legoomni/src/common/legocharactermanager.cpp index 57c4aa42..2ac46fd2 100644 --- a/LEGO1/lego/legoomni/src/common/legocharactermanager.cpp +++ b/LEGO1/lego/legoomni/src/common/legocharactermanager.cpp @@ -16,6 +16,7 @@ #include "roi/legolod.h" #include "viewmanager/viewmanager.h" +#include #include DECOMP_SIZE_ASSERT(LegoCharacter, 0x08) diff --git a/LEGO1/lego/legoomni/src/common/legoutils.cpp b/LEGO1/lego/legoomni/src/common/legoutils.cpp index 8037b901..4f9deefc 100644 --- a/LEGO1/lego/legoomni/src/common/legoutils.cpp +++ b/LEGO1/lego/legoomni/src/common/legoutils.cpp @@ -32,6 +32,7 @@ #include #include +#include #include #include diff --git a/LEGO1/lego/legoomni/src/entity/legoentity.cpp b/LEGO1/lego/legoomni/src/entity/legoentity.cpp index 731fa70c..f6c4a200 100644 --- a/LEGO1/lego/legoomni/src/entity/legoentity.cpp +++ b/LEGO1/lego/legoomni/src/entity/legoentity.cpp @@ -18,6 +18,8 @@ #include "mxutilities.h" #include "realtime/realtime.h" +#include + DECOMP_SIZE_ASSERT(LegoEntity, 0x68) // FUNCTION: LEGO1 0x100105f0 diff --git a/LEGO1/lego/legoomni/src/entity/legoworldpresenter.cpp b/LEGO1/lego/legoomni/src/entity/legoworldpresenter.cpp index 8a4eabec..fa2c183b 100644 --- a/LEGO1/lego/legoomni/src/entity/legoworldpresenter.cpp +++ b/LEGO1/lego/legoomni/src/entity/legoworldpresenter.cpp @@ -27,6 +27,8 @@ #include "mxstl/stlcompat.h" #include "mxutilities.h" +#include + DECOMP_SIZE_ASSERT(LegoWorldPresenter, 0x54) // GLOBAL: LEGO1 0x100f75d4 diff --git a/LEGO1/lego/legoomni/src/race/carrace.cpp b/LEGO1/lego/legoomni/src/race/carrace.cpp index c979db0b..e3f38cb8 100644 --- a/LEGO1/lego/legoomni/src/race/carrace.cpp +++ b/LEGO1/lego/legoomni/src/race/carrace.cpp @@ -23,6 +23,8 @@ #include "mxvariabletable.h" #include "scripts.h" +#include + DECOMP_SIZE_ASSERT(CarRace, 0x154) // GLOBAL: LEGO1 0x100d5d10 diff --git a/LEGO1/lego/legoomni/src/race/jetskirace.cpp b/LEGO1/lego/legoomni/src/race/jetskirace.cpp index d8f9323d..2bdcd095 100644 --- a/LEGO1/lego/legoomni/src/race/jetskirace.cpp +++ b/LEGO1/lego/legoomni/src/race/jetskirace.cpp @@ -22,6 +22,8 @@ #include "mxvariabletable.h" #include "scripts.h" +#include + // Defined in legopathstruct.cpp extern MxBool g_unk0x100f119c; diff --git a/LEGO1/lego/legoomni/src/race/legoracers.cpp b/LEGO1/lego/legoomni/src/race/legoracers.cpp index 15d6e66e..0d0fbb0f 100644 --- a/LEGO1/lego/legoomni/src/race/legoracers.cpp +++ b/LEGO1/lego/legoomni/src/race/legoracers.cpp @@ -19,6 +19,8 @@ #include "mxvariabletable.h" #include "raceskel.h" +#include + DECOMP_SIZE_ASSERT(EdgeReference, 0x08) DECOMP_SIZE_ASSERT(SkeletonKickPhase, 0x10) DECOMP_SIZE_ASSERT(LegoRaceCar, 0x200) diff --git a/LEGO1/lego/legoomni/src/video/legoanimpresenter.cpp b/LEGO1/lego/legoomni/src/video/legoanimpresenter.cpp index c827043f..39df4a50 100644 --- a/LEGO1/lego/legoomni/src/video/legoanimpresenter.cpp +++ b/LEGO1/lego/legoomni/src/video/legoanimpresenter.cpp @@ -26,6 +26,8 @@ #include "realtime/realtime.h" #include "viewmanager/viewmanager.h" +#include + DECOMP_SIZE_ASSERT(LegoAnimPresenter, 0xbc) // FUNCTION: LEGO1 0x10068420 diff --git a/LEGO1/lego/legoomni/src/worlds/act3.cpp b/LEGO1/lego/legoomni/src/worlds/act3.cpp index 170343fd..80b635b0 100644 --- a/LEGO1/lego/legoomni/src/worlds/act3.cpp +++ b/LEGO1/lego/legoomni/src/worlds/act3.cpp @@ -23,6 +23,7 @@ #include "mxtransitionmanager.h" #include "scripts.h" +#include #include DECOMP_SIZE_ASSERT(Act3, 0x4274)