d_a_obj_carry work, SETUP_ACTOR macro, header cleanup (#1885)

* d_a_obj_carry work, SETUP_ACTOR macro

* rm headers, add script

* progress

* macro rename, consistent spacing
This commit is contained in:
Pheenoh
2023-08-16 13:07:52 -06:00
committed by GitHub
parent c372915a50
commit f9380b3e05
4558 changed files with 741 additions and 6064 deletions
-1
View File
@@ -1,7 +1,6 @@
#ifndef C_API_H
#define C_API_H
#include "dolphin/types.h"
typedef void (*cAPIGph_Mthd)(void);
@@ -1,7 +1,6 @@
#ifndef C_API_GRAPHIC_H
#define C_API_GRAPHIC_H
#include "dolphin/types.h"
void cAPIGph_Painter(void);
void cAPIGph_BeforeOfDraw(void);
-1
View File
@@ -2,7 +2,6 @@
#define C_ANGLE_H
#include "SSystem/SComponent/c_xyz.h"
#include "dolphin/types.h"
class cSAngle {
private:
-1
View File
@@ -1,7 +1,6 @@
#ifndef C_BG_S_CHK_H
#define C_BG_S_CHK_H
#include "dolphin/types.h"
#include "dolphin/mtx/vec.h"
struct cBgD_Vtx_t : public Vec {};
@@ -4,7 +4,6 @@
#include "SSystem/SComponent/c_bg_s_chk.h"
#include "SSystem/SComponent/c_bg_s_poly_info.h"
#include "SSystem/SComponent/c_xyz.h"
#include "dolphin/types.h"
class cBgS_GndChk : public cBgS_Chk, public cBgS_PolyInfo {
public:
@@ -4,7 +4,6 @@
#include "SSystem/SComponent/c_bg_s_chk.h"
#include "SSystem/SComponent/c_bg_s_poly_info.h"
#include "SSystem/SComponent/c_m3d_g_lin.h"
#include "SSystem/SComponent/c_xyz.h"
#include "dolphin/types.h"
class cBgS_LinChk : public cBgS_Chk, public cBgS_PolyInfo {
@@ -3,7 +3,6 @@
#include "SSystem/SComponent/c_bg_s_chk.h"
#include "SSystem/SComponent/c_m3d_g_aab.h"
#include "SSystem/SComponent/c_xyz.h"
#include "dolphin/types.h"
struct cBgD_Vtx_t;
-1
View File
@@ -6,7 +6,6 @@
#include "SSystem/SComponent/c_m3d_g_cyl.h"
#include "SSystem/SComponent/c_m3d_g_sph.h"
#include "SSystem/SComponent/c_m3d_g_tri.h"
#include "global.h"
typedef struct _GXColor GXColor;
class fopAc_ac_c;
-1
View File
@@ -2,7 +2,6 @@
#define C_CC_S_H
#include "SSystem/SComponent/c_cc_d.h"
#include "dolphin/types.h"
#include "global.h"
enum WeightType {
-1
View File
@@ -1,7 +1,6 @@
#ifndef C_LIB_H_
#define C_LIB_H_
#include "MSL_C/math.h"
#include "SSystem/SComponent/c_xyz.h"
#include "dolphin/mtx/mtx.h"
-1
View File
@@ -1,7 +1,6 @@
#ifndef C_LIST_H
#define C_LIST_H
#include "dolphin/types.h"
typedef struct node_class node_class;
-1
View File
@@ -2,7 +2,6 @@
#define C_LIST_ITER_H
#include "SSystem/SComponent/c_node_iter.h"
#include "dolphin/types.h"
typedef struct node_list_class node_list_class;
-1
View File
@@ -2,7 +2,6 @@
#define C_M3D_G_AAB_H
#include "SSystem/SComponent/c_xyz.h"
#include "dolphin/types.h"
#include "global.h"
// Axis aligned bounding box
-2
View File
@@ -3,8 +3,6 @@
#include "SSystem/SComponent/c_m3d.h"
#include "SSystem/SComponent/c_m3d_g_lin.h"
#include "SSystem/SComponent/c_xyz.h"
#include "dolphin/types.h"
#include "global.h"
struct cM3dGCpsS {
-1
View File
@@ -3,7 +3,6 @@
#include "SSystem/SComponent/c_m3d.h"
#include "SSystem/SComponent/c_xyz.h"
#include "dolphin/types.h"
#include "global.h"
// Cylinder
-1
View File
@@ -2,7 +2,6 @@
#define C_M3D_G_LIN_H
#include "SSystem/SComponent/c_xyz.h"
#include "dolphin/mtx/vec.h"
#include "global.h"
// Line
-1
View File
@@ -3,7 +3,6 @@
#include "SSystem/SComponent/c_xyz.h"
#include "SSystem/SComponent/c_m3d.h"
#include "dolphin/types.h"
// Plane with a normal
class cM3dGPla {
-1
View File
@@ -3,7 +3,6 @@
#include "SSystem/SComponent/c_m3d.h"
#include "SSystem/SComponent/c_xyz.h"
#include "dolphin/types.h"
#include "global.h"
class cM3dGCyl;
-2
View File
@@ -1,9 +1,7 @@
#ifndef C_M3D_G_TRI_H_
#define C_M3D_G_TRI_H_
#include "SSystem/SComponent/c_m3d.h"
#include "SSystem/SComponent/c_m3d_g_pla.h"
#include "SSystem/SComponent/c_xyz.h"
#include "dolphin/types.h"
class cM3dGCyl;
+4 -1
View File
@@ -2,7 +2,6 @@
#define C_MATH_H
#include "JSystem/JMath/JMATrigonometric.h"
#include "dolphin/types.h"
s16 cM_rad2s(float rad);
u16 U_GetAtanTable(float, float);
@@ -45,4 +44,8 @@ inline f32 cM_sht2d(f32 v) {
return v * 0.005493164f;
}
inline f32 cM_s2rad(s16 x) {
return x * 9.58738e-05f;
}
#endif /* C_MATH_H */
-1
View File
@@ -1,7 +1,6 @@
#ifndef C_NODE_H
#define C_NODE_H
#include "dolphin/types.h"
typedef struct node_class {
struct node_class* mpPrevNode;
-1
View File
@@ -1,7 +1,6 @@
#ifndef C_NODE_ITER_H
#define C_NODE_ITER_H
#include "dolphin/types.h"
typedef struct node_class node_class;
-1
View File
@@ -1,7 +1,6 @@
#ifndef C_PHASE_H
#define C_PHASE_H
#include "dolphin/types.h"
typedef int (*cPhs__Handler)(void*);
-1
View File
@@ -2,7 +2,6 @@
#define C_SXYZ_H
#include "dolphin/mtx/vec.h"
#include "dolphin/types.h"
class csXyz : public SVec {
public:
-1
View File
@@ -2,7 +2,6 @@
#define C_TAG_ITER_H
#include "SSystem/SComponent/c_node_iter.h"
#include "dolphin/types.h"
typedef struct create_tag_class create_tag_class;
-1
View File
@@ -1,7 +1,6 @@
#ifndef C_TREE_H
#define C_TREE_H
#include "dolphin/types.h"
typedef struct node_class node_class;
typedef struct node_list_class node_list_class;
-1
View File
@@ -2,7 +2,6 @@
#define C_TREE_ITER_H
#include "SSystem/SComponent/c_node_iter.h"
#include "dolphin/types.h"
typedef struct node_lists_tree_class node_lists_tree_class;