mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-04 00:38:59 -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:
@@ -2,7 +2,7 @@
|
||||
#ifndef F_PC_CREATE_ITER_H_
|
||||
#define F_PC_CREATE_ITER_H_
|
||||
|
||||
#include <dolphin/types.h>
|
||||
#include <types.h>
|
||||
|
||||
typedef struct create_tag create_tag;
|
||||
|
||||
|
||||
@@ -2,7 +2,11 @@
|
||||
#ifndef F_PC_DEBUG_SV_H_
|
||||
#define F_PC_DEBUG_SV_H_
|
||||
|
||||
#include <dolphin/dolphin.h>
|
||||
#ifdef __REVOLUTION_SDK__
|
||||
#include <revolution.h>
|
||||
#else
|
||||
#include <dolphin.h>
|
||||
#endif
|
||||
|
||||
#if DEBUG
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#ifndef F_PC_DELETOR_H_
|
||||
#define F_PC_DELETOR_H_
|
||||
|
||||
#include <dolphin/types.h>
|
||||
#include <types.h>
|
||||
|
||||
typedef struct base_process_class base_process_class;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef F_PC_DRAW_H_
|
||||
#define F_PC_DRAW_H_
|
||||
|
||||
#include <dolphin/types.h>
|
||||
#include <types.h>
|
||||
|
||||
typedef struct base_process_class base_process_class;
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#ifndef F_PC_DRAW_PRIORITY_H_
|
||||
#define F_PC_DRAW_PRIORITY_H_
|
||||
|
||||
#include <dolphin/types.h>
|
||||
#include <types.h>
|
||||
|
||||
typedef struct draw_priority_class {
|
||||
s16 priority;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef F_PC_LAYER_ITER_H_
|
||||
#define F_PC_LAYER_ITER_H_
|
||||
|
||||
#include <dolphin/types.h>
|
||||
#include <types.h>
|
||||
|
||||
typedef struct layer_class layer_class;
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#ifndef F_PC_LOAD_H_
|
||||
#define F_PC_LOAD_H_
|
||||
|
||||
#include <dolphin/types.h>
|
||||
#include <types.h>
|
||||
|
||||
BOOL fpcLd_Use(s16 i_procName);
|
||||
BOOL fpcLd_IsLoaded(s16 i_procName);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef F_PC_METHOD_H_
|
||||
#define F_PC_METHOD_H_
|
||||
|
||||
#include <dolphin/types.h>
|
||||
#include <types.h>
|
||||
|
||||
typedef int (*process_method_func)(void*);
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#ifndef F_PC_METHOD_ITER_H_
|
||||
#define F_PC_METHOD_ITER_H_
|
||||
|
||||
#include <dolphin/types.h>
|
||||
#include <types.h>
|
||||
|
||||
typedef struct node_list_class node_list_class;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef F_PC_PAUSE_
|
||||
#define F_PC_PAUSE_
|
||||
|
||||
#include <dolphin/types.h>
|
||||
#include <types.h>
|
||||
|
||||
int fpcPause_IsEnable(void* pProc, u8 expected);
|
||||
int fpcPause_Enable(void* pProc, u8 pauseMask);
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#ifndef F_PC_PROFILE_H_
|
||||
#define F_PC_PROFILE_H_
|
||||
|
||||
#include <dolphin/types.h>
|
||||
#include <types.h>
|
||||
|
||||
typedef struct nodedraw_method_class nodedraw_method_class;
|
||||
typedef struct leafdraw_method_class leafdraw_method_class;
|
||||
|
||||
Reference in New Issue
Block a user