mirror of
https://github.com/encounter/tp.git
synced 2026-07-11 06:18:46 -07:00
m_Do_main / f_ap_game / f_op_actor debug work and misc (#2744)
* m_Do_main / f_ap_game debug stuff * revolution sdk compatibility * f_op_actor debug work * rename fopAcM_SetupActor to fopAcM_ct * fix build * fix jp/pal splits
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
#ifndef _DOLPHIN_AI_H_
|
||||
#define _DOLPHIN_AI_H_
|
||||
|
||||
#ifdef __REVOLUTION_SDK__
|
||||
#include <revolution/ai.h>
|
||||
#else
|
||||
#include <dolphin/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
@@ -48,3 +51,4 @@ void AIReset(void);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
#ifndef _DOLPHIN_AX_H_
|
||||
#define _DOLPHIN_AX_H_
|
||||
|
||||
#ifdef __REVOLUTION_SDK__
|
||||
#include <revolution/ax.h>
|
||||
#else
|
||||
#include <dolphin/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
@@ -322,4 +325,5 @@ extern u16 axDspSlave[AX_DSP_SLAVE_LENGTH];
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif // _DOLPHIN_AX_H_
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
#ifndef _DOLPHIN_AXART_H_
|
||||
#define _DOLPHIN_AXART_H_
|
||||
|
||||
#ifdef __REVOLUTION_SDK__
|
||||
#include <revolution/axart.h>
|
||||
#else
|
||||
#include <dolphin/types.h>
|
||||
#include <dolphin/ax.h>
|
||||
|
||||
@@ -221,4 +224,5 @@ void AXARTLpf(AXART_LPF*, AXVPB*);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif // _DOLPHIN_AXART_H_
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
#ifndef _DOLPHIN_AXFX_H_
|
||||
#define _DOLPHIN_AXFX_H_
|
||||
|
||||
#ifdef __REVOLUTION_SDK__
|
||||
#include <revolution/axfx.h>
|
||||
#else
|
||||
#include <dolphin/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
@@ -193,4 +196,5 @@ void AXFXReverbStdCallback(AXFX_BUFFERUPDATE* bufferUpdate, AXFX_REVERBSTD* reve
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif // _DOLPHIN_AXFX_H_
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
#ifndef _DOLPHIN_PPCARCH
|
||||
#define _DOLPHIN_PPCARCH
|
||||
|
||||
#ifdef __REVOLUTION_SDK__
|
||||
#include <revolution/base/PPCArch.h>
|
||||
#else
|
||||
#include "dolphin/types.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
@@ -539,4 +542,5 @@ void PMInstructions(void);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif // _DOLPHIN_PPCARCH
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
#ifndef _DOLPHIN_DB_H_
|
||||
#define _DOLPHIN_DB_H_
|
||||
|
||||
#ifdef __REVOLUTION_SDK__
|
||||
#include <revolution/db.h>
|
||||
#else
|
||||
#include <dolphin/types.h>
|
||||
#include <dolphin/db/DBInterface.h>
|
||||
|
||||
@@ -19,4 +22,5 @@ u32 DBRead(u8*, u32);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif // _DOLPHIN_DB_H_
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
#ifndef _DOLPHIN_DBINTERFACE_H_
|
||||
#define _DOLPHIN_DBINTERFACE_H_
|
||||
|
||||
#ifdef __REVOLUTION_SDK__
|
||||
#include <revolution/db/DBInterface.h>
|
||||
#else
|
||||
#include <dolphin/os.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
@@ -29,3 +32,4 @@ void __DBSetPresent(u32 value);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
#ifndef _DOLPHIN_H_
|
||||
#define _DOLPHIN_H_
|
||||
|
||||
#ifdef __REVOLUTION_SDK__
|
||||
#include <revolution/revolution.h>
|
||||
#else
|
||||
#include <dolphin/types.h>
|
||||
#include <dolphin/os.h>
|
||||
#include <dolphin/dsp.h>
|
||||
@@ -22,3 +25,4 @@
|
||||
#include <dolphin/si.h>
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
#ifndef _DOLPHIN_DSP_H_
|
||||
#define _DOLPHIN_DSP_H_
|
||||
|
||||
#ifdef __REVOLUTION_SDK__
|
||||
#include <revolution/dsp.h>
|
||||
#else
|
||||
#include <dolphin/os.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
@@ -55,3 +58,4 @@ DSPTaskInfo* __DSPGetCurrentTask(void);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
#ifndef _DOLPHIN_DVD_H_
|
||||
#define _DOLPHIN_DVD_H_
|
||||
|
||||
#ifdef __REVOLUTION_SDK__
|
||||
#include <revolution/dvd.h>
|
||||
#else
|
||||
#include <dolphin/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
@@ -234,3 +237,4 @@ void DVDDumpWaitingQueue(void);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
#ifndef _DOLPHIN_EXI_H_
|
||||
#define _DOLPHIN_EXI_H_
|
||||
|
||||
#ifdef __REVOLUTION_SDK__
|
||||
#include <revolution/exi.h>
|
||||
#else
|
||||
#include <dolphin/os.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
@@ -101,3 +104,4 @@ char* EXIGetTypeString(u32 type);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
#ifndef _DOLPHIN_GD_H_
|
||||
#define _DOLPHIN_GD_H_
|
||||
|
||||
#ifdef __REVOLUTION_SDK__
|
||||
#include <revolution/gd.h>
|
||||
#else
|
||||
#include <dolphin/gd/GDBase.h>
|
||||
#include <dolphin/gd/GDFile.h>
|
||||
#include <dolphin/gd/GDGeometry.h>
|
||||
@@ -12,3 +15,4 @@
|
||||
#include <dolphin/gd/GDTransform.h>
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
#ifndef _DOLPHIN_GD_BASE_H
|
||||
#define _DOLPHIN_GD_BASE_H
|
||||
|
||||
#ifdef __REVOLUTION_SDK__
|
||||
#include <revolution/gd/GDBase.h>
|
||||
#else
|
||||
#include <dolphin/types.h>
|
||||
#include <dolphin/gx/GXEnum.h>
|
||||
#include <dolphin/gx/GXCommandList.h>
|
||||
@@ -149,3 +152,4 @@ static inline u32 GDGetGDLObjOffset(const GDLObj* dl) {
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
#ifndef _DOLPHIN_GD_FILE_H
|
||||
#define _DOLPHIN_GD_FILE_H
|
||||
|
||||
#ifdef __REVOLUTION_SDK__
|
||||
#include <revolution/gd/GDFile.h>
|
||||
#else
|
||||
#include <dolphin/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
@@ -29,3 +32,4 @@ s32 GDReadDLFile(const char* fName, u32* numDLs, u32* numPLs, GDGList** DLDescAr
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
#ifndef _DOLPHIN_GD_GEOMETRY_H_
|
||||
#define _DOLPHIN_GD_GEOMETRY_H_
|
||||
|
||||
#ifdef __REVOLUTION_SDK__
|
||||
#include <revolution/gd/GDGeometry.h>
|
||||
#else
|
||||
#include <dolphin/gx/GXStruct.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
@@ -522,3 +525,4 @@ void GDSetCoPlanar(u8 enable);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
#ifndef _DOLPHIN_GD_INDIRECT_H_
|
||||
#define _DOLPHIN_GD_INDIRECT_H_
|
||||
|
||||
#ifdef __REVOLUTION_SDK__
|
||||
#include <revolution/gd/GDIndirect.h>
|
||||
#else
|
||||
#include <dolphin/types.h>
|
||||
#include <dolphin/gx/GXEnum.h>
|
||||
#include <dolphin/mtx.h>
|
||||
@@ -89,3 +92,4 @@ void __GDSetIndTexMask(u32 mask);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
#ifndef _DOLPHIN_GD_LIGHT_H_
|
||||
#define _DOLPHIN_GD_LIGHT_H_
|
||||
|
||||
#ifdef __REVOLUTION_SDK__
|
||||
#include <revolution/gd/GDLight.h>
|
||||
#else
|
||||
#include <dolphin/gx/GXEnum.h>
|
||||
#include <dolphin/gx/GXStruct.h>
|
||||
#include "global.h"
|
||||
@@ -72,3 +75,4 @@ inline static u16 __GDLightID2Offset(GXLightID id) {
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
#ifndef _DOLPHIN_GD_PIXEL_H
|
||||
#define _DOLPHIN_GD_PIXEL_H
|
||||
|
||||
#ifdef __REVOLUTION_SDK__
|
||||
#include <revolution/gd/GDPixel.h>
|
||||
#else
|
||||
#include <dolphin/gx/GXEnum.h>
|
||||
#include <dolphin/gx/GXStruct.h>
|
||||
|
||||
@@ -93,3 +96,4 @@ void GDSetDrawSync(u16 token);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
#ifndef _DOLPHIN_GD_TEV_H
|
||||
#define _DOLPHIN_GD_TEV_H
|
||||
|
||||
#ifdef __REVOLUTION_SDK__
|
||||
#include <revolution/gd/GDTev.h>
|
||||
#else
|
||||
#include <dolphin/gx/GXEnum.h>
|
||||
#include <dolphin/gx/GXStruct.h>
|
||||
|
||||
@@ -131,3 +134,4 @@ void GDSetTevOrder(GXTevStageID evenStage, GXTexCoordID coord0, GXTexMapID map0,
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
#ifndef _DOLPHIN_GD_TEXTURE_H
|
||||
#define _DOLPHIN_GD_TEXTURE_H
|
||||
|
||||
#ifdef __REVOLUTION_SDK__
|
||||
#include <revolution/gd/GDTexture.h>
|
||||
#else
|
||||
#include <dolphin/types.h>
|
||||
#include <dolphin/gx/GXEnum.h>
|
||||
|
||||
@@ -125,3 +128,4 @@ void GDLoadTlutRaw(u32 tlut_ptr_raw, u32 tmem_addr, GXTlutSize size);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user