Add #include <stdio.h> where necessary

This commit is contained in:
Christian Semmler 2024-12-16 14:11:58 -07:00
parent 9cf121a3fd
commit 69001fa3d5
17 changed files with 28 additions and 0 deletions

View File

@ -16,6 +16,7 @@
#include "roi/legoroi.h" #include "roi/legoroi.h"
#include <assert.h> #include <assert.h>
#include <stdio.h>
DECOMP_SIZE_ASSERT(Act3Actor, 0x178) DECOMP_SIZE_ASSERT(Act3Actor, 0x178)
DECOMP_SIZE_ASSERT(Act3Cop, 0x188) DECOMP_SIZE_ASSERT(Act3Cop, 0x188)

View File

@ -23,6 +23,8 @@
#include "mxvariabletable.h" #include "mxvariabletable.h"
#include "scripts.h" #include "scripts.h"
#include <stdio.h>
DECOMP_SIZE_ASSERT(Ambulance, 0x184) DECOMP_SIZE_ASSERT(Ambulance, 0x184)
DECOMP_SIZE_ASSERT(AmbulanceMissionState, 0x24) DECOMP_SIZE_ASSERT(AmbulanceMissionState, 0x24)

View File

@ -18,6 +18,8 @@
#include "mxtransitionmanager.h" #include "mxtransitionmanager.h"
#include "mxvariabletable.h" #include "mxvariabletable.h"
#include <stdio.h>
DECOMP_SIZE_ASSERT(DuneBuggy, 0x16c) DECOMP_SIZE_ASSERT(DuneBuggy, 0x16c)
// GLOBAL: LEGO1 0x100f7660 // GLOBAL: LEGO1 0x100f7660

View File

@ -16,6 +16,8 @@
#include "mxvariabletable.h" #include "mxvariabletable.h"
#include "scripts.h" #include "scripts.h"
#include <stdio.h>
DECOMP_SIZE_ASSERT(Jetski, 0x164) DECOMP_SIZE_ASSERT(Jetski, 0x164)
// GLOBAL: LEGO1 0x100f7ab8 // GLOBAL: LEGO1 0x100f7ab8

View File

@ -16,6 +16,8 @@
#include "mxtransitionmanager.h" #include "mxtransitionmanager.h"
#include "mxvariabletable.h" #include "mxvariabletable.h"
#include <stdio.h>
DECOMP_SIZE_ASSERT(Motocycle, 0x16c) DECOMP_SIZE_ASSERT(Motocycle, 0x16c)
// FUNCTION: LEGO1 0x100357b0 // FUNCTION: LEGO1 0x100357b0

View File

@ -20,6 +20,8 @@
#include "mxtransitionmanager.h" #include "mxtransitionmanager.h"
#include "mxvariabletable.h" #include "mxvariabletable.h"
#include <stdio.h>
DECOMP_SIZE_ASSERT(TowTrack, 0x180) DECOMP_SIZE_ASSERT(TowTrack, 0x180)
DECOMP_SIZE_ASSERT(TowTrackMissionState, 0x28) DECOMP_SIZE_ASSERT(TowTrackMissionState, 0x28)

View File

@ -31,6 +31,7 @@
#include "scripts.h" #include "scripts.h"
#include <isle.h> #include <isle.h>
#include <stdio.h>
#include <vec.h> #include <vec.h>
// Names and values verified by BETA10 0x1006d742. // Names and values verified by BETA10 0x1006d742.

View File

@ -29,6 +29,7 @@
#include "viewmanager/viewmanager.h" #include "viewmanager/viewmanager.h"
#include <io.h> #include <io.h>
#include <stdio.h>
#include <vec.h> #include <vec.h>
DECOMP_SIZE_ASSERT(LegoAnimationManager, 0x500) DECOMP_SIZE_ASSERT(LegoAnimationManager, 0x500)

View File

