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 --- src/msg/scrn/d_msg_scrn_base.cpp | 4 ++++ src/msg/scrn/d_msg_scrn_boss.cpp | 3 +++ src/msg/scrn/d_msg_scrn_explain.cpp | 3 +++ 3 files changed, 10 insertions(+) (limited to 'src/msg') diff --git a/src/msg/scrn/d_msg_scrn_base.cpp b/src/msg/scrn/d_msg_scrn_base.cpp index 25d3cce7db..0f43924468 100644 --- a/src/msg/scrn/d_msg_scrn_base.cpp +++ b/src/msg/scrn/d_msg_scrn_base.cpp @@ -4,9 +4,13 @@ // #include "msg/scrn/d_msg_scrn_base.h" +#include "JSystem/J2DGraph/J2DGrafContext.h" +#include "JSystem/J2DGraph/J2DScreen.h" #include "dol2asm.h" #include "dolphin/types.h" #include "d/msg/d_msg_object.h" +#include "d/msg/d_msg_out_font.h" +#include "d/pane/d_pane_class.h" /* 8023C0DC-8023C124 236A1C 0048+00 0/0 9/9 0/0 .text __ct__14dMsgScrnBase_cFv */ dMsgScrnBase_c::dMsgScrnBase_c() { diff --git a/src/msg/scrn/d_msg_scrn_boss.cpp b/src/msg/scrn/d_msg_scrn_boss.cpp index 88a1ac0556..ce74eed625 100644 --- a/src/msg/scrn/d_msg_scrn_boss.cpp +++ b/src/msg/scrn/d_msg_scrn_boss.cpp @@ -4,7 +4,10 @@ // #include "msg/scrn/d_msg_scrn_boss.h" +#include "JSystem/J2DGraph/J2DGrafContext.h" +#include "JSystem/J2DGraph/J2DScreen.h" #include "d/msg/d_msg_object.h" +#include "d/pane/d_pane_class.h" #include "dol2asm.h" #include "dolphin/types.h" diff --git a/src/msg/scrn/d_msg_scrn_explain.cpp b/src/msg/scrn/d_msg_scrn_explain.cpp index 5da4c77dbb..0e3f1de984 100644 --- a/src/msg/scrn/d_msg_scrn_explain.cpp +++ b/src/msg/scrn/d_msg_scrn_explain.cpp @@ -5,7 +5,10 @@ #include "msg/scrn/d_msg_scrn_explain.h" #include "MSL_C/stdio.h" +#include "d/com/d_com_inf_game.h" +#include "d/meter/d_meter2_info.h" #include "dol2asm.h" +#include "dolphin/os/OS.h" #include "dolphin/types.h" // -- cgit v1.2.3