From 221f40e6097dfe76c76602aa21aa07d5f760dce4 Mon Sep 17 00:00:00 2001 From: Jcw87 Date: Fri, 12 May 2023 12:10:14 -0700 Subject: Remove #includes from headers (#334) * add "global.h" to files that use it * add MSL_C includes to files that use them * remove dolphin includes from headers that don't need them * remove JSupport includes from headers that don't need them * remove JKernel includes from headers that don't need them * remove JUtility includes from headers that don't need them * remove J3D includes from headers that don't need them * remove J2D includes from headers that don't need them * remove JAudio2 includes from headers that don't need them * remove Z2AudioLib includes from headers that don't need them * remove JMessage includes from headers that don't need them * remove JParticle includes from headers that don't need them * remove SComponent includes from headers that don't need them * remove dol includes from headers that don't need them * sort includes --- libs/JSystem/J3DGraphLoader/J3DClusterLoader.cpp | 3 +-- libs/JSystem/J3DGraphLoader/J3DShapeFactory.cpp | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/JSystem/J3DGraphLoader') diff --git a/libs/JSystem/J3DGraphLoader/J3DClusterLoader.cpp b/libs/JSystem/J3DGraphLoader/J3DClusterLoader.cpp index 4bac4d2081..c332c292d5 100644 --- a/libs/JSystem/J3DGraphLoader/J3DClusterLoader.cpp +++ b/libs/JSystem/J3DGraphLoader/J3DClusterLoader.cpp @@ -5,6 +5,7 @@ #include "JSystem/J3DGraphLoader/J3DClusterLoader.h" #include "dol2asm.h" +#include "dolphin/os/OS.h" #include "dolphin/types.h" // @@ -58,7 +59,6 @@ extern "C" extern char const* const J3DClusterLoader__stringBase0; // SECTION_INIT void memcpy(); -extern "C" void OSReport(); extern "C" void* __nw__FUl(); extern "C" void* __nwa__FUl(); extern "C" void* __nwa__FUli(); @@ -69,7 +69,6 @@ extern "C" void func_8030A530(void* _this, void const*, void const*); extern "C" void func_8030A560(void* _this, void const*, void const*); extern "C" void __ct__13J3DDeformDataFv(); extern "C" void __ct__11J3DDeformerFP13J3DDeformData(); -extern "C" void DCStoreRange(); extern "C" void _savegpr_23(); extern "C" void _savegpr_26(); extern "C" void _restgpr_23(); diff --git a/libs/JSystem/J3DGraphLoader/J3DShapeFactory.cpp b/libs/JSystem/J3DGraphLoader/J3DShapeFactory.cpp index 6a21b67580..5447111907 100644 --- a/libs/JSystem/J3DGraphLoader/J3DShapeFactory.cpp +++ b/libs/JSystem/J3DGraphLoader/J3DShapeFactory.cpp @@ -10,6 +10,7 @@ #include "dol2asm.h" #include "dolphin/os/OS.h" #include "dolphin/types.h" +#include "global.h" // // Forward References: -- cgit v1.2.3