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
+1
View File
@@ -1,6 +1,7 @@
#ifndef D_A_B_OB_H
#define D_A_B_OB_H
#include "Z2AudioLib/Z2Creature.h"
#include "d/cc/d_cc_uty.h"
#include "d/com/d_com_inf_game.h"
+2 -1
View File
@@ -1,12 +1,13 @@
#ifndef D_A_ARROW_H
#define D_A_ARROW_H
#include "f_op/f_op_actor_mng.h"
#include "d/a/d_a_player.h"
#include "d/d_procname.h"
#include "d/cc/d_cc_d.h"
#include "d/bg/d_bg_s_acch.h"
#include "d/bg/d_bg_s_lin_chk.h"
#include "d/particle/d_particle.h"
#include "f_op/f_op_actor_mng.h"
class daArrow_c : public fopAc_ac_c {
public:
@@ -4,6 +4,7 @@
#include "JSystem/J2DGraph/J2DScreen.h"
#include "Z2AudioLib/Z2SoundObject.h"
#include "d/bg/d_bg_s_acch.h"
#include "d/bg/d_bg_s_lin_chk.h"
#include "d/cc/d_cc_d.h"
#include "d/particle/d_particle_copoly.h"
#include "f_op/f_op_actor_mng.h"
+2
View File
@@ -1,8 +1,10 @@
#ifndef D_A_CSTAF_H
#define D_A_CSTAF_H
#include "Z2AudioLib/Z2Creature.h"
#include "d/bg/d_bg_s_movebg_actor.h"
#include "d/com/d_com_inf_game.h"
#include "d/particle/d_particle_copoly.h"
class daCstaF_c : public dBgS_MoveBgActor {
public:
@@ -2,6 +2,7 @@
#define D_A_CSTATUE_H
#include "SSystem/SComponent/c_phase.h"
#include "Z2AudioLib/Z2Creature.h"
#include "d/bg/d_bg_s_acch.h"
#include "d/cc/d_cc_d.h"
#include "d/particle/d_particle_copoly.h"
@@ -1,9 +1,11 @@
#ifndef D_A_GUARD_MNG_H
#define D_A_GUARD_MNG_H
#include "JSystem/JKernel/JKRHeap.h"
#include "d/a/d_a_player.h"
#include "d/com/d_com_inf_game.h"
#include "f_op/f_op_actor_mng.h"
#include "rel/d/a/tag/d_a_tag_guard/d_a_tag_guard.h"
#include "d/com/d_com_inf_game.h"
class daGuardMng_c : public fopAc_ac_c {
public:
+3
View File
@@ -2,7 +2,10 @@
#define D_A_HORSE_H
#include "Z2AudioLib/Z2Creature.h"
#include "d/a/d_a_player.h"
#include "d/bg/d_bg_s.h"
#include "d/bg/d_bg_s_acch.h"
#include "d/bg/d_bg_s_lin_chk.h"
#include "d/cc/d_cc_d.h"
#include "d/msg/d_msg_flow.h"
#include "dolphin/types.h"
@@ -3,6 +3,8 @@
#include "d/com/d_com_inf_game.h"
class dMeterButton_c;
class daSkip2D_c : public fopAc_ac_c {
public:
daSkip2D_c() {
@@ -2,6 +2,7 @@
#define D_A_SPINNER_H
#include "d/com/d_com_inf_game.h"
#include "d/particle/d_particle_copoly.h"
#include "dolphin/types.h"
class daSpinner_c : public fopAc_ac_c {
+1
View File
@@ -1,6 +1,7 @@
#ifndef D_A_E_YK_H
#define D_A_E_YK_H
#include "Z2AudioLib/Z2Creature.h"
#include "dolphin/types.h"
#include "f_op/f_op_actor_mng.h"
#include "d/com/d_com_inf_game.h"
+1
View File
@@ -1,6 +1,7 @@
#ifndef D_A_E_YM_H
#define D_A_E_YM_H
#include "Z2AudioLib/Z2Creature.h"
#include "d/cc/d_cc_uty.h"
#include "d/com/d_com_inf_game.h"
@@ -5,6 +5,7 @@
#include "d/bg/d_bg_s_acch.h"
#include "d/cc/d_cc_d.h"
#include "dolphin/types.h"
#include "f_op/f_op_actor.h"
class daObjCarry_c : public fopAc_ac_c {
public:
@@ -3,6 +3,7 @@
#include "d/bg/d_bg_s_movebg_actor.h"
#include "d/com/d_com_inf_game.h"
#include "f_op/f_op_actor_mng.h"
class daObjBoard_c : public dBgS_MoveBgActor {
public:
@@ -3,6 +3,7 @@
#include "d/bg/d_bg_s_movebg_actor.h"
#include "d/com/d_com_inf_game.h"
#include "f_op/f_op_actor_mng.h"
class daObjMGate_c : public dBgS_MoveBgActor {
public:
@@ -3,6 +3,7 @@
#include "dolphin/types.h"
#include "d/com/d_com_inf_game.h"
#include "f_op/f_op_actor_mng.h"
enum {
OBJ_STONE_TYPE_SMALL = 0,
@@ -2,6 +2,7 @@
#define D_A_OBJ_YOBIKUSA_H
#include "d/com/d_com_inf_game.h"
#include "f_op/f_op_actor_mng.h"
class daObjYobikusa_c;
typedef void (daObjYobikusa_c::*actionFunc)();
@@ -2,6 +2,7 @@
#define D_A_TAG_CSTASW_H
#include "d/com/d_com_inf_game.h"
#include "f_op/f_op_actor_mng.h"
#include "m_Do/m_Do_hostIO.h"
class daTagCstaSw_c : public fopAc_ac_c {
@@ -1,6 +1,7 @@
#ifndef D_A_TAG_ARENA_H
#define D_A_TAG_ARENA_H
#include "JSystem/JKernel/JKRHeap.h"
#include "dolphin/types.h"
#include "f_op/f_op_actor_mng.h"
@@ -1,6 +1,7 @@
#ifndef D_A_TAG_ASSISTANCE_H
#define D_A_TAG_ASSISTANCE_H
#include "JSystem/JKernel/JKRHeap.h"
#include "dolphin/types.h"
#include "f_op/f_op_actor_mng.h"
#include "d/com/d_com_inf_game.h"
@@ -1,6 +1,7 @@
#ifndef D_A_TAG_GRA_H
#define D_A_TAG_GRA_H
#include "JSystem/JKernel/JKRHeap.h"
#include "dolphin/types.h"
#include "f_op/f_op_actor_mng.h"
#include "d/com/d_com_inf_game.h"

Some files were not shown because too many files have changed in this diff Show More