summaryrefslogtreecommitdiff
path: root/include/d/cc
diff options
context:
space:
mode:
authorJcw87 <Jcw87@users.noreply.github.com>2023-05-12 12:10:14 -0700
committerGitHub <noreply@github.com>2023-05-12 12:10:14 -0700
commit221f40e6097dfe76c76602aa21aa07d5f760dce4 (patch)
treeb8f2549712927365bcffd13688729555a4276ff1 /include/d/cc
parent8c7cda85891b41cfdbce72ed4efb00292f34a16a (diff)
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
Diffstat (limited to 'include/d/cc')
-rw-r--r--include/d/cc/d_cc_mass_s.h1
-rw-r--r--include/d/cc/d_cc_s.h5
-rw-r--r--include/d/cc/d_cc_uty.h3
3 files changed, 7 insertions, 2 deletions
diff --git a/include/d/cc/d_cc_mass_s.h b/include/d/cc/d_cc_mass_s.h
index 9a0a0ec2cb..f420a789dd 100644
--- a/include/d/cc/d_cc_mass_s.h
+++ b/include/d/cc/d_cc_mass_s.h
@@ -3,6 +3,7 @@
#include "SSystem/SComponent/c_cc_d.h"
#include "dolphin/types.h"
+#include "global.h"
typedef void (*dCcMassS_ObjCallback)(fopAc_ac_c*, cXyz*, u32);
diff --git a/include/d/cc/d_cc_s.h b/include/d/cc/d_cc_s.h
index 7ad3000abe..d43a28bd5a 100644
--- a/include/d/cc/d_cc_s.h
+++ b/include/d/cc/d_cc_s.h
@@ -2,9 +2,12 @@
#define D_CC_D_CC_S_H
#include "SSystem/SComponent/c_cc_s.h"
-#include "d/cc/d_cc_d.h"
#include "d/cc/d_cc_mass_s.h"
#include "dolphin/types.h"
+#include "global.h"
+
+class dCcD_GObjInf;
+class dCcD_GStts;
class dCcS : public cCcS {
public:
diff --git a/include/d/cc/d_cc_uty.h b/include/d/cc/d_cc_uty.h
index 3e5cf8256a..7cab514f07 100644
--- a/include/d/cc/d_cc_uty.h
+++ b/include/d/cc/d_cc_uty.h
@@ -3,7 +3,8 @@
#include "d/com/d_com_inf_game.h"
#include "dolphin/types.h"
-#include "f_op/f_op_actor.h"
+
+class fopAc_ac_c;
enum dCcU_AtType {
/* 0x01 */ HIT_TYPE_LINK_NORMAL_ATTACK = 1,