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
-3
View File
@@ -1,10 +1,7 @@
#ifndef F_OP_ACTOR_H_
#define F_OP_ACTOR_H_
#include "SSystem/SComponent/c_sxyz.h"
#include "SSystem/SComponent/c_xyz.h"
#include "d/kankyo/d_kankyo.h"
#include "dolphin/mtx/mtx.h"
#include "f_pc/f_pc_leaf.h"
#include "global.h"
-1
View File
@@ -1,7 +1,6 @@
#ifndef F_OP_ACTOR_ITER_H_
#define F_OP_ACTOR_ITER_H_
#include "dolphin/types.h"
typedef int (*fopAcIt_ExecutorFunc)(void*, void*);
typedef void* (*fopAcIt_JudgeFunc)(void*, void*);
+6 -3
View File
@@ -1,14 +1,17 @@
#ifndef F_OP_ACTOR_MNG_H_
#define F_OP_ACTOR_MNG_H_
#include "SSystem/SComponent/c_sxyz.h"
#include "SSystem/SComponent/c_xyz.h"
#include "dolphin/types.h"
#include "f_op/f_op_actor.h"
#include "f_op/f_op_actor_iter.h"
#include "f_pc/f_pc_manager.h"
#include "f_pc/f_pc_searcher.h"
#define fopAcM_SetupActor(ptr,ClassName) \
if (!fopAcM_CheckCondition(ptr, 8)) { \
new (ptr) ClassName(); \
fopAcM_OnCondition(ptr, 8); \
}
class J3DModelData; // placeholder
class JKRHeap;
class cM3dGPla;
-1
View File
@@ -2,7 +2,6 @@
#define F_OP_ACTOR_TAG_H_
#include "SSystem/SComponent/c_tag.h"
#include "dolphin/types.h"
u32 fopAcTg_ActorQTo(create_tag_class* pTag);
u32 fopAcTg_Init(create_tag_class* pTag, void* data);
-2
View File
@@ -2,8 +2,6 @@
#define F_F_OP_CAMERA_MNG_H_
#include "SSystem/SComponent/c_phase.h"
#include "SSystem/SComponent/c_sxyz.h"
#include "SSystem/SComponent/c_xyz.h"
#include "d/d_camera.h"
#include "dolphin/types.h"
#include "f_op/f_op_view.h"
-1
View File
@@ -2,7 +2,6 @@
#define F_OP_F_OP_KANKYO_H
#include "SSystem/SComponent/c_xyz.h"
#include "dolphin/types.h"
#include "f_pc/f_pc_leaf.h"
class kankyo_class : public leafdraw_class {
-1
View File
@@ -2,7 +2,6 @@
#define F_F_OP_KANKYO_MNG_H_
#include "SSystem/SComponent/c_xyz.h"
#include "dolphin/types.h"
#include "f_pc/f_pc_manager.h"
struct fopKyM_prm_class {
-1
View File
@@ -1,7 +1,6 @@
#ifndef F_F_OP_OVERLAP_H_
#define F_F_OP_OVERLAP_H_
#include "dolphin/types.h"
static s32 fopOvlp_Draw(void* param_1);
-1
View File
@@ -2,7 +2,6 @@
#define F_F_OP_OVERLAP_REQ_H_
#include "SSystem/SComponent/c_phase.h"
#include "dolphin/types.h"
typedef struct layer_class layer_class;
struct request_base_class;
-1
View File
@@ -1,7 +1,6 @@
#ifndef F_F_OP_SCENE_H_
#define F_F_OP_SCENE_H_
#include "dolphin/types.h"
#include "f_op/f_op_scene_tag.h"
#include "f_pc/f_pc_node.h"
-2
View File
@@ -1,8 +1,6 @@
#ifndef F_F_OP_SCENE_REQ_H_
#define F_F_OP_SCENE_REQ_H_
#include "SSystem/SComponent/c_phase.h"
#include "dolphin/types.h"
#include "f_pc/f_pc_node_req.h"
class scene_class;
-2
View File
@@ -1,8 +1,6 @@
#ifndef F_F_OP_SCENE_TAG_H_
#define F_F_OP_SCENE_TAG_H_
#include "SSystem/SComponent/c_list.h"
#include "dolphin/types.h"
#include "f_pc/f_pc_node.h"
#include "SSystem/SComponent/c_phase.h"
-1
View File
@@ -3,7 +3,6 @@
#include "SSystem/SComponent/c_xyz.h"
#include "dolphin/mtx/mtx.h"
#include "dolphin/types.h"
#include "f_pc/f_pc_leaf.h"
struct view_process_profile_definition {