Reorganize library code into libs/ (#3119)

* Reorganize files into libs/{dolphin,JSystem,PowerPC_EABI_Support,revolution,TRK_MINNOW_DOLPHIN}

* Update configure.py and project.py for new libs structure

* Refactor `#include <dolphin/x.h>` -> `<x.h>`

* Remove `__REVOLUTION_SDK__` forwards from dolphin

* Fix dolphin/ references in revolution

* Wrap `#include <dolphin.h>` in `!__REVOLUTION_SDK__`

* Always build TRK against dolphin headers

* Resolve revolution SDK header resolution issues
This commit is contained in:
Luke Street
2026-03-01 15:35:36 -07:00
committed by GitHub
parent c9a46bd65b
commit 4df8ccc871
1740 changed files with 583 additions and 825 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef D_A_BALLOON_2D_H
#define D_A_BALLOON_2D_H
#include <dolphin/types.h>
#include <types.h>
#include "f_op/f_op_actor.h"
#include "SSystem/SComponent/c_phase.h"
#include "d/d_drawlist.h"
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef D_A_DOOR_BOSSL1_H
#define D_A_DOOR_BOSSL1_H
#include <dolphin/types.h>
#include <types.h>
#include "f_op/f_op_actor.h"
#include "d/d_bg_w.h"
#include "d/d_bg_s_acch.h"
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef D_A_DOOR_BOSSL5_H
#define D_A_DOOR_BOSSL5_H
#include <dolphin/types.h>
#include <types.h>
#include "f_op/f_op_actor.h"
#include "SSystem/SComponent/c_phase.h"
#include "d/d_bg_w.h"
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef D_A_DOOR_MBOSSL1_H
#define D_A_DOOR_MBOSSL1_H
#include <dolphin/types.h>
#include <types.h>
#include "f_op/f_op_actor.h"
#include "SSystem/SComponent/c_phase.h"
#include "d/d_bg_w.h"
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef D_A_DOOR_SHUTTER_H
#define D_A_DOOR_SHUTTER_H
#include <dolphin/types.h>
#include <types.h>
#include "f_op/f_op_actor.h"
#include "SSystem/SComponent/c_phase.h"
#include "d/d_bg_w.h"
+1 -1
View File
@@ -2,7 +2,7 @@
#define D_A_E_DB_LEAF_H
#include "d/d_com_inf_game.h"
#include <dolphin/types.h>
#include <types.h>
/**
* @ingroup actors-enemies
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef D_A_E_OCT_BG_H
#define D_A_E_OCT_BG_H
#include <dolphin/types.h>
#include <types.h>
#include "f_op/f_op_actor.h"
#include "d/d_bg_s_acch.h"
#include "Z2AudioLib/Z2Creature.h"
+1 -1
View File
@@ -4,7 +4,7 @@
#include "d/d_bg_s_acch.h"
#include "d/d_cc_d.h"
#include "d/d_msg_flow.h"
#include <dolphin/types.h>
#include <types.h>
#include "SSystem/SComponent/c_phase.h"
#include "f_op/f_op_actor_mng.h"
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef D_A_KYTAG12_H
#define D_A_KYTAG12_H
#include <dolphin/types.h>
#include <types.h>
#include "f_op/f_op_actor_mng.h"
/**
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef D_A_KYTAG13_H
#define D_A_KYTAG13_H
#include <dolphin/types.h>
#include <types.h>
#include "f_op/f_op_actor_mng.h"
/**
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef D_A_MOVIE_PLAYER_H
#define D_A_MOVIE_PLAYER_H
#include <dolphin/thp.h>
#include <thp.h>
#include "f_op/f_op_actor.h"
#include "d/d_drawlist.h"
+1 -1
View File
@@ -5,7 +5,7 @@
#include "d/actor/d_a_tag_escape.h"
#include "d/d_npc_lib.h"
#include "d/d_path.h"
#include <dolphin/types.h>
#include <types.h>
enum {
MdlMANa_e = 0,
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef D_A_NPC_TOBY_H
#define D_A_NPC_TOBY_H
#include <dolphin/types.h>
#include <types.h>
#include "d/actor/d_a_npc.h"
struct daNpc_Toby_HIOParam {
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef D_A_OBJ_AVALANCHE_H
#define D_A_OBJ_AVALANCHE_H
#include <dolphin/types.h>
#include <types.h>
#include "d/d_bg_s_movebg_actor.h"
#include "f_op/f_op_actor_mng.h"
+1 -1
View File
@@ -4,7 +4,7 @@
#include "SSystem/SComponent/c_phase.h"
#include "d/d_bg_s_acch.h"
#include "f_op/f_op_actor.h"
#include <dolphin/types.h>
#include <types.h>
class dBgW;
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef D_A_OBJ_BMWINDOW_H
#define D_A_OBJ_BMWINDOW_H
#include <dolphin/types.h>
#include <types.h>
#include "d/d_bg_s_movebg_actor.h"
#include "d/d_cc_d.h"
#include "f_op/f_op_actor_mng.h"
+1 -1
View File
@@ -2,7 +2,7 @@
#define D_A_OBJ_HATA_H
#include "SSystem/SComponent/c_phase.h"
#include <dolphin/types.h>
#include <types.h>
#include "f_op/f_op_actor.h"
/**
+1 -1
View File
@@ -5,7 +5,7 @@
#include "d/d_bg_s_movebg_actor.h"
#include "d/d_cc_d.h"
#include "d/d_particle.h"
#include <dolphin/types.h>
#include <types.h>
#include "f_op/f_op_actor_mng.h"
/**
+1 -1
View File
@@ -1,6 +1,6 @@
#ifndef D_A_PATH_LINE_H
#define D_A_PATH_LINE_H
#include <dolphin/types.h>
#include <types.h>
#endif /* D_A_PATH_LINE_H */
+1 -1
View File
@@ -2,7 +2,7 @@
#define D_A_PERU_H
#include "d/actor/d_a_tag_evtarea.h"
#include <dolphin/types.h>
#include <types.h>
#include "d/actor/d_a_npc.h"
#include "SSystem/SComponent/c_counter.h"
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef D_A_PPOLAMP_H
#define D_A_PPOLAMP_H
#include <dolphin/types.h>
#include <types.h>
#include "f_op/f_op_actor_mng.h"
/**
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef D_A_TAG_KMSG_H
#define D_A_TAG_KMSG_H
#include <dolphin/types.h>
#include <types.h>
#include "f_op/f_op_actor.h"
#include "f_op/f_op_actor_mng.h"
#include "d/d_msg_flow.h"
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef D_BG_D_BG_PC_H
#define D_BG_D_BG_PC_H
#include <dolphin/types.h>
#include <types.h>
struct sBgPc {
/* 0x00 */ u32 code0;
+1 -1
View File
@@ -3,7 +3,7 @@
#include "d/d_bg_w_base.h"
#include "JSystem/JHostIO/JORReflexible.h"
#include <dolphin/os.h>
#include <os.h>
#include "global.h"
class dBgW;
+2 -2
View File
@@ -4,8 +4,8 @@
#include "SSystem/SComponent/c_m3d_g_aab.h"
#include "SSystem/SComponent/c_sxyz.h"
#include "d/d_bg_w_base.h"
#include <dolphin/mtx.h>
#include <dolphin/types.h>
#include <mtx.h>
#include <types.h>
class cBgS_GrpPassChk;
class cBgS_PolyPassChk;
+1 -1
View File
@@ -4,7 +4,7 @@
#include "SSystem/SComponent/c_bg_s_poly_info.h"
#include "SSystem/SComponent/c_bg_w.h"
#include "SSystem/SComponent/c_m3d_g_pla.h"
#include <dolphin/gx.h>
#include <gx.h>
#include "f_pc/f_pc_base.h"
class cBgS_GndChk;
+1 -1
View File
@@ -2,7 +2,7 @@
#define D_CC_D_CC_UTY_H
#include "SSystem/SComponent/c_sxyz.h"
#include <dolphin/types.h>
#include <types.h>
class cCcD_Obj;
class fopAc_ac_c;
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef D_DEBUG_VIEWER_H
#define D_DEBUG_VIEWER_H
#include <dolphin/gx.h>
#include <gx.h>
#include "SSystem/SComponent/c_xyz.h"
#include "SSystem/SComponent/c_sxyz.h"
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef D_D_DOOR_PARAM2_H
#define D_D_DOOR_PARAM2_H
#include <dolphin/types.h>
#include <types.h>
class fopAc_ac_c;
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef D_EVENT_D_EVENT_LIB_H
#define D_EVENT_D_EVENT_LIB_H
#include <dolphin/types.h>
#include <types.h>
class fopAc_ac_c;
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef D_D_EYE_HL_H
#define D_D_EYE_HL_H
#include <dolphin/types.h>
#include <types.h>
class J3DModelData;
struct ResTIMG;
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef D_D_ITEM_H
#define D_D_ITEM_H
#include <dolphin/types.h>
#include <types.h>
class dEnemyItem_c {
public:
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef D_D_ITEM_DATA_H
#define D_D_ITEM_DATA_H
#include <dolphin/types.h>
#include <types.h>
struct dItem_itemInfo {
/* 0x0 */ u8 mShadowSize;
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef D_JPREVIEWER_H
#define D_JPREVIEWER_H
#include <dolphin/mtx.h>
#include <mtx.h>
#include "JSystem/JStudio/JStudio_JPreviewer/control.h"
namespace JStudio {
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef D_KANKYO_D_KANKYO_DATA_H
#define D_KANKYO_D_KANKYO_DATA_H
#include <dolphin/types.h>
#include <types.h>
struct color_RGB_class {
/* 0x0 */ u8 r;
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef D_KANKYO_D_KANKYO_RAIN_H
#define D_KANKYO_D_KANKYO_RAIN_H
#include <dolphin/mtx.h>
#include <mtx.h>
struct cXyz;
struct _GXColor;
+1 -1
View File
@@ -3,7 +3,7 @@
#include "JSystem/J3DGraphBase/J3DTevs.h"
#include "SSystem/SComponent/c_xyz.h"
#include <dolphin/types.h>
#include <types.h>
class dKy_tevstr_c {
public:
+2 -2
View File
@@ -2,8 +2,8 @@
#define D_D_LIB_H
#include "SSystem/SComponent/c_xyz.h"
#include <dolphin/mtx.h>
#include <dolphin/os.h>
#include <mtx.h>
#include <os.h>
class fopAc_ac_c;
+1 -1
View File
@@ -5,7 +5,7 @@
#include "d/d_msg_flow.h"
#include "d/d_menu_map_common.h"
#include "d/d_map_path_dmap.h"
#include <dolphin/types.h>
#include <types.h>
class CPaneMgr;
struct CSTControl;
+1 -1
View File
@@ -7,7 +7,7 @@
#include "d/d_menu_map_common.h"
#include "d/d_meter_haihai.h"
#include "d/d_pane_class.h"
#include <dolphin/types.h>
#include <types.h>
class dMsgScrnExplain_c;
+1 -1
View File
@@ -2,7 +2,7 @@
#define D_MENU_D_MENU_FMAP_MAP_H
#include "SSystem/SComponent/c_counter.h"
#include <dolphin/types.h>
#include <types.h>
#include <cstring>
#include "d/d_menu_fmap.h"
#include "d/d_map.h"
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef D_MENU_D_MENU_MAP_COMMON_H
#define D_MENU_D_MENU_MAP_COMMON_H
#include <dolphin/types.h>
#include <types.h>
class J2DPicture;
class JKRArchive;
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef D_MENU_D_MENU_WINDOW_HIO_H
#define D_MENU_D_MENU_WINDOW_HIO_H
#include <dolphin/types.h>
#include <types.h>
class dMw_DHIO_c {
public:
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef D_MSG_D_MSG_FLOW_H
#define D_MSG_D_MSG_FLOW_H
#include <dolphin/types.h>
#include <types.h>
enum {
NODETYPE_MESSAGE_e = 1,
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef D_MSG_D_MSG_OUT_FONT_H
#define D_MSG_D_MSG_OUT_FONT_H
#include <dolphin/types.h>
#include <types.h>
class J2DPicture;
class J2DTextBox;
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef MSG_SCRN_D_MSG_SCRN_ARROW_H
#define MSG_SCRN_D_MSG_SCRN_ARROW_H
#include <dolphin/types.h>
#include <types.h>
class J2DScreen;
class J2DAnmTransform;
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef MSG_SCRN_D_MSG_SCRN_ITEM_H
#define MSG_SCRN_D_MSG_SCRN_ITEM_H
#include <dolphin/types.h>
#include <types.h>
#include "d/d_msg_scrn_base.h"
class dMsgScrnArrow_c;
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef MSG_SCRN_D_MSG_SCRN_TALK_H
#define MSG_SCRN_D_MSG_SCRN_TALK_H
#include <dolphin/types.h>
#include <types.h>
#include "d/d_msg_scrn_base.h"
class dMsgScrnArrow_c;
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef D_PARTICLE_D_PARTICLE_NAME_H
#define D_PARTICLE_D_PARTICLE_NAME_H
#include <dolphin/types.h>
#include <types.h>
// Room scenes use a bit to specify an ID is from a room particle pack, not the common particle pack
#define dPa_RM(id) (0x8000 | (id))
+2 -2
View File
@@ -1,8 +1,8 @@
#ifndef D_D_PATH_H
#define D_D_PATH_H
#include <dolphin/types.h>
#include <dolphin/mtx.h>
#include <types.h>
#include <mtx.h>
class cBgS_PolyInfo;
struct cXyz;
+1 -1
View File
@@ -3,7 +3,7 @@
#include <cstring>
#include "SSystem/SComponent/c_xyz.h"
#include <dolphin/os.h>
#include <os.h>
#include "global.h"
#include "f_pc/f_pc_name.h"
#include "JSystem/JUtility/JUTAssert.h"
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef D_D_TRESURE_H
#define D_D_TRESURE_H
#include <dolphin/mtx.h>
#include <mtx.h>
class dTres_c {
public:
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef D_D_VIB_PATTERN_H
#define D_D_VIB_PATTERN_H
#include <dolphin/types.h>
#include <types.h>