mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-08 12:16:17 -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:
@@ -1,7 +1,7 @@
|
||||
#ifndef C_API_CONTROLLER_PAD_
|
||||
#define C_API_CONTROLLER_PAD_
|
||||
|
||||
#include <dolphin/types.h>
|
||||
#include <types.h>
|
||||
|
||||
struct interface_of_controller_pad {
|
||||
/* 0x00 */ f32 mMainStickPosX;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef C_BG_S_CHK_H
|
||||
#define C_BG_S_CHK_H
|
||||
|
||||
#include <dolphin/mtx.h>
|
||||
#include <mtx.h>
|
||||
#include "f_pc/f_pc_base.h"
|
||||
#include "SSystem/SComponent/c_bg_s_grp_pass_chk.h"
|
||||
#include "SSystem/SComponent/c_bg_s_poly_pass_chk.h"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef C_BG_S_POLY_INFO_H
|
||||
#define C_BG_S_POLY_INFO_H
|
||||
|
||||
#include <dolphin/types.h>
|
||||
#include <types.h>
|
||||
#include "f_pc/f_pc_manager.h"
|
||||
|
||||
class cBgS_PolyInfo {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef C_BG_W_H
|
||||
#define C_BG_W_H
|
||||
|
||||
#include <dolphin/types.h>
|
||||
#include <types.h>
|
||||
|
||||
class cBgW_BgId {
|
||||
private:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef C_COUNTER_H
|
||||
#define C_COUNTER_H
|
||||
|
||||
#include <dolphin/types.h>
|
||||
#include <types.h>
|
||||
|
||||
struct counter_class {
|
||||
u32 mCounter0;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#define C_LIB_H_
|
||||
|
||||
#include "SSystem/SComponent/c_xyz.h"
|
||||
#include <dolphin/mtx.h>
|
||||
#include <mtx.h>
|
||||
#include "SSystem/SComponent/c_math.h"
|
||||
|
||||
inline bool cLib_IsZero(f32 value) {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#define C_M3D_H_
|
||||
|
||||
#include <cmath>
|
||||
#include <dolphin/mtx.h>
|
||||
#include <mtx.h>
|
||||
|
||||
class cM3dGAab;
|
||||
class cM3dGCps;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef C_M3D_G_CIR_H
|
||||
#define C_M3D_G_CIR_H
|
||||
|
||||
#include <dolphin/types.h>
|
||||
#include <types.h>
|
||||
|
||||
class cM2dGCir {
|
||||
public:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef C_MALLOC_H
|
||||
#define C_MALLOC_H
|
||||
|
||||
#include <dolphin/types.h>
|
||||
#include <types.h>
|
||||
|
||||
class JKRHeap;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef C_PHASE_H
|
||||
#define C_PHASE_H
|
||||
|
||||
#include <dolphin/types.h>
|
||||
#include <types.h>
|
||||
|
||||
typedef int (*cPhs__Handler)(void*);
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef C_REQUEST_H
|
||||
#define C_REQUEST_H
|
||||
|
||||
#include <dolphin/types.h>
|
||||
#include <types.h>
|
||||
|
||||
struct request_base_class {
|
||||
u8 flag0 : 1;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef C_SXYZ_H
|
||||
#define C_SXYZ_H
|
||||
|
||||
#include <dolphin/mtx.h>
|
||||
#include <mtx.h>
|
||||
|
||||
struct SVec {
|
||||
s16 x, y, z;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#define C_TAG_H
|
||||
|
||||
#include "SSystem/SComponent/c_node.h"
|
||||
#include <dolphin/types.h>
|
||||
#include <types.h>
|
||||
|
||||
typedef struct node_list_class node_list_class;
|
||||
typedef struct node_lists_tree_class node_lists_tree_class;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef C_XYZ_H
|
||||
#define C_XYZ_H
|
||||
|
||||
#include <dolphin/mtx.h>
|
||||
#include <mtx.h>
|
||||
#include <cmath>
|
||||
|
||||
struct cXyz : Vec {
|
||||
|
||||
Reference in New Issue
Block a user