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
This commit is contained in:
Jcw87
2023-05-12 12:10:14 -07:00
committed by GitHub
parent 8c7cda8589
commit 221f40e609
640 changed files with 1703 additions and 560 deletions
+5 -2
View File
@@ -3,8 +3,11 @@
#include "JSystem/JMessage/control.h"
#include "JSystem/JMessage/processor.h"
#include "d/msg/d_msg_out_font.h"
#include "f_op/f_op_msg.h"
#include "SSystem/SComponent/c_xyz.h"
class COutFont_c;
class J2DTextBox;
class JUTFont;
struct JMSMesgEntry_c {
/* 0x00 */ u32 mStringOffset;
+4 -1
View File
@@ -1,7 +1,10 @@
#ifndef D_MSG_D_MSG_FLOW_H
#define D_MSG_D_MSG_FLOW_H
#include "f_op/f_op_msg.h"
#include "dolphin/types.h"
class fopAc_ac_c;
class msg_class;
// all mesg_flow_node structs members might be wrong
struct mesg_flow_node {
+7 -3
View File
@@ -1,15 +1,19 @@
#ifndef D_MSG_D_MSG_OBJECT_H
#define D_MSG_D_MSG_OBJECT_H
#include "JSystem/J2DGraph/J2DTextBox.h"
#include "JSystem/JMessage/control.h"
#include "JSystem/JMessage/processor.h"
#include "JSystem/JMessage/resource.h"
#include "d/com/d_com_inf_game.h"
#include "d/msg/d_msg_class.h"
#include "f_op/f_op_msg.h"
class COutFont_c;
class J2DTextBox;
class JUTFont;
class dMsgScrnBase_c;
class dMsgString_c;
struct jmessage_tReference;
struct jmessage_tRenderingProcessor;
struct jmessage_tSequenceProcessor;
class dMsgObject_c : public msg_class {
public:
+3 -2
View File
@@ -2,8 +2,9 @@
#define D_MSG_D_MSG_OUT_FONT_H
#include "dolphin/types.h"
#include "JSystem/J2DGraph/J2DTextBox.h"
#include "JSystem/J2DGraph/J2DPicture.h"
class J2DPicture;
class J2DTextBox;
class COutFontSet_c {
public:
+3 -1
View File
@@ -2,7 +2,9 @@
#define D_MSG_D_MSG_STRING_H
#include "d/msg/d_msg_string_base.h"
#include "d/msg/d_msg_out_font.h"
class COutFont_c;
class JUTFont;
class dMsgString_c : public dMsgStringBase_c {
public:
+4 -1
View File
@@ -1,8 +1,11 @@
#ifndef D_MSG_D_MSG_STRING_BASE_H
#define D_MSG_D_MSG_STRING_BASE_H
#include "d/msg/d_msg_object.h"
#include "JSystem/JMessage/resource.h"
class COutFont_c;
class J2DTextBox;
class JUTFont;
struct jmessage_string_tControl;
struct jmessage_string_tReference;
struct jmessage_string_tSequenceProcessor;