@ -16,6 +16,7 @@
#include "roi/legolod.h" #include "roi/legolod.h"
#include "viewmanager/viewmanager.h" #include "viewmanager/viewmanager.h"
#include <stdio.h>
#include <vec.h> #include <vec.h>
DECOMP_SIZE_ASSERT(LegoCharacter, 0x08) DECOMP_SIZE_ASSERT(LegoCharacter, 0x08)

View File

@ -32,6 +32,7 @@
#include <SDL3/SDL_events.h> #include <SDL3/SDL_events.h>
#include <process.h> #include <process.h>
#include <stdio.h>
#include <string.h> #include <string.h>
#include <vec.h> #include <vec.h>

View File

@ -18,6 +18,8 @@
#include "mxutilities.h" #include "mxutilities.h"
#include "realtime/realtime.h" #include "realtime/realtime.h"
#include <stdio.h>
DECOMP_SIZE_ASSERT(LegoEntity, 0x68) DECOMP_SIZE_ASSERT(LegoEntity, 0x68)
// FUNCTION: LEGO1 0x100105f0 // FUNCTION: LEGO1 0x100105f0

View File

@ -27,6 +27,8 @@
#include "mxstl/stlcompat.h" #include "mxstl/stlcompat.h"
#include "mxutilities.h" #include "mxutilities.h"
#include <stdio.h>
DECOMP_SIZE_ASSERT(LegoWorldPresenter, 0x54) DECOMP_SIZE_ASSERT(LegoWorldPresenter, 0x54)
// GLOBAL: LEGO1 0x100f75d4 // GLOBAL: LEGO1 0x100f75d4

View File

@ -23,6 +23,8 @@
#include "mxvariabletable.h" #include "mxvariabletable.h"
#include "scripts.h" #include "scripts.h"
#include <stdio.h>
DECOMP_SIZE_ASSERT(CarRace, 0x154) DECOMP_SIZE_ASSERT(CarRace, 0x154)
// GLOBAL: LEGO1 0x100d5d10 // GLOBAL: LEGO1 0x100d5d10

View File

@ -22,6 +22,8 @@
#include "mxvariabletable.h" #include "mxvariabletable.h"
#include "scripts.h" #include "scripts.h"
#include <stdio.h>
// Defined in legopathstruct.cpp // Defined in legopathstruct.cpp
extern MxBool g_unk0x100f119c; extern MxBool g_unk0x100f119c;

View File

@ -19,6 +19,8 @@
#include "mxvariabletable.h" #include "mxvariabletable.h"
#include "raceskel.h" #include "raceskel.h"
#include <stdio.h>
DECOMP_SIZE_ASSERT(EdgeReference, 0x08) DECOMP_SIZE_ASSERT(EdgeReference, 0x08)
DECOMP_SIZE_ASSERT(SkeletonKickPhase, 0x10) DECOMP_SIZE_ASSERT(SkeletonKickPhase, 0x10)
DECOMP_SIZE_ASSERT(LegoRaceCar, 0x200) DECOMP_SIZE_ASSERT(LegoRaceCar, 0x200)

View File

@ -26,6 +26,8 @@
#include "realtime/realtime.h" #include "realtime/realtime.h"
#include "viewmanager/viewmanager.h" #include "viewmanager/viewmanager.h"
#include <stdio.h>
DECOMP_SIZE_ASSERT(LegoAnimPresenter, 0xbc) DECOMP_SIZE_ASSERT(LegoAnimPresenter, 0xbc)
// FUNCTION: LEGO1 0x10068420 // FUNCTION: LEGO1 0x10068420

View File

@ -23,6 +23,7 @@
#include "mxtransitionmanager.h" #include "mxtransitionmanager.h"
#include "scripts.h" #include "scripts.h"
#include <stdio.h>
#include <vec.h> #include <vec.h>
DECOMP_SIZE_ASSERT(Act3, 0x4274) DECOMP_SIZE_ASSERT(Act3, 0x4274)