mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-15 20:15:32 -04:00
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:
@@ -8,7 +8,7 @@
|
||||
#include "d/actor/d_a_bg_obj.h"
|
||||
#include "JSystem/J3DGraphBase/J3DMaterial.h"
|
||||
#include <cstdio>
|
||||
#include <dolphin/os.h>
|
||||
#include <os.h>
|
||||
#include <cstring>
|
||||
#include "d/actor/d_a_set_bgobj.h"
|
||||
#include "d/d_s_play.h"
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include "d/d_meter2_info.h"
|
||||
#include "d/d_timer.h"
|
||||
#include <dolphin/types.h>
|
||||
#include <types.h>
|
||||
#include <cstring>
|
||||
#include "f_op/f_op_actor_mng.h"
|
||||
#include "f_op/f_op_camera_mng.h"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include "d/dolzel_rel.h" // IWYU pragma: keep
|
||||
|
||||
#include <dolphin/types.h>
|
||||
#include <types.h>
|
||||
|
||||
#include "d/actor/d_a_e_oct_bg.h"
|
||||
#include "f_op/f_op_actor_mng.h"
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
#include "JSystem/J3DGraphBase/J3DMaterial.h"
|
||||
#include "d/actor/d_a_player.h"
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include <dolphin/gf/GFGeometry.h>
|
||||
#include <dolphin/gf/GFLight.h>
|
||||
#include <gf/GFGeometry.h>
|
||||
#include <gf/GFLight.h>
|
||||
#include "m_Do/m_Do_lib.h"
|
||||
|
||||
static BOOL daMirror_c_createHeap(fopAc_ac_c* i_this) {
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
#include "d/d_msg_object.h"
|
||||
#include "f_op/f_op_actor.h"
|
||||
#include "f_op/f_op_camera_mng.h"
|
||||
#include <dolphin/types.h>
|
||||
#include <types.h>
|
||||
#include <cstring>
|
||||
|
||||
daNpc_Maro_c::actionFunc dummy_lit_3931() {
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
#include "d/actor/d_a_npc_wrestler.h"
|
||||
#include "d/d_timer.h"
|
||||
#include <dolphin/types.h>
|
||||
#include <types.h>
|
||||
#include <cstring>
|
||||
#include "d/actor/d_a_tag_arena.h"
|
||||
#include "d/actor/d_a_npc_gra.h"
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include "f_op/f_op_actor_mng.h"
|
||||
#include "m_Do/m_Do_ext.h"
|
||||
#include "m_Do/m_Do_mtx.h"
|
||||
#include <dolphin/types.h>
|
||||
#include <types.h>
|
||||
#include <cstring>
|
||||
|
||||
daObj_Maki_HIO_c::daObj_Maki_HIO_c() {
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include "d/actor/d_a_obj_nameplate.h"
|
||||
#include "d/actor/d_a_alink.h"
|
||||
#include "d/d_a_obj.h"
|
||||
#include <dolphin/mtx.h>
|
||||
#include <mtx.h>
|
||||
#include "f_op/f_op_actor.h"
|
||||
#include "SSystem/SComponent/c_math.h"
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#include "d/actor/d_a_obj_smtile.h"
|
||||
#include "d/actor/d_a_tag_evtarea.h"
|
||||
#include "d/actor/d_a_tag_kmsg.h"
|
||||
#include <dolphin/types.h>
|
||||
#include <types.h>
|
||||
#include <cstring>
|
||||
#include "f_op/f_op_actor_mng.h"
|
||||
#include "f_op/f_op_msg.h"
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include "d/actor/d_a_obj_wind_stone.h"
|
||||
#include "d/actor/d_a_alink.h"
|
||||
#include "d/d_meter2_info.h"
|
||||
#include <dolphin/types.h>
|
||||
#include <types.h>
|
||||
|
||||
static int daWindStone_c_createHeap(fopAc_ac_c* i_this) {
|
||||
return static_cast<daWindStone_c*>(i_this)->createHeap();
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#include "JSystem/J3DGraphBase/J3DDrawBuffer.h"
|
||||
#include "SSystem/SComponent/c_lib.h"
|
||||
#include "f_op/f_op_overlap_mng.h"
|
||||
#include <dolphin/gf.h>
|
||||
#include <gf.h>
|
||||
#include <cstring>
|
||||
|
||||
#include "d/d_camera.h"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#include "d/dolzel.h" // IWYU pragma: keep
|
||||
|
||||
#include "d/d_com_inf_actor.h"
|
||||
#include <dolphin/types.h>
|
||||
#include <types.h>
|
||||
|
||||
dComIfAc_info_c g_dComIfAc_gameInfo = {
|
||||
0, // field_0x0
|
||||
|
||||
+6
-2
@@ -1,8 +1,12 @@
|
||||
#include "d/dolzel.h" // IWYU pragma: keep
|
||||
|
||||
#include "d/d_kankyo.h"
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/gf/GFPixel.h>
|
||||
#ifdef __REVOLUTION_SDK__
|
||||
#include <revolution.h>
|
||||
#else
|
||||
#include <dolphin.h>
|
||||
#endif
|
||||
#include <gf/GFPixel.h>
|
||||
|
||||
#include "JSystem/JHostIO/JORFile.h"
|
||||
#include "JSystem/JHostIO/JORServer.h"
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
#include "d/d_item.h"
|
||||
#include "d/d_lib.h"
|
||||
#include "d/d_meter2_info.h"
|
||||
#include <dolphin/os.h>
|
||||
#include <os.h>
|
||||
#include <cstring>
|
||||
#include "m_Do/m_Do_graphic.h"
|
||||
#include "m_Do/m_Do_mtx.h"
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include "d/d_meter2_info.h"
|
||||
#include "d/d_meter_HIO.h"
|
||||
#include "d/d_msg_string.h"
|
||||
#include <dolphin/types.h>
|
||||
#include <types.h>
|
||||
#include <cstring>
|
||||
#include "m_Do/m_Do_controller_pad.h"
|
||||
#include "m_Do/m_Do_graphic.h"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include "d/dolzel.h" // IWYU pragma: keep
|
||||
|
||||
#include <dolphin/os.h>
|
||||
#include <os.h>
|
||||
#include "JSystem/J2DGraph/J2DAnmLoader.h"
|
||||
#include "JSystem/JKernel/JKRMemArchive.h"
|
||||
#include "d/d_com_inf_game.h"
|
||||
@@ -18,7 +18,7 @@
|
||||
#include "d/d_meter_haihai.h"
|
||||
#include "d/d_msg_string.h"
|
||||
#include "d/d_select_cursor.h"
|
||||
#include <dolphin/types.h>
|
||||
#include <types.h>
|
||||
#include "f_op/f_op_msg_mng.h"
|
||||
#include "m_Do/m_Do_controller_pad.h"
|
||||
#include "m_Do/m_Do_graphic.h"
|
||||
|
||||
Reference in New Issue
Block a user