mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-09-06 18:41:00 -04:00
ntsc-beta, pal-beta and pal-final: Introduce support for gcc
This commit is contained in:
@@ -287,5 +287,7 @@ extern u8 g_AmBotCommands[16];
|
||||
extern struct mpsetup g_MpSetup;
|
||||
extern struct bossfile g_BossFile;
|
||||
extern struct chrdata *g_MpBotChrPtrs[MAX_BOTS];
|
||||
extern s32 var8009d140jf;
|
||||
extern s32 var8009d370jf;
|
||||
|
||||
#endif
|
||||
|
||||
@@ -9,6 +9,8 @@ u32 dprint();
|
||||
s32 debug0f11ed70(void);
|
||||
bool debugIsBgRenderingEnabled(void);
|
||||
bool debugIsPropRenderingEnabled(void);
|
||||
bool debug0f11990cnb(void);
|
||||
bool debugIsManPosEnabled(void);
|
||||
bool debug0f11edb0(void);
|
||||
bool debugIsObjDeformDebugEnabled(void);
|
||||
bool debugIsRoomStateDebugEnabled(void);
|
||||
@@ -16,6 +18,8 @@ s32 debugIsTurboModeEnabled(void);
|
||||
bool debugForceAllObjectivesComplete(void);
|
||||
bool debugIsZBufferDisabled(void);
|
||||
bool debug0f11ee40(void);
|
||||
bool debug0f1199f0nb(void);
|
||||
bool debug0f119a14nb(void);
|
||||
s32 debugGetSlowMotion(void);
|
||||
s32 debugGetTilesDebugMode(void);
|
||||
s32 debugGetPadsDebugMode(void);
|
||||
@@ -23,9 +27,14 @@ bool debug0f11eea8(void);
|
||||
bool debugDangerousProps(void);
|
||||
s32 debugGetMotionBlur(void);
|
||||
bool debugIsFootstepsEnabled(void);
|
||||
bool debugIsAllChallengesEnabled(void);
|
||||
bool debugIsAllBuddiesEnabled(void);
|
||||
bool debugIsSetCompleteEnabled(void);
|
||||
bool debugIsAllTrainingEnabled(void);
|
||||
bool debugAllowEndLevel(void);
|
||||
bool debugIsChrStatsEnabled(void);
|
||||
bool debug0f11ef80(void);
|
||||
bool debugIsMemInfoEnabled(void);
|
||||
|
||||
s32 dmenuGetSelectedOption(void);
|
||||
void dmenuSetSelectedOption(s32 option);
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
#include "data.h"
|
||||
#include "types.h"
|
||||
|
||||
extern u8 *g_LangBuffer;
|
||||
|
||||
void langInit(void);
|
||||
void langReset(s32 stagenum);
|
||||
void langTick(void);
|
||||
@@ -16,6 +18,7 @@ void langLoad(s32 bank);
|
||||
void langLoadToAddr(s32 bank, u8 *dst, s32 size);
|
||||
void langClearBank(s32 bank);
|
||||
char *langGet(s32 textid);
|
||||
void langReload(void);
|
||||
void langSetEuropean(u32 arg0);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -14,6 +14,8 @@ void func0f187fec(void);
|
||||
void mpPlayerSetDefaults(s32 playernum, bool autonames);
|
||||
void func0f1881d4(s32 index);
|
||||
void mpInit(void);
|
||||
void mpGetTeamsWithDefaultName(u8 *mask);
|
||||
void mpSetTeamNamesToDefault(u8 mask);
|
||||
void mpSetDefaultNamesIfEmpty(void);
|
||||
s32 mpCalculateTeamScoreLimit(void);
|
||||
void mpApplyLimits(void);
|
||||
|
||||
@@ -17,7 +17,7 @@ s32 pakSaveAtGuid(s8 device, s32 fileid, s32 filetype, u8 *body, s32 *outfileid,
|
||||
bool pakDeleteFile(s8 device, s32 fileid);
|
||||
s32 pakDeleteGameNote(s8 device, u16 company_code, u32 game_code, char *game_name, char *ext_name);
|
||||
s32 pak0f1168c4(s8 device, struct pakdata **arg1);
|
||||
u32 pakGetType(s8 device);
|
||||
s32 pakGetType(s8 device);
|
||||
s32 pakGetSerial(s8 device);
|
||||
void pak0f11698c(s8 device);
|
||||
void pak0f116994(void);
|
||||
@@ -66,6 +66,7 @@ s32 _pakCreateCameraFile(s8 device, s32 *outfileid);
|
||||
bool pakResizeNote(s8 device, s32 numpages);
|
||||
void pak0f1185e0(s8 device, s32 arg1, s32 arg2);
|
||||
u32 pak0f118674(s8 device, u32 filetype, s32 *outfileid);
|
||||
void pak0f1189d0(void);
|
||||
void paksInit(void);
|
||||
void pakCalculateChecksum(u8 *arg0, u8 *arg1, u16 *arg2);
|
||||
s32 _pakReadBodyAtGuid(s8 device, s32 fileid, u8 *body, s32 arg3);
|
||||
@@ -80,7 +81,13 @@ bool pakWriteBlankFile(s8 device, u32 offset, struct pakfileheader *header);
|
||||
bool pakRepairAsBlank(s8 device, u32 *offset, struct pakfileheader *header);
|
||||
s32 pakRepairFilesystem(s8 device);
|
||||
void pakCorrupt(void);
|
||||
|
||||
#if VERSION >= VERSION_NTSC_1_0
|
||||
bool pakCreateInitialFiles(s8 device);
|
||||
#else
|
||||
void pakCreateInitialFiles(s8 device);
|
||||
#endif
|
||||
|
||||
s32 pakFindMaxFileId(s8 device);
|
||||
void pakMergeBlanks(s8 device);
|
||||
void paksReset(void);
|
||||
|
||||
@@ -6,5 +6,6 @@ void bootPhase1(void);
|
||||
s32 bootGetMemSize(void);
|
||||
void *bootAllocateStack(s32 threadid, s32 size);
|
||||
void bootPhase2(void *arg);
|
||||
void bootCheckStackOverflow(void);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#define _IN_BOOT_SCHED_H
|
||||
#include <ultra64.h>
|
||||
#include <sched.h>
|
||||
#include "types.h"
|
||||
|
||||
void schedSetCrashEnable2(s32 enable);
|
||||
void schedAppendTasks(OSSched *sc, OSScTask *t);
|
||||
@@ -21,5 +22,6 @@ void schedIncrementWriteArtifacts(void);
|
||||
void schedIncrementFrontArtifacts(void);
|
||||
void schedUpdatePendingArtifacts(void);
|
||||
void schedConsiderScreenshot(void);
|
||||
void schedSetCrashedUnexpectedly(bool enable);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -5120,27 +5120,6 @@ struct var800aabb4 {
|
||||
/*0x00*/ u32 unk00;
|
||||
/*0x04*/ u32 unk04;
|
||||
/*0x08*/ u32 unk08;
|
||||
/*0x0c*/ u32 unk0c;
|
||||
/*0x10*/ u32 unk10;
|
||||
/*0x14*/ u32 unk14;
|
||||
/*0x18*/ u32 unk18;
|
||||
/*0x1c*/ u32 unk1c;
|
||||
/*0x20*/ u32 unk20;
|
||||
/*0x24*/ u32 unk24;
|
||||
/*0x28*/ u32 unk28;
|
||||
/*0x2c*/ u32 unk2c;
|
||||
/*0x30*/ u32 unk30;
|
||||
/*0x34*/ u32 unk34;
|
||||
/*0x38*/ u32 unk38;
|
||||
/*0x3c*/ u32 unk3c;
|
||||
/*0x40*/ u32 unk40;
|
||||
/*0x44*/ u32 unk44;
|
||||
/*0x48*/ u32 unk48;
|
||||
/*0x4c*/ u32 unk4c;
|
||||
/*0x50*/ u32 unk50;
|
||||
/*0x54*/ u32 unk54;
|
||||
/*0x58*/ u32 unk58;
|
||||
/*0x5c*/ u32 unk5c;
|
||||
};
|
||||
|
||||
struct var800aabb8 {
|
||||
|
||||
Reference in New Issue
Block a user