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 -1
View File
@@ -4,7 +4,7 @@
#include "JSystem/J3DGraphBase/J3DStruct.h"
#include "JSystem/J3DGraphBase/J3DTevs.h"
#include "JSystem/J3DGraphBase/J3DTexture.h"
#include "dolphin/gx/GX.h"
#include "dolphin/gx/GXStruct.h"
#include "dolphin/mtx/mtx.h"
#include "dolphin/types.h"
+1 -1
View File
@@ -2,7 +2,7 @@
#define J3DSTRUCT_H
#include "SSystem/SComponent/c_xyz.h"
#include "dolphin/gx/GX.h"
#include "dolphin/gx/GXStruct.h"
#include "dolphin/types.h"
class J3DLightInfo {
@@ -2,6 +2,7 @@
#define J3DTEXTURE_H
#include "JSystem/JUtility/JUTTexture.h"
#include "dolphin/gx/GXEnum.h"
#include "dolphin/mtx/mtx.h"
#include "dolphin/mtx/mtx44.h"
#include "dolphin/types.h"
+3 -1
View File
@@ -1,10 +1,12 @@
#ifndef J3DVERTEX_H
#define J3DVERTEX_H
#include "dolphin/gx/GX.h"
#include "dolphin/gx/GXAttr.h"
#include "dolphin/gx/GXEnum.h"
#include "dolphin/mtx/vec.h"
#include "dolphin/types.h"
typedef struct _GXColor GXColor;
class J3DModel;
struct J3DAnmVtxColor;