mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-29 03:34:07 +00:00
4940621679
* Decompile pausemgr.c * rename pausemgr to z_kaleido_setup * replace 0x4b with SCENE_BOWLING * fix conflict
2567 lines
115 KiB
C
2567 lines
115 KiB
C
#ifndef _FUNCTIONS_H_
|
|
#define _FUNCTIONS_H_
|
|
|
|
#include "z64.h"
|
|
|
|
float fabsf(float f);
|
|
#pragma intrinsic(fabsf)
|
|
float sqrtf(float f);
|
|
#pragma intrinsic(sqrtf)
|
|
double sqrt(double d);
|
|
#pragma intrinsic(sqrt)
|
|
|
|
void cleararena(void);
|
|
void bootproc(void);
|
|
void Main_ThreadEntry(void* arg0);
|
|
void Idle_ThreadEntry(void* a0);
|
|
void ViConfig_UpdateVi(u32 arg0);
|
|
void ViConfig_UpdateBlack();
|
|
s32 DmaMgr_CompareName(const char* name1, const char* name2);
|
|
s32 DmaMgr_DMARomToRam(u32 rom, u32 ram, u32 size);
|
|
s32 DmaMgr_DmaCallback0(OSPiHandle* pihandle, OSIoMesg* mb, s32 direction);
|
|
void DmaMgr_DmaCallback1(u32 ram, u32 rom, u32 size);
|
|
void DmaMgr_Error(DmaRequest* req, const char* file, const char* errorName, const char* errorDesc);
|
|
const char* DmaMgr_GetFileNameImpl(u32 vrom);
|
|
const char* DmaMgr_GetFileName(u32 vrom);
|
|
void DmaMgr_ProcessMsg(DmaRequest* req);
|
|
void DmaMgr_ThreadEntry(void* arg0);
|
|
s32 DmaMgr_SendRequestImpl(DmaRequest* req, u32 ram, u32 vrom, u32 size, u32 unk, OSMesgQueue* queue, OSMesg msg);
|
|
s32 DmaMgr_SendRequest0(u32 ram, u32 vrom, u32 size);
|
|
void DmaMgr_Start();
|
|
s32 DmaMgr_SendRequest2(DmaRequest* req, u32 ram, u32 vrom, u32 size, u32 unk5, OSMesgQueue* queue, OSMesg msg,
|
|
const char* file, s32 line);
|
|
s32 DmaMgr_SendRequest1(void* ram0, u32 vrom, u32 size, const char* file, s32 line);
|
|
void* Yaz0_FirstDMA();
|
|
void* Yaz0_NextDMA(void* curSrcPos);
|
|
void Yaz0_DecompressImpl(Yaz0Header* hdr, u8* dst);
|
|
void Yaz0_Decompress(u32 romStart, void* dst, u32 size);
|
|
void Locale_Init();
|
|
void Locale_ResetRegion();
|
|
u32 func_80001F48();
|
|
u32 func_80001F8C();
|
|
u32 Locale_IsRegionNative();
|
|
void __assert(const char* exp, const char* file, s32 line);
|
|
void isPrintfInit();
|
|
void osSyncPrintfUnused(const char* fmt, ...);
|
|
void osSyncPrintf(const char* fmt, ...);
|
|
void rmonPrintf(const char* fmt, ...);
|
|
u32 is_proutSyncPrintf(void* arg0, const char* str, s32 count);
|
|
void func_80002384(const char* exp, const char* file, u32 line);
|
|
OSPiHandle* osDriveRomInit();
|
|
void Mio0_Decompress(Yaz0Header* hdr, u8* dst);
|
|
void StackCheck_Init(StackEntry* entry, void* stackTop, void* stackBottom, u32 initValue, s32 minSpace,
|
|
const char* name);
|
|
void StackCheck_Cleanup(StackEntry* entry);
|
|
StackStatus StackCheck_GetState(StackEntry* entry);
|
|
u32 StackCheck_CheckAll();
|
|
u32 StackCheck_Check(StackEntry* entry);
|
|
float LogUtils_CheckFloatRange(const char* exp, s32 arg1, const char* var1Name, float var1, const char* var2Name,
|
|
float var2, const char* var3Name, float var3);
|
|
s32 LogUtils_CheckIntRange(const char* exp, s32 arg1, const char* var1Name, s32 var1, const char* var2Name, s32 var2,
|
|
const char* var3Name, s32 var3);
|
|
void LogUtils_LogHexDump(void* ptr, s32 size0);
|
|
void LogUtils_LogPointer(s32 value, u32 max, void* ptr, const char* name, const char* file, s32 line);
|
|
void LogUtils_CheckBoundary(const char* name, s32 value, s32 unk, const char* file, s32 line);
|
|
void LogUtils_CheckNullPointer(const char* exp, void* ptr, const char* file, s32 line);
|
|
void LogUtils_CheckValidPointer(const char* exp, void* ptr0, const char* file, s32 line);
|
|
void LogUtils_LogThreadId(const char* name, s32 line);
|
|
void LogUtils_HungupThread(const char* name, s32 line);
|
|
void LogUtils_ResetHungup();
|
|
char* proutSprintf(char* dst, const char* fmt, size_t size);
|
|
s32 vsprintf(char* dst, const char* fmt, va_list args);
|
|
s32 sprintf(char* dst, const char* fmt, ...);
|
|
void __osPiCreateAccessQueue(void);
|
|
void __osPiGetAccess(void);
|
|
void __osPiRelAccess(void);
|
|
s32 osSendMesg(OSMesgQueue* mq, OSMesg mesg, s32 flag);
|
|
void osStopThread(OSThread* thread);
|
|
void osViExtendVStart(u32 arg0);
|
|
s32 osRecvMesg(OSMesgQueue* mq, OSMesg* msg, s32 flag);
|
|
void __createSpeedParam(void);
|
|
void __osInitialize_common(void);
|
|
void __osInitialize_autodetect();
|
|
void __osExceptionPreamble();
|
|
// ? __osException(?);
|
|
void __osEnqueueAndYield(OSThread**);
|
|
void __osEnqueueThread(OSThread**, OSThread*);
|
|
OSThread* __osPopThread(OSThread**);
|
|
// ? __osNop(?);
|
|
void __osDispatchThread();
|
|
void __osCleanupThread(void);
|
|
void __osDequeueThread(OSThread** queue, OSThread* thread);
|
|
void osDestroyThread(OSThread* thread);
|
|
void bzero(void* __s, u32 __n);
|
|
void osCreateThread(OSThread* thread, OSId id, void (*entry)(void*), void* arg, void* sp, OSPri pri);
|
|
void __osSetSR(u32);
|
|
u32 __osGetSR();
|
|
void osWritebackDCache(void* vaddr, s32 nbytes);
|
|
void* osViGetNextFramebuffer();
|
|
void osCreatePiManager(OSPri pri, OSMesgQueue* cmdQ, OSMesg* cmdBuf, s32 cmdMsgCnt);
|
|
void __osDevMgrMain(void* arg);
|
|
s32 __osPiRawStartDma(s32 dir, u32 cart_addr, void* dram_addr, size_t size);
|
|
u32 osVirtualToPhysical(void* vaddr);
|
|
void osViBlack(u8 active);
|
|
s32 __osSiRawReadIo(void* a0, u32* a1);
|
|
OSId osGetThreadId(OSThread* thread);
|
|
OSIntMask osSetIntMask(OSIntMask);
|
|
void osViSetMode(OSViMode* mode);
|
|
u32 __osProbeTLB(void*);
|
|
u32 osGetMemSize(void);
|
|
void osSetEventMesg(OSEvent e, OSMesgQueue* mq, OSMesg msg);
|
|
s32 _Printf(char* (*pfn)(char*, const char*, size_t), char* arg, const char* fmt, va_list ap);
|
|
void osUnmapTLBAll(void);
|
|
s32 osEPiStartDma(OSPiHandle* handle, OSIoMesg* mb, s32 direction);
|
|
const u8* strchr(const u8* str, s32 ch);
|
|
size_t strlen(const u8* str);
|
|
void* memcpy(void* dst, const void* src, size_t size);
|
|
void osInvalICache(void* vaddr, s32 nbytes);
|
|
void osCreateMesgQueue(OSMesgQueue* mq, OSMesg* msg, s32 count);
|
|
void osInvalDCache(void* vaddr, s32 nbytes);
|
|
s32 __osSiDeviceBusy();
|
|
void osSetThreadPri(OSThread* thread, OSPri pri);
|
|
OSPri osGetThreadPri(OSThread* thread);
|
|
s32 __osEPiRawReadIo(OSPiHandle* handle, u32 devAddr, u32* data);
|
|
void osViSwapBuffer(void* vaddr);
|
|
s32 __osEPiRawStartDma(OSPiHandle* handle, s32 direction, u32 cartAddr, void* dramAddr, size_t size);
|
|
u32 bcmp(void* __sl, void* __s2, u32 __n);
|
|
OSTime osGetTime(void);
|
|
void __osTimerServicesInit();
|
|
void __osTimerInterrupt();
|
|
void __osSetTimerIntr(OSTime tim);
|
|
OSTime __osInsertTimer(OSTimer* a0);
|
|
u32 osGetCount(void);
|
|
void __osSetGlobalIntMask(u32 mask);
|
|
void __osSetCompare(u32);
|
|
void* bcopy(void* __src, void* __dest, u32 __n);
|
|
void __osResetGlobalIntMask(u32 mask);
|
|
s32 __osDisableInt(void);
|
|
void __osRestoreInt(s32);
|
|
void __osViInit();
|
|
void __osViSwapContext();
|
|
OSMesgQueue* osPiGetCmdQueue();
|
|
s32 osEPiReadIo(OSPiHandle* handle, u32 devAddr, u32* data);
|
|
void osViSetSpecialFeatures(u32 func);
|
|
OSPiHandle* osCartRomInit();
|
|
void __osSetFpcCsr(u32);
|
|
u32 __osGetFpcCsr();
|
|
s32 osEPiWriteIo(OSPiHandle* handle, u32 devAddr, u32 data);
|
|
void osMapTLBRdb(void);
|
|
u32 __osGetCause();
|
|
s32 __osEPiRawWriteIo(OSPiHandle* handle, u32 devAddr, u32 data);
|
|
void osCreateViManager(OSPri pri);
|
|
void viMgrMain(void* vargs);
|
|
OSViContext* __osViGetCurrentContext();
|
|
void osStartThread(OSThread* thread);
|
|
void osViSetYScale(float scale);
|
|
void osViSetXScale(f32 value);
|
|
void __osSetHWIntrRoutine(s32 idx, OSMesgQueue* queue, OSMesg msg);
|
|
void __osGetHWIntrRoutine(s32 idx, OSMesgQueue** outQueue, OSMesg* outMsg);
|
|
void __osSetWatchLo(u32);
|
|
|
|
Actor* Item_DropCollectible(GlobalContext* globalCtx, Vec3f* spawnPos, s16 params);
|
|
Actor* Item_DropCollectible2(GlobalContext* globalCtx, Vec3f* spawnPos, s16 params);
|
|
void Item_DropCollectibleRandom(GlobalContext* globalCtx, Actor* fromActor, Vec3f* spawnPos, s16 params);
|
|
void EffectBlure_AddVertex(EffectBlure* this, Vec3f* p1, Vec3f* p2);
|
|
void EffectBlure_AddSpace(EffectBlure* this);
|
|
void EffectBlure_Init1(void* thisx, void* initParamsx);
|
|
void EffectBlure_Init2(void* thisx, void* initParamsx);
|
|
void EffectBlure_Destroy(void* thisx);
|
|
s32 EffectBlure_Update(void* thisx);
|
|
void EffectBlure_Draw(void* thisx, GraphicsContext* gfxCtx);
|
|
void EffectShieldParticle_Init(void* thisx, void* initParamsx);
|
|
void EffectShieldParticle_Destroy(void* thisx);
|
|
s32 EffectShieldParticle_Update(void* thisx);
|
|
void EffectShieldParticle_Draw(void* thisx, GraphicsContext* gfxCtx);
|
|
void EffectSpark_Init(void* thisx, void* initParamsx);
|
|
void EffectSpark_Destroy(void* thisx);
|
|
s32 EffectSpark_Update(void* thisx);
|
|
void EffectSpark_Draw(void* thisx, GraphicsContext* gfxCtx);
|
|
void func_80026230(GlobalContext* globalCtx, Color_RGBA8* color, s16 arg2, s16 arg3);
|
|
void func_80026400(GlobalContext* globalCtx, Color_RGBA8* color, s16 arg2, s16 arg3);
|
|
void func_80026608(GlobalContext* globalCtx);
|
|
void func_80026690(GlobalContext* globalCtx, Color_RGBA8* color, s16 arg2, s16 arg3);
|
|
void func_80026860(GlobalContext* globalCtx, Color_RGBA8* color, s16 arg2, s16 arg3);
|
|
void func_80026A6C(GlobalContext* globalCtx);
|
|
GlobalContext* Effect_GetGlobalCtx(void);
|
|
void* Effect_GetByIndex(s32 index);
|
|
void Effect_InitContext(GlobalContext* globalCtx);
|
|
void Effect_Add(GlobalContext* globalCtx, s32* pIndex, s32 type, u8 arg3, u8 arg4, void* initParams);
|
|
void Effect_DrawAll(GraphicsContext* gfxCtx);
|
|
void Effect_UpdateAll(GlobalContext* globalCtx);
|
|
void Effect_Delete(GlobalContext* globalCtx, s32 index);
|
|
void Effect_DeleteAll(GlobalContext* globalCtx);
|
|
void EffectSs_InitInfo(GlobalContext* globalCtx, s32 tableSize);
|
|
void EffectSs_ClearAll(GlobalContext* globalCtx);
|
|
void EffectSs_Delete(EffectSs* effectSs);
|
|
void EffectSs_Reset(EffectSs* effectSs);
|
|
void EffectSs_Insert(GlobalContext* globalCtx, EffectSs* effectSs);
|
|
void EffectSs_Spawn(GlobalContext* globalCtx, s32 type, s32 priority, void* initParams);
|
|
void EffectSs_UpdateAll(GlobalContext* globalCtx);
|
|
void EffectSs_DrawAll(GlobalContext* globalCtx);
|
|
s16 func_80027DD4(s16 arg0, s16 arg1, s32 arg2);
|
|
s16 func_80027E34(s16 arg0, s16 arg1, f32 arg2);
|
|
u8 func_80027E84(u8 arg0, u8 arg1, f32 arg2);
|
|
// ? func_80027F80(?);
|
|
// ? func_800281E8(?);
|
|
// ? func_8002829C(?);
|
|
// ? func_80028304(?);
|
|
// ? func_8002836C(?);
|
|
// ? func_800283D4(?);
|
|
// ? func_8002843C(?);
|
|
// ? func_800284A4(?);
|
|
// ? func_80028510(?);
|
|
// ? func_8002857C(?);
|
|
// ? func_800285EC(?);
|
|
// ? func_8002865C(?);
|
|
void func_800286CC(GlobalContext*, Vec3f*, Vec3f*, Vec3f*, s16, s16);
|
|
// ? func_8002873C(?);
|
|
// ? func_800287AC(?);
|
|
// ? func_8002881C(?);
|
|
// ? func_80028858(?);
|
|
// ? func_80028894(?);
|
|
// ? func_80028990(?);
|
|
// ? func_80028A54(?);
|
|
// ? func_80028B18(?);
|
|
void func_80028B74(GlobalContext*, Vec3f*, UNK_PTR, UNK_PTR, Color_RGB8*, Color_RGB8*);
|
|
// ? func_80028BB0(?);
|
|
// ? func_80028CEC(?);
|
|
// ? func_80028DC4(?);
|
|
// ? func_80028E1C(?);
|
|
// ? func_80028E84(?);
|
|
// ? func_80028EF4(?);
|
|
// ? func_80028F84(?);
|
|
// ? func_80028FD8(?);
|
|
// ? func_80029024(?);
|
|
// ? func_80029060(?);
|
|
// ? func_800290F0(?);
|
|
// ? func_80029184(?);
|
|
// ? func_800291D8(?);
|
|
// ? func_800292DC(?);
|
|
// ? func_80029320(?);
|
|
// ? func_800293A0(?);
|
|
void func_800293E4(GlobalContext*, Vec3f* pos, f32, f32, f32, f32);
|
|
// ? func_80029444(?);
|
|
// ? func_8002949C(?);
|
|
// ? func_80029530(?);
|
|
// ? func_80029568(?);
|
|
// ? func_800295A0(?);
|
|
// ? func_80029618(?);
|
|
// ? func_80029694(?);
|
|
// ? func_80029724(?);
|
|
void func_800297A4(GlobalContext* globalCtx, Vec3f* vec, f32, s32, s32, s32, s32, s32, s32, s32);
|
|
// ? func_800298EC(?);
|
|
// ? func_8002993C(?);
|
|
void func_800299AC(GlobalContext* globalCtx, Vec3f* v);
|
|
// ? func_80029B30(?);
|
|
// ? func_80029B90(?);
|
|
// ? func_80029C00(?);
|
|
// ? func_80029C50(?);
|
|
void func_80029CA4(GlobalContext* globalCtx, s32 a, Vec3f* pos);
|
|
// ? func_80029CC8(?);
|
|
// ? func_80029CF0(?);
|
|
// ? func_80029D5C(?);
|
|
// ? func_80029DBC(?);
|
|
// ? func_80029E24(?);
|
|
void func_80029E8C(GlobalContext* globalCtx, Vec3f* burstDepthY, Vec3f* burstDepthX, Vec3f* burstOrigin,
|
|
s16 gravityInfluence, s16 u0, s16 rotSpeed, s16 burstVel, u8 u1, s16 scale, u8 u2, s16 jitter,
|
|
s32 duration, s16 u3, s16 objectId, u32 dList);
|
|
// ? func_80029F44(?);
|
|
// ? func_80029FAC(?);
|
|
// ? func_8002A140(?);
|
|
// ? func_8002A1DC(?);
|
|
// ? func_8002A2A4(?);
|
|
// ? func_8002A32C(?);
|
|
// ? func_8002A3C4(?);
|
|
// ? func_8002A484(?);
|
|
// ? func_8002A4D4(?);
|
|
// ? func_8002A5F4(?);
|
|
void func_8002A65C(GlobalContext* globalCtx, Actor* actor, Vec3f* pos, s16 arg3, s16 arg4);
|
|
void func_8002A6B8(GlobalContext* globalCtx, Vec3f* pos, Vec3f* arg2, Vec3f* arg3, u32 arg4, s32 arg5, u32 arg6,
|
|
u32 arg7, u32 arg8, u32 arg9, u32 arg10, u32 arg11, u32 arg12, u32 arg13, u32 arg14, u32 arg15);
|
|
// ? func_8002A770(?);
|
|
// ? func_8002A824(?);
|
|
// ? func_8002A894(?);
|
|
// ? func_8002A90C(?);
|
|
// ? func_8002A95C(?);
|
|
// ? func_8002A9F4(?);
|
|
// ? func_8002AA44(?);
|
|
void FlagSet_Update(GlobalContext* globalCtx);
|
|
void Overlay_LoadGameState(GameStateOverlay* overlayEntry);
|
|
void Overlay_FreeGameState(GameStateOverlay* overlayEntry);
|
|
void ActorShape_Init(ActorShape* shape, f32 arg1, void* shadowDrawFunc, f32 arg3);
|
|
void ActorShadow_DrawFunc_Circle(Actor* actor, LightMapper* lightMapper, GlobalContext* globalCtx);
|
|
void ActorShadow_DrawFunc_WhiteCircle(Actor* actor, LightMapper* lightMapper, GlobalContext* globalCtx);
|
|
void ActorShadow_DrawFunc_Squiggly(Actor* actor, LightMapper* lightMapper, GlobalContext* globalCtx);
|
|
void ActorShadow_DrawFunc_Teardrop(Actor* actor, LightMapper* lightMapper, GlobalContext* globalCtx);
|
|
void func_8002BDB0(Actor* actor, s32 arg1, s32 arg2, UNK_PTR arg3, s32 arg4, UNK_PTR arg5);
|
|
void func_8002C124(TargetContext* targetCtx, GlobalContext* globalCtx);
|
|
s32 Flags_GetSwitch(GlobalContext* globalCtx, s32 flag);
|
|
void Flags_SetSwitch(GlobalContext* globalCtx, s32 flag);
|
|
void Flags_UnsetSwitch(GlobalContext* globalCtx, s32 flag);
|
|
s32 Flags_GetUnknown(GlobalContext* globalCtx, s32 flag);
|
|
void Flags_SetUnknown(GlobalContext* globalCtx, s32 flag);
|
|
void Flags_UnsetUnknown(GlobalContext* globalCtx, s32 flag);
|
|
s32 Flags_GetTreasure(GlobalContext* globalCtx, s32 flag);
|
|
void Flags_SetTreasure(GlobalContext* globalCtx, s32 flag);
|
|
s32 Flags_GetClear(GlobalContext* globalCtx, s32 flag);
|
|
void Flags_SetClear(GlobalContext* globalCtx, s32 flag);
|
|
void Flags_UnsetClear(GlobalContext* globalCtx, s32 flag);
|
|
s32 Flags_GetTempClear(GlobalContext* globalCtx, s32 flag);
|
|
void Flags_SetTempClear(GlobalContext* globalCtx, s32 flag);
|
|
void Flags_UnsetTempClear(GlobalContext* globalCtx, s32 flag);
|
|
s32 Flags_GetCollectible(GlobalContext* globalCtx, s32 flag);
|
|
void Flags_SetCollectible(GlobalContext* globalCtx, s32 flag);
|
|
void TitleCard_InitBossName(GlobalContext* globalCtx, TitleCardContext* titleCtx, u32 texture, s16 arg3, s16 arg4,
|
|
u8 arg5, u8 arg6);
|
|
void TitleCard_InitPlaceName(GlobalContext* globalCtx, TitleCardContext* titleCtx, u32 texture, s32 arg3, s32 arg4,
|
|
s32 arg5, s32 arg6, s32 arg7);
|
|
s32 func_8002D53C(GlobalContext* globalCtx, TitleCardContext* titleCtx);
|
|
void Actor_Kill(Actor* actor);
|
|
void Actor_SetHeight(Actor* actor, f32 offset);
|
|
void Actor_SetScale(Actor* actor, f32 scale);
|
|
void Actor_SetObjectDependency(GlobalContext* globalCtx, Actor* actor);
|
|
void func_8002D7EC(Actor* actor);
|
|
void func_8002D868(Actor* actor);
|
|
void Actor_MoveForward(Actor* actor);
|
|
void func_8002D908(Actor* actor);
|
|
void func_8002D97C(Actor* actor);
|
|
void func_8002D9A4(Actor* actor, f32 arg1);
|
|
s16 func_8002DA78(Actor* actorA, Actor* actorB);
|
|
s16 func_8002DAC0(Actor* actor, Vec3f* arg1);
|
|
f32 func_8002DB48(Actor* actorA, Actor* actorB);
|
|
s16 func_8002DAE0(Actor* actorA, Actor* actorB);
|
|
s16 func_8002DB28(Actor* actor, Vec3f* arg1);
|
|
f32 func_8002DB8C(Actor* actorA, Actor* actorB);
|
|
f32 func_8002DBB0(Actor* actor, Vec3f* arg1);
|
|
void func_8002DBD0(Actor* actor, Vec3f* result, Vec3f* arg2);
|
|
f32 Actor_HeightDiff(Actor* actorA, Actor* actorB);
|
|
f32 Player_GetCameraYOffset(Player* player);
|
|
f32 func_8002DCE4(Player* player);
|
|
s32 func_8002DD6C(Player* player);
|
|
s32 func_8002DD78(Player* player);
|
|
s32 func_8002DDE4(GlobalContext* globalCtx);
|
|
s32 func_8002DDF4(GlobalContext* globalCtx);
|
|
void func_8002DE04(GlobalContext* globalCtx, Actor* actorA, Actor* actorB);
|
|
void func_8002DE74(GlobalContext* globalCtx, Player* player);
|
|
void func_8002DECC(GlobalContext* globalCtx, Player* player, Actor* actor);
|
|
s32 func_8002DEEC(Player* player);
|
|
void func_8002DF18(GlobalContext* globalCtx, Player* player);
|
|
u32 func_8002DF38(GlobalContext* globalCtx, Actor* actor, u8 newAction);
|
|
s32 func_8002DF54(GlobalContext* globalCtx, Actor* actor, u8 arg2);
|
|
void func_8002DF90(DynaPolyActor* dynaActor);
|
|
void func_8002DFA4(DynaPolyActor* dynaActor, f32 arg1, s16 arg2);
|
|
s32 func_8002DFC8(Actor* actor, s16 arg1, GlobalContext* globalCtx);
|
|
s32 func_8002E084(Actor* actor, s16 arg1);
|
|
s32 func_8002E12C(Actor* actor, f32 arg1, s16 arg2);
|
|
s32 func_8002E1A8(Actor* actorA, Actor* actorB, f32 arg2, s16 arg3);
|
|
void func_8002E4B4(GlobalContext* globalCtx, Actor* actor, f32 arg2, f32 arg3, f32 arg4, s32 arg5);
|
|
Hilite* func_8002EABC(Vec3f* object, Vec3f* eye, Vec3f* lightDir, GraphicsContext* gfxCtx);
|
|
Hilite* func_8002EB44(Vec3f* object, Vec3f* eye, Vec3f* lightDir, GraphicsContext* gfxCtx);
|
|
void func_8002EBCC(Actor* actor, GlobalContext* globalCtx, s32 flag);
|
|
void func_8002ED80(Actor* actor, GlobalContext* globalCtx, s32 flag);
|
|
PosRot* func_8002EEE4(PosRot* arg0, Actor* actor);
|
|
PosRot* func_8002EF14(PosRot* arg0, Actor* actor);
|
|
PosRot* func_8002EF44(PosRot* arg0, Actor* actor);
|
|
s32 func_8002F0C8(Actor* actor, Player* player, s32 arg2);
|
|
u32 func_8002F194(Actor* actor, GlobalContext* globalCtx);
|
|
s32 func_8002F1C4(Actor* actor, GlobalContext* globalCtx, f32 arg2, f32 arg3, u32 arg4);
|
|
s32 func_8002F298(Actor* actor, GlobalContext* globalCtx, f32 arg2, u32 arg3);
|
|
s32 func_8002F2CC(Actor* actor, GlobalContext* globalCtx, f32 arg2);
|
|
s32 func_8002F2F4(Actor* actor, GlobalContext* globalCtx);
|
|
u32 func_8002F334(Actor* actor, GlobalContext* globalCtx);
|
|
s8 func_8002F368(GlobalContext* globalCtx);
|
|
void func_8002F374(GlobalContext* globalCtx, Actor* actor, s16* arg2, s16* arg3);
|
|
u32 func_8002F410(Actor* actor, GlobalContext* globalCtx);
|
|
s32 func_8002F434(Actor* actor, GlobalContext* globalCtx, s32 getItemId, f32 xzRange, f32 yRange);
|
|
void func_8002F554(Actor* actor, GlobalContext* globalCtx, s32 getItemId);
|
|
void func_8002F580(Actor* actor, GlobalContext* globalCtx);
|
|
u32 func_8002F5A0(Actor* actor, GlobalContext* globalCtx);
|
|
void func_8002F5C4(Actor* actorA, Actor* actorB, GlobalContext* globalCtx);
|
|
void func_8002F5F0(Actor* actor, GlobalContext* globalCtx);
|
|
u32 func_8002F618(GlobalContext* globalCtx, Actor* actor);
|
|
u32 func_8002F63C(GlobalContext* globalCtx, Actor* actor, s32 arg2);
|
|
u32 func_8002F674(GlobalContext* globalCtx, Actor* actor);
|
|
void func_8002F698(GlobalContext* globalCtx, u32 arg1, f32 arg2, s16 arg3, f32 arg4, u32 arg5, u32 arg6);
|
|
void func_8002F6D4(GlobalContext* globalCtx, u32 arg1, f32 arg2, s16 arg3, f32 arg4, u32 arg5);
|
|
void func_8002F71C(GlobalContext* globalCtx, u32 arg1, f32 arg2, s16 arg3, f32 arg4);
|
|
void func_8002F758(GlobalContext* globalCtx, u32 arg1, f32 arg2, s16 arg3, f32 arg4, u32 arg5);
|
|
void func_8002F7A0(GlobalContext* globalCtx, u32 arg1, f32 arg2, s16 arg3, f32 arg4);
|
|
void func_8002F7DC(Actor* actor, u16 sfxId);
|
|
void Audio_PlayActorSound2(Actor* actor, u16 sfxId);
|
|
void func_8002F850(GlobalContext* globalCtx, Actor* actor);
|
|
void func_8002F8F0(Actor* actor, u16 sfxId);
|
|
void func_8002F91C(Actor* actor, u16 sfxId);
|
|
void func_8002F948(Actor* actor, u16 sfxId);
|
|
void func_8002F974(Actor* actor, u16 sfxId);
|
|
void func_8002F994(Actor* actor, s32 sfxId);
|
|
s32 func_8002F9EC(GlobalContext* globalCtx, Actor* actor, UNK_TYPE arg2, UNK_TYPE arg3, UNK_TYPE arg4);
|
|
void func_800304B0(GlobalContext* globalCtx);
|
|
void func_800304DC(GlobalContext* globalCtx, ActorContext* actorCtx, ActorEntry* actorEntry);
|
|
void Actor_UpdateAll(GlobalContext* globalCtx, ActorContext* actorCtx);
|
|
s32 func_800314D4(GlobalContext* globalCtx, Actor* actorB, Vec3f* arg2, f32 arg3);
|
|
void func_80031B14(GlobalContext* globalCtx, ActorContext* actorCtx);
|
|
void func_80031C3C(ActorContext* actorCtx, GlobalContext* globalCtx);
|
|
Actor* Actor_Spawn(ActorContext* actorCtx, GlobalContext* globalCtx, s16 actorId, f32 posX, f32 posY, f32 posZ,
|
|
s16 rotX, s16 rotY, s16 rotZ, s16 params);
|
|
Actor* Actor_SpawnAttached(ActorContext* actorCtx, Actor* attachedTo, GlobalContext* globalCtx, s16 actorId, f32 posX,
|
|
f32 posY, f32 posZ, s16 rotX, s16 rotY, s16 rotZ, s16 params);
|
|
void Actor_SpawnTransitionActors(GlobalContext* globalCtx, ActorContext* actorCtx);
|
|
Actor* Actor_SpawnEntry(ActorContext* actorCtx, ActorEntry* actorEntry, GlobalContext* globalCtx);
|
|
Actor* Actor_Delete(ActorContext* actorCtx, Actor* actor, GlobalContext* globalCtx);
|
|
Actor* func_80032AF0(GlobalContext* globalCtx, ActorContext* actorCtx, Actor** actorPtr, Player* player);
|
|
Actor* Actor_Find(ActorContext* actorCtx, s32 actorId, s32 actorType);
|
|
void func_80032C7C(GlobalContext* globalCtx, Actor* actor);
|
|
void func_80032E24(struct_80032E24* arg0, s32 arg1, GlobalContext* globalCtx);
|
|
void func_80033260(GlobalContext* globalCtx, Actor* actor, Vec3f* arg2, f32 arg3, s32 arg4, f32 arg5, s16 arg6,
|
|
s16 arg7, u8 arg8);
|
|
void func_80033480(GlobalContext* globalCtx, Vec3f* arg1, f32 arg2, s32 arg3, s16 arg4, s16 arg5, u8 arg6);
|
|
Actor* func_80033640(GlobalContext* globalCtx, Collider* collider);
|
|
Actor* func_80033684(GlobalContext* globalCtx, Actor* explosiveActor);
|
|
void Actor_ChangeType(GlobalContext* globalCtx, ActorContext* actorCtx, Actor* actor, u8 actorType);
|
|
void Actor_SetTextWithPrefix(GlobalContext* globalCtx, Actor* actor, s16 textIdLower);
|
|
s16 func_800339B8(Actor* actor, GlobalContext* globalCtx, f32 arg2, s16 arg3);
|
|
s32 func_80033A84(GlobalContext* globalCtx, Actor* actor);
|
|
s32 func_80033AB8(GlobalContext* globalCtx, Actor* actor);
|
|
f32 func_80033AEC(Vec3f* arg0, Vec3f* arg1, f32 arg2, f32 arg3, f32 arg4, f32 arg5);
|
|
void func_80033C30(Vec3f* arg0, Vec3f* arg1, u8 alpha, GlobalContext* globalCtx);
|
|
void func_80033DB8(GlobalContext* globalCtx, s16 arg1, s16 arg2);
|
|
void func_80033E1C(GlobalContext* globalCtx, s16 arg1, s16 arg2, s16 arg3);
|
|
void func_80033E88(Actor* actor, GlobalContext* globalCtx, s16 arg2, s16 arg3);
|
|
f32 Math_Rand_ZeroFloat(f32 f);
|
|
f32 Math_Rand_CenteredFloat(f32 f);
|
|
void func_80033F54(GlobalContext* globalCtx, s32 arg1, s32 arg2);
|
|
void func_8003424C(GlobalContext* globalCtx, Vec3f* arg1);
|
|
void func_8003426C(Actor* actor, s16 arg1, s16 arg2, s16 arg3, s16 arg4);
|
|
Hilite* func_800342EC(Vec3f* object, GlobalContext* globalCtx);
|
|
Hilite* func_8003435C(Vec3f* object, GlobalContext* globalCtx);
|
|
s32 func_800343CC(GlobalContext* globalCtx, Actor* actor, s16* arg2, f32 arg3, u16 (*unkFunc1)(GlobalContext*, Actor*),
|
|
s16 (*unkFunc2)(GlobalContext*, Actor*));
|
|
s16 func_800347E8(s16 arg0);
|
|
void func_80034A14(Actor* actor, struct_80034A14_arg1* arg1, s16 arg2, s16 arg3);
|
|
void func_80034BA0(GlobalContext* globalCtx, SkelAnime* skelAnime, OverrideLimbDraw2 overrideLimbDraw,
|
|
PostLimbDraw2 postLimbDraw, Actor* actor, s16 alpha);
|
|
void func_80034CC4(GlobalContext* globalCtx, SkelAnime* skelAnime, OverrideLimbDraw2 overrideLimbDraw,
|
|
PostLimbDraw2 postLimbDraw, Actor* actor, s16 alpha);
|
|
void func_80034EC0(SkelAnime* skelAnime, struct_80034EC0_Entry* arg1, s32 arg2);
|
|
void func_80034F54(GlobalContext* globalCtx, s16* arg1, s16* arg2, s32 arg3);
|
|
void Actor_Noop(Actor* actor, GlobalContext* globalCtx);
|
|
void Gfx_DrawDListOpa(GlobalContext* globalCtx, Gfx* dlist);
|
|
void Gfx_DrawDListXlu(GlobalContext* globalCtx, Gfx* dlist);
|
|
Actor* Actor_FindNearby(GlobalContext* globalCtx, Actor* refActor, s16 actorId, u8 actorType, f32 range);
|
|
s32 func_800354B4(GlobalContext* globalCtx, Actor* actor, f32 range, s16 arg3, s16 arg4, s16 arg5);
|
|
void func_8003555C(GlobalContext* globalCtx, Vec3f* arg1, Vec3f* arg2, Vec3f* arg3);
|
|
void func_800355B8(GlobalContext* globalCtx, Vec3f* arg1);
|
|
u8 func_800355E4(GlobalContext* globalCtx, Collider* collider);
|
|
u8 Actor_ApplyDamage(Actor* actor);
|
|
void func_80035650(Actor* actor, ColliderBody* colBody, s32 freezeFlag);
|
|
void func_8003573C(Actor* actor, ColliderJntSph* colBody, s32 freezeFlag);
|
|
void func_80035844(Vec3f* arg0, Vec3f* arg1, s16* arg2, s32 arg3);
|
|
void func_800359B8(Actor* actor, s16 arg1, Vec3s* arg2);
|
|
s32 Flags_GetEventChkInf(s32 flag);
|
|
void Flags_SetEventChkInf(s32 flag);
|
|
s32 Flags_GetInfTable(s32 flag);
|
|
void Flags_SetInfTable(s32 flag);
|
|
u16 func_80037C30(GlobalContext* globalCtx, s16 arg1);
|
|
s32 func_80037D98(GlobalContext* globalCtx, Actor* actor, s16 arg2, s32* arg3);
|
|
s32 func_80038290(GlobalContext* globalCtx, Actor* actor, Vec3s* arg2, Vec3s* arg3, Vec3f arg4);
|
|
void ActorOverlayTable_LogPrint(void);
|
|
void ActorOverlayTable_Init(void);
|
|
void ActorOverlayTable_Cleanup(void);
|
|
// ? func_80038600(?);
|
|
// ? func_80038708(?);
|
|
// ? func_8003871C(?);
|
|
// ? func_80038728(?);
|
|
// ? func_80038780(?);
|
|
// ? func_800387FC(?);
|
|
// ? func_8003880C(?);
|
|
// ? func_80038870(?);
|
|
// ? func_80038878(?);
|
|
// ? func_800388A8(?);
|
|
// ? func_800388E8(?);
|
|
// ? func_80038924(?);
|
|
// ? func_800389D4(?);
|
|
void func_80038A28(CollisionPoly*, f32, f32, f32, MtxF*);
|
|
f32 func_80038B7C(CollisionPoly*, Vec3f*);
|
|
// ? func_80038BE0(?);
|
|
// ? func_80038D48(?);
|
|
// ? func_80038E78(?);
|
|
// ? func_80038F20(?);
|
|
// ? func_80038F60(?);
|
|
// ? func_80039000(?);
|
|
// ? func_800390A0(?);
|
|
// ? func_8003937C(?);
|
|
// ? func_80039448(?);
|
|
// ? func_8003965C(?);
|
|
// ? func_800396F0(?);
|
|
// ? func_8003992C(?);
|
|
// ? func_80039A3C(?);
|
|
// ? func_80039AEC(?);
|
|
// ? func_8003A3E0(?);
|
|
// ? func_8003A5B8(?);
|
|
// ? func_8003A7D8(?);
|
|
// ? func_8003A95C(?);
|
|
// ? func_8003AB28(?);
|
|
// ? func_8003AC54(?);
|
|
// ? func_8003AD00(?);
|
|
// ? func_8003ADC8(?);
|
|
// ? func_8003AEA8(?);
|
|
// ? func_8003B04C(?);
|
|
// ? func_8003B218(?);
|
|
// ? func_8003B3C8(?);
|
|
// ? func_8003BB18(?);
|
|
// ? func_8003BF18(?);
|
|
// ? func_8003BF5C(?);
|
|
// ? func_8003BFF4(?);
|
|
// ? func_8003C078(?);
|
|
// ? T_BGCheck_getBGDataInfo(?);
|
|
// ? func_8003C55C(?);
|
|
// ? func_8003C614(?);
|
|
f32 func_8003C8EC(GlobalContext*, CollisionContext*, CollisionPoly**, Vec3f*);
|
|
f32 func_8003C940(CollisionContext*, CollisionPoly**, s32*, Vec3f*);
|
|
f32 func_8003C9A4(CollisionContext*, CollisionPoly**, UNK_PTR, Actor*, Vec3f*);
|
|
f32 func_8003CA0C(GlobalContext*, CollisionContext*, CollisionPoly**, u32*, Actor*, Vec3f*);
|
|
f32 func_8003CB30(CollisionContext*, CollisionPoly*, Vec3f*, MtxF*);
|
|
f32 func_8003CCA4(CollisionContext*, CollisionPoly**, s32*, Vec3f*);
|
|
// ? func_8003CDD4(?);
|
|
s32 func_8003D52C(CollisionContext*, Vec3f*, Vec3f*, Vec3f*, f32, CollisionPoly**, u32*, Actor*, f32);
|
|
s32 func_8003D594(CollisionContext*, Vec3f*, Vec3f*, Vec3f*, f32, CollisionPoly**, u32*, Actor*, f32);
|
|
// ? func_8003D600(?);
|
|
s32 func_8003D7A0(CollisionContext*, f32*, Vec3f*, f32, UNK_PTR, u32*, Actor*);
|
|
// ? func_8003D7F0(?);
|
|
// ? func_8003DD28(?);
|
|
// ? func_8003DD6C(?);
|
|
s32 func_8003DE84(CollisionContext*, Vec3f*, Vec3f*, Vec3f*, CollisionPoly**, u32, u32, u32, u32, u32*);
|
|
s32 func_8003DF10(CollisionContext*, Vec3f*, Vec3f*, Vec3f*, CollisionPoly**, u32, u32, u32, u32, u32*, Actor*);
|
|
// ? func_8003DFA0(?);
|
|
// ? func_8003E0FC(?);
|
|
// ? func_8003E188(?);
|
|
// ? func_8003E214(?);
|
|
// ? func_8003E398(?);
|
|
// ? func_8003E3AC(?);
|
|
// ? func_8003E4DC(?);
|
|
// ? func_8003E530(?);
|
|
// ? func_8003E568(?);
|
|
// ? func_8003E5B4(?);
|
|
// ? func_8003E688(?);
|
|
// ? func_8003E6C4(?);
|
|
// ? func_8003E6E4(?);
|
|
// ? func_8003E6EC(?);
|
|
// ? func_8003E750(?);
|
|
// ? func_8003E804(?);
|
|
// ? func_8003E82C(?);
|
|
// ? func_8003E834(?);
|
|
// ? func_8003E888(?);
|
|
// ? func_8003E890(?);
|
|
// ? func_8003E8EC(?);
|
|
// ? func_8003E934(?);
|
|
// ? func_8003E954(?);
|
|
// ? func_8003E9A0(?);
|
|
void func_8003EBF8(GlobalContext* globalCtx, DynaCollisionContext* dynaColCtx, UNK_TYPE dynaPolyId);
|
|
void func_8003EC50(GlobalContext* globalCtx, DynaCollisionContext* dynaColCtx, UNK_TYPE dynaPolyId);
|
|
u32 DynaPolyInfo_RegisterActor(GlobalContext* globalCtx, DynaCollisionContext* dynaColCtx, Actor* actor, UNK_TYPE arg3);
|
|
DynaPolyActor* DynaPolyInfo_GetActor(CollisionContext* colCtx, UNK_TYPE dynaPolyId);
|
|
void DynaPolyInfo_Free(GlobalContext* globalCtx, DynaCollisionContext* dynaColCtx, UNK_TYPE dynaPolyId);
|
|
// ? func_8003EE80(?);
|
|
// ? func_8003F8EC(?);
|
|
// ? func_8003F984(?);
|
|
// ? func_8003FB64(?);
|
|
// ? func_8003FBF4(?);
|
|
// ? func_8003FDDC(?);
|
|
// ? func_80040284(?);
|
|
// ? func_800409A8(?);
|
|
// ? func_80040BE4(?);
|
|
// ? func_80040E40(?);
|
|
// ? func_80040FA4(?);
|
|
// ? func_80041128(?);
|
|
// ? func_80041240(?);
|
|
// ? func_800413F8(?);
|
|
// ? func_80041510(?);
|
|
// ? func_80041648(?);
|
|
// ? func_800417A0(?);
|
|
void DynaPolyInfo_Alloc(UNK_PTR arg0, UNK_PTR arg1);
|
|
// ? func_80041978(?);
|
|
// ? func_800419B0(?);
|
|
// ? func_80041A28(?);
|
|
// ? func_80041A4C(?);
|
|
// ? func_80041B24(?);
|
|
// ? func_80041B80(?);
|
|
struct_80041C10_ret* func_80041C10(CollisionContext* colCtx, s32, s32);
|
|
// ? func_80041C98(?);
|
|
// ? func_80041D4C(?);
|
|
// ? func_80041D94(?);
|
|
// ? func_80041DB8(?);
|
|
// ? func_80041EC8(?);
|
|
// ? func_80041F10(?);
|
|
// ? func_80041F34(?);
|
|
// ? func_80042048(?);
|
|
// ? func_80042108(?);
|
|
s32 func_8004213C(GlobalContext*, CollisionContext*, f32, f32, f32*, UNK_PTR);
|
|
// ? func_80042244(?);
|
|
// ? func_80042538(?);
|
|
// ? func_80042548(?);
|
|
// ? func_8004259C(?);
|
|
s32 func_800427B4(CollisionPoly*, CollisionPoly*, s32, s32, Vec3f*);
|
|
// ? func_80042868(?);
|
|
// ? func_80042B2C(?);
|
|
void func_80042C3C(GlobalContext*, CollisionContext*);
|
|
// ? func_80042CB8(?);
|
|
// ? func_80042EF8(?);
|
|
void func_80042FC4(GlobalContext*, CollisionContext*);
|
|
// ? func_800430A0(?);
|
|
// ? func_800432A0(?);
|
|
// ? func_80043334(?);
|
|
// ? func_800433A4(?);
|
|
void DynaPolyInfo_SetActorMove(DynaPolyActor* actor, DynaPolyMoveFlag flags);
|
|
void func_800434A0(DynaPolyActor* dynaActor);
|
|
void func_800434A8(DynaPolyActor* actor);
|
|
// ? func_800434B8(?);
|
|
// ? func_800434F8(?);
|
|
void func_80043538(DynaPolyActor* actor);
|
|
f32 func_800437F0(f32, f32);
|
|
// ? func_8004389C(?);
|
|
// ? func_800438DC(?);
|
|
// ? func_8004391C(?);
|
|
// ? func_800439AC(?);
|
|
// ? func_80043A3C(?);
|
|
// ? func_80043ABC(?);
|
|
// ? func_80043B60(?);
|
|
// ? func_80043BC4(?);
|
|
// ? func_80043C28(?);
|
|
// ? func_80043CAC(?);
|
|
// ? func_80043D18(?);
|
|
// ? func_80043F34(?);
|
|
// ? func_80043F94(?);
|
|
// ? func_80044340(?);
|
|
// ? func_800443A0(?);
|
|
// ? func_80044434(?);
|
|
// ? func_80044510(?);
|
|
// ? func_80044568(?);
|
|
// ? func_80044740(?);
|
|
// ? func_8004476C(?);
|
|
// ? func_8004479C(?);
|
|
// ? func_8004481C(?);
|
|
// ? func_800448CC(?);
|
|
// ? func_800449AC(?);
|
|
// ? func_80044A74(?);
|
|
// ? func_80044ADC(?);
|
|
// ? func_80044E68(?);
|
|
// ? func_800450A4(?);
|
|
// ? Camera_CopyModeValuesToPREG(?);
|
|
// ? Camera_CopyPREGToModeValues(?);
|
|
// ? func_80045350(?);
|
|
// ? func_8004545C(?);
|
|
// ? func_80045508(?);
|
|
// ? func_80045714(?);
|
|
// ? func_800457A8(?);
|
|
// ? func_800458D4(?);
|
|
// ? func_80045B08(?);
|
|
// ? func_80045C74(?);
|
|
// ? func_800460A8(?);
|
|
// ? func_800466F8(?);
|
|
// ? func_800468CC(?);
|
|
// ? func_800469C0(?);
|
|
// ? func_80046B44(?);
|
|
// ? func_80046CB4(?);
|
|
// ? func_80046E20(?);
|
|
// ? func_80047394(?);
|
|
// ? Camera_Normal1(?);
|
|
// ? Camera_Unique2(?);
|
|
// ? Camera_Unique9(?);
|
|
// ? func_80054314(?);
|
|
// ? func_8005445C(?);
|
|
// ? func_80054478(?);
|
|
void func_80057C6C(Camera* camera, View* view, CollisionContext* colCtx, GlobalContext* globalCtx);
|
|
// ? func_80057FC4(?);
|
|
// ? func_80058148(?);
|
|
void Camera_ChangeStatus(Camera* camera, s16 status);
|
|
// ? func_800584E8(?);
|
|
// ? func_800588B4(?);
|
|
// ? func_80058CF8(?);
|
|
// ? func_80058D34(?);
|
|
// ? func_80058E8C(?);
|
|
// ? func_800591EC(?);
|
|
void func_80059EC8(Camera* camera);
|
|
// ? func_8005A02C(?);
|
|
// ? Camera_ChangeMode(?);
|
|
// ? func_8005A444(?);
|
|
// ? Camera_ChangeSetting(?);
|
|
s32 func_8005A77C(Camera* camera, s16 button);
|
|
// ? func_8005A7A8(?);
|
|
// ? func_8005A8C4(?);
|
|
Vec3s* func_8005A970(Vec3s*, Camera*);
|
|
s16 func_8005A9F4(Camera* camera);
|
|
s32 func_8005AA1C(Camera* camera, s32, s16, s32);
|
|
s32 Camera_SetParam(Camera*, s32, void*);
|
|
// ? func_8005AC48(?);
|
|
// ? func_8005AC60(?);
|
|
// ? func_8005AC6C(?);
|
|
// ? func_8005AD40(?);
|
|
// ? func_8005AE64(?);
|
|
Vec3f* func_8005AFB4(Vec3f* dst, Camera* camera);
|
|
// ? func_8005B044(?);
|
|
// ? func_8005B1A4(?);
|
|
DamageTable* DamageTable_Get(s32 index);
|
|
// ? func_8005B280(?);
|
|
// ? func_8005B2AC(?);
|
|
s32 Collider_InitBase(GlobalContext* globalCtx, Collider* collider);
|
|
s32 Collider_DestroyBase(GlobalContext* globalCtx, Collider* collider);
|
|
s32 Collider_SetBase_Actor(GlobalContext* globalCtx, Collider* collider, ColliderInit_Actor* src);
|
|
s32 Collider_SetBase_Set3(GlobalContext* globalCtx, Collider* collider, Actor* actor, ColliderInit_Set3* src);
|
|
s32 Collider_SetBase(GlobalContext* globalCtx, Collider* collider, Actor* actor, ColliderInit* src);
|
|
void Collider_BaseSetAT(GlobalContext* globalCtx, Collider* collider);
|
|
void Collider_BaseSetAC(GlobalContext* globalCtx, Collider* collider);
|
|
void Collider_BaseSetOC(GlobalContext* globalCtx, Collider* collider);
|
|
s32 Collider_InitTouch(GlobalContext* globalCtx, ColliderTouch* touch);
|
|
s32 Collider_DestroyTouch(GlobalContext* globalCtx, ColliderTouch* touch);
|
|
s32 Collider_SetTouch(GlobalContext* globalCtx, ColliderTouch* dest, ColliderTouch* src);
|
|
void Collider_BodySetAT_Unk(GlobalContext* globalCtx, ColliderBody* body);
|
|
s32 Collider_InitBump(GlobalContext* globalCtx, ColliderBump* bump);
|
|
s32 Collider_DestroyBump(GlobalContext* globalCtx, ColliderBump* bump);
|
|
s32 Collider_SetBump(GlobalContext* globalCtx, ColliderBump* bump, ColliderBumpInit* init);
|
|
s32 Collider_InitBody(GlobalContext* globalCtx, ColliderBody* body);
|
|
s32 Collider_DestroyBody(GlobalContext* globalCtx, ColliderBody* body);
|
|
s32 Collider_SetBody(GlobalContext* globalCtx, ColliderBody* body, ColliderBodyInit* bodyInit);
|
|
void Collider_BodySetAT(GlobalContext* globalCtx, ColliderBody* body);
|
|
void Collider_BodySetAC(GlobalContext* globalCtx, ColliderBody* body);
|
|
void Collider_BodySetOC(GlobalContext* globalCtx, ColliderBody* body);
|
|
s32 Collider_InitJntSphItemDim(GlobalContext* globalCtx, ColliderJntSphItemDim* dim);
|
|
s32 Collider_DestroyJntSphItemDim(GlobalContext* globalCtx, ColliderJntSphItemDim* item);
|
|
s32 Collider_SetJntSphItemDim(GlobalContext* globalCtx, ColliderJntSphItemDim* dest, ColliderJntSphItemDimInit* src);
|
|
s32 Collider_InitJntSphItem(GlobalContext* globalCtx, ColliderJntSphItem* item);
|
|
s32 Collider_DestroyJntSphItem(GlobalContext* globalCtx, ColliderJntSphItem* item);
|
|
s32 Collider_SetJntSphItem(GlobalContext* globalCtx, ColliderJntSphItem* dest, ColliderJntSphItemInit* src);
|
|
s32 Collider_JntSphItemSetAT(GlobalContext* globalCtx, ColliderJntSphItem* collider);
|
|
s32 Collider_JntSphItemSetAC(GlobalContext* globalCtx, ColliderJntSphItem* collider);
|
|
s32 Collider_JntSphItemSetOC(GlobalContext* globalCtx, ColliderJntSphItem* collider);
|
|
s32 Collider_InitJntSph(GlobalContext* globalCtx, ColliderJntSph* collider);
|
|
s32 Collider_FreeJntSph(GlobalContext* globalCtx, ColliderJntSph* collider);
|
|
s32 Collider_DestroyJntSph(GlobalContext* globalCtx, ColliderJntSph* collider);
|
|
s32 Collider_SetJntSph_Set(GlobalContext* globalCtx, ColliderJntSph* dest, ColliderJntSphInit_Actor* src);
|
|
s32 Collider_SetJntSph_Set3(GlobalContext* globalCtx, ColliderJntSph* dest, Actor* actor, ColliderJntSphInit_Set3* src);
|
|
s32 Collider_SetJntSph_Set5(GlobalContext* globalCtx, ColliderJntSph* dest, Actor* actor, ColliderJntSphInit* src);
|
|
s32 Collider_SetJntSph(GlobalContext* globalCtx, ColliderJntSph* dest, Actor* actor, ColliderJntSphInit* src,
|
|
ColliderJntSphItem* list);
|
|
s32 Collider_InitCylinderDim(GlobalContext* globalCtx, Cylinder16* dim);
|
|
s32 Collider_DestroyCylinderDim(GlobalContext* globalCtx, Cylinder16* dim);
|
|
s32 Collider_SetCylinderDim(GlobalContext* globalCtx, Cylinder16* dest, Cylinder16* src);
|
|
s32 Collider_InitCylinder(GlobalContext* globalCtx, ColliderCylinder* collider);
|
|
s32 Collider_DestroyCylinder(GlobalContext* globalCtx, ColliderCylinder* collider);
|
|
s32 Collider_SetCylinder_Actor(GlobalContext* globalCtx, ColliderCylinder* collider, ColliderCylinderInit_Actor* arg2);
|
|
s32 Collider_SetCylinder_Set3(GlobalContext* globalCtx, ColliderCylinder* collider, Actor* actor,
|
|
ColliderCylinderInit_Set3* src);
|
|
s32 Collider_SetCylinder(GlobalContext* globalCtx, ColliderCylinder* collider, Actor* actor, ColliderCylinderInit* src);
|
|
s32 Collider_CylinderSetAT(GlobalContext* globalCtx, Collider* collider);
|
|
s32 Collider_CylinderSetAC(GlobalContext* globalCtx, Collider* collider);
|
|
s32 Collider_CylinderSetOC(GlobalContext* globalCtx, Collider* collider);
|
|
s32 Collider_InitTrisItemDim(GlobalContext* globalCtx, TriNorm* dim);
|
|
s32 Collider_DestroyTrisItemDim(GlobalContext* globalCtx, TriNorm* dim);
|
|
s32 Collider_SetTrisItemDim(GlobalContext* globalCtx, TriNorm* dest, ColliderTrisItemDimInit* src);
|
|
s32 Collider_InitTrisItem(GlobalContext* globalCtx, ColliderTrisItem* collider);
|
|
s32 Collider_DestroyTrisItem(GlobalContext* globalCtx, ColliderTrisItem* collider);
|
|
s32 Collider_SetTrisItem(GlobalContext* globalCtx, ColliderTrisItem* dest, ColliderTrisItemInit* src);
|
|
s32 Collider_TrisItemSetAT(GlobalContext* globalCtx, ColliderTrisItem* item);
|
|
s32 Collider_TrisItemSetAC(GlobalContext* globalCtx, ColliderTrisItem* item);
|
|
s32 Collider_TrisItemSetOC(GlobalContext* globalCtx, ColliderTrisItem* item);
|
|
s32 Collider_InitTris(GlobalContext* globalCtx, ColliderTris* tris);
|
|
s32 Collider_FreeTris(GlobalContext* globalCtx, ColliderTris* tris);
|
|
s32 Collider_DestroyTris(GlobalContext* globalCtx, ColliderTris* tris);
|
|
s32 Collider_SetTris_Set3(GlobalContext* globalCtx, ColliderTris* dest, Actor* actor, ColliderTrisInit_Set3* src);
|
|
s32 Collider_SetTris_Set5(GlobalContext* globalCtx, ColliderTris* dest, Actor* actor, ColliderTrisInit* src);
|
|
s32 Collider_SetTris(GlobalContext* globalCtx, ColliderTris* dest, Actor* actor, ColliderTrisInit* src,
|
|
ColliderTrisItem* list);
|
|
s32 Collider_TrisSetAT(GlobalContext* globalCtx, Collider* collider);
|
|
s32 Collider_TrisSetAC(GlobalContext* globalCtx, Collider* collider);
|
|
s32 Collider_TrisSetOC(GlobalContext* globalCtx, Collider* collider);
|
|
s32 Collider_InitQuadDim(GlobalContext* globalCtx, ColliderQuadDim* dim);
|
|
s32 Collider_DestroyQuadDim(GlobalContext* globalCtx, ColliderQuadDim* dim);
|
|
s32 func_8005CEC4(GlobalContext* globalCtx, ColliderQuadDim* dim);
|
|
void func_8005CEDC(ColliderQuadDim* dim);
|
|
s32 Collider_SetQuadDim(GlobalContext* globalCtx, ColliderQuadDim* dest, ColliderQuadDimInit* src);
|
|
s32 Collider_InitQuad(GlobalContext* globalCtx, ColliderQuad* collider);
|
|
s32 Collider_DestroyQuad(GlobalContext* globalCtx, ColliderQuad* collider);
|
|
s32 Collider_SetQuad_Set3(GlobalContext* globalCtx, ColliderQuad* collider, Actor* actor, ColliderQuadInit_Set3* src);
|
|
s32 Collider_SetQuad(GlobalContext* globalCtx, ColliderQuad* collider, Actor* actor, ColliderQuadInit* src);
|
|
s32 Collider_QuadSetAT(GlobalContext* globalCtx, Collider* collider);
|
|
s32 Collider_QuadSetAC(GlobalContext* globalCtx, Collider* collider);
|
|
s32 Collider_QuadSetOC(GlobalContext* globalCtx, Collider* collider);
|
|
s32 func_8005D218(GlobalContext* globalCtx, ColliderQuad* quad, Vec3f* arg2);
|
|
s32 Collider_InitOcLine(GlobalContext* globalCtx, OcLine* line);
|
|
s32 Collider_DestroyOcLine(GlobalContext* globalCtx, OcLine* line);
|
|
// ? func_8005D334(?);
|
|
// ? func_8005D3A4(?);
|
|
void func_8005D3BC(GlobalContext* globalCtx, CollisionCheckContext* colChkCtx);
|
|
void CollisionCheck_DestroyContext(GlobalContext* globalCtx, CollisionCheckContext* colChkCtx);
|
|
void CollisionCheck_InitContext(GlobalContext* globalCtx, CollisionCheckContext* colChkCtx);
|
|
void CollisionCheck_EnableSAC(GlobalContext* globalCtx, CollisionCheckContext* colChkCtx);
|
|
void CollisionCheck_DisableSAC(GlobalContext* globalCtx, CollisionCheckContext* colChkCtx);
|
|
void func_8005D4DC(GlobalContext* globalCtx, Collider* collider);
|
|
void CollisionCheck_Draw(GlobalContext* globalCtx, CollisionCheckContext* colChkCtx);
|
|
s32 CollisionCheck_SetAT(GlobalContext* globalCtx, CollisionCheckContext* colChkCtx, Collider* collider);
|
|
s32 CollisionCheck_SetAT_SAC(GlobalContext* globalCtx, CollisionCheckContext* colChkCtx, Collider* collider, s32 index);
|
|
s32 CollisionCheck_SetAC(GlobalContext* globalCtx, CollisionCheckContext* colChkCtx, Collider* collider);
|
|
s32 CollisionCheck_SetAC_SAC(GlobalContext* globalCtx, CollisionCheckContext* colChkCtx, Collider* collider, s32 index);
|
|
s32 CollisionCheck_SetOC(GlobalContext* globalCtx, CollisionCheckContext* colChkCtx, Collider* collider);
|
|
s32 CollisionCheck_SetOC_SAC(GlobalContext* globalCtx, CollisionCheckContext* colChkCtx, Collider* collider, s32 index);
|
|
s32 CollisionCheck_SetOCLine(GlobalContext* globalCtx, CollisionCheckContext* colChkCtx, OcLine* collider);
|
|
// ? func_8005DF2C(?);
|
|
// ? func_8005DF50(?);
|
|
// ? func_8005DF74(?);
|
|
// ? func_8005E2EC(?);
|
|
// ? func_8005E4F8(?);
|
|
// ? func_8005E604(?);
|
|
// ? func_8005E800(?);
|
|
// ? func_8005E81C(?);
|
|
// ? func_800611A0(?);
|
|
// ? func_80061274(?);
|
|
void func_8006139C(GlobalContext* globalCtx, CollisionCheckContext* colChkCtx);
|
|
// ? func_8006146C(?);
|
|
// ? func_800614A4(?);
|
|
// ? func_80061BF4(?);
|
|
// ? func_80061C18(?);
|
|
void CollisionCheck_OC(GlobalContext* globalCtx, CollisionCheckContext* colChkCtx);
|
|
// ? func_80061E48(?);
|
|
void func_80061E8C(CollisionCheckInfo* info);
|
|
void func_80061EB0(CollisionCheckInfo* info, CollisionCheckInfoInit* init);
|
|
void func_80061ED4(CollisionCheckInfo* info, DamageTable* damageTable, CollisionCheckInfoInit* init);
|
|
void func_80061EFC(CollisionCheckInfo* info, DamageTable* damageTable, CollisionCheckInfoInit2* init);
|
|
// ? func_80061F64(?);
|
|
// ? func_800622E4(?);
|
|
s32 CollisionCheck_GeneralLineOcCheck(GlobalContext* globalCtx, CollisionCheckContext* colChkCtx, Vec3f* camera_3C,
|
|
Vec3f* arg3, Actor** arg4, s32 arg5);
|
|
// ? func_800626B0(?);
|
|
void Collider_CylinderUpdate(Actor* actor, ColliderCylinder* collider);
|
|
// ? func_80062734(?);
|
|
void func_800627A0(ColliderTris* collider, s32 index, Vec3f* a, Vec3f* b, Vec3f* c);
|
|
void func_80062A28(GlobalContext*, Vec3f*);
|
|
void func_80062B80(GlobalContext*, Vec3f*);
|
|
void func_80062CD4(GlobalContext* globalCtx, Vec3f* v);
|
|
void func_80062D60(GlobalContext* globalCtx, Vec3f* v);
|
|
void func_80062DAC(GlobalContext* globalCtx, Vec3f* v, Vec3f* arg2);
|
|
void func_80062E14(GlobalContext* globalCtx, Vec3f* arg1, Vec3f* arg2);
|
|
s32 func_80062ECC(f32, f32, f32, Vec3f*, Vec3f*, Vec3f*, Vec3f*, Vec3f*);
|
|
void SaveContext_Init(void);
|
|
// ? func_800636C0(?);
|
|
void func_8006375C(s32 arg0, s32 arg1, float* d_80855320);
|
|
// ? func_8006376C(?);
|
|
// ? func_80063828(?);
|
|
void func_8006390C(Input* input);
|
|
// ? func_80063C04(?);
|
|
void func_80063D7C(GraphicsContext* gfxCtx);
|
|
void DebugDisplay_Init(void);
|
|
DebugDispObject* DebugDisplay_AddObject(f32 posX, f32 posY, f32 posZ, s16 rotX, s16 rotY, s16 rotZ, f32 scaleX,
|
|
f32 scaleY, f32 scaleZ, u8 red, u8 green, u8 blue, u8 alpha, s16 type,
|
|
GraphicsContext* gfxCtx);
|
|
void DebugDisplay_DrawObjects(GlobalContext* globalCtx);
|
|
void func_8006450C(GlobalContext* globalCtx, CutsceneContext* csCtx);
|
|
void func_80064534(GlobalContext* globalCtx, CutsceneContext* csCtx);
|
|
void func_80064558(GlobalContext* globalCtx, CutsceneContext* csCtx);
|
|
void func_800645A0(GlobalContext* globalCtx, CutsceneContext* csCtx);
|
|
void Cutscene_HandleEntranceTriggers(GlobalContext* globalCtx);
|
|
void Cutscene_HandleConditionalTriggers(GlobalContext* globalCtx);
|
|
void Cutscene_SetSegment(GlobalContext* globalCtx, u32 segment);
|
|
void* MemCopy(void* dest, void* src, s32 size);
|
|
void func_800694A0(GlobalContext* globalCtx, s16 drawId);
|
|
void func_8006BA00(GlobalContext* globalCtx);
|
|
void func_8006BA30(GlobalContext* globalCtx);
|
|
void Audio_PlaySoundAtPosition(GlobalContext* globalCtx, Vec3f* pos, s32 duration, u16 sfxId);
|
|
u16 ElfMessage_GetSariaText(GlobalContext* globalCtx);
|
|
u16 ElfMessage_GetCUpText(GlobalContext* globalCtx);
|
|
u16 Text_GetFaceReaction(GlobalContext* globalCtx, u32 reactionSet);
|
|
void Flags_UnsetAllEnv(GlobalContext* globalCtx);
|
|
void Flags_SetEnv(GlobalContext* globalCtx, s16 flag);
|
|
void Flags_UnsetEnv(GlobalContext* globalCtx, s16 flag);
|
|
s32 Flags_GetEnv(GlobalContext* globalCtx, s16 flag);
|
|
f32 func_8006C5A8(f32 target, TransformData* transData, s32 refIdx);
|
|
void SkelCurve_Clear(SkelAnimeCurve* skelCurve);
|
|
s32 SkelCurve_Init(GlobalContext* globalCtx, SkelAnimeCurve* skelCurve, SkelCurveLimbList* limbListSeg,
|
|
TransformData* transData);
|
|
void SkelCurve_Destroy(GlobalContext* globalCtx, SkelAnimeCurve* skelCurve);
|
|
void SkelCurve_SetAnim(SkelAnimeCurve* skelCurve, TransformUpdateIndex* transUpdIdx, f32 arg2, f32 animFinalFrame,
|
|
f32 animCurFrame, f32 animSpeed);
|
|
s32 SkelCurve_Update(GlobalContext* globalCtx, SkelAnimeCurve* skelCurve);
|
|
void SkelCurve_Draw(Actor* actor, GlobalContext* globalCtx, SkelAnimeCurve* skelCurve,
|
|
OverrideCurveLimbDraw overrideLimbDraw, PostCurveLimbDraw postLimbDraw, s32 lod, Actor* actor2);
|
|
// ? func_8006CFC0(?);
|
|
// ? func_8006D074(?);
|
|
// ? func_8006D0AC(?);
|
|
// ? func_8006D0EC(?);
|
|
// ? func_8006D684(?);
|
|
void func_8006DC68(GlobalContext* globalCtx, Player* player);
|
|
u32 Jpeg_SendTask(JpegContext* ctx);
|
|
void Jpeg_CopyToZbuffer(u16* src, u16* zbuffer, s32 x, s32 y);
|
|
u16 Jpeg_GetU16(u8* ptr);
|
|
void Jpeg_ParseMarkers(u8* ptr, JpegContext* ctx);
|
|
s32 Jpeg_Decode(void* data, u16* zbuffer, JpegWork* workBuff, u32 workSize);
|
|
void KaleidoSetup_Update(GlobalContext* globalCtx);
|
|
void KaleidoSetup_Init(GlobalContext *globalCtx);
|
|
void KaleidoSetup_Destroy(GlobalContext* globalCtx);
|
|
// ? func_8006EE50(?);
|
|
// ? func_8006EE60(?);
|
|
// ? func_8006EEBC(?);
|
|
// ? func_8006EF10(?);
|
|
// ? func_8006F0A0(?);
|
|
// ? func_8006F0D4(?);
|
|
// ? func_8006F0FC(?);
|
|
u8 func_8006F140(GlobalContext*, EnvironmentContext*, UNK_TYPE);
|
|
f32 func_8006F93C(u16, u16, u16);
|
|
f32 func_8006F9BC(u16, u16, u16, u16, u16);
|
|
// ? func_8006FB94(?);
|
|
// ? func_8006FC88(?);
|
|
// ? func_80070600(?);
|
|
// ? func_800706A0(?);
|
|
// ? func_80070718(?);
|
|
// ? func_80070C24(?);
|
|
// ? func_800730DC(?);
|
|
void func_80073988(GlobalContext*, EnvironmentContext*, View*, GraphicsContext*, Vec3f, UNK_TYPE);
|
|
// ? func_80073A5C(?);
|
|
f32 func_800746DC();
|
|
// ? func_80074704(?);
|
|
// ? func_80074D6C(?);
|
|
// ? func_80074FF4(?);
|
|
// ? func_800750C0(?);
|
|
// ? func_800753C4(?);
|
|
// ? func_8007542C(?);
|
|
// ? func_800758AC(?);
|
|
// ? func_80075B44(?);
|
|
// ? func_80075E68(?);
|
|
// ? func_80075F14(?);
|
|
// ? func_800760F4(?);
|
|
// ? func_800763A8(?);
|
|
// ? func_800766C4(?);
|
|
void func_8007672C(GraphicsContext*, u8, u8, u8, u8, UNK_TYPE);
|
|
// ? func_80076934(?);
|
|
void func_800773A8(GlobalContext* globalCtx, f32 arg1, f32 arg2, f32 arg3, f32 arg4);
|
|
s32 func_800775CC();
|
|
void func_800775D8();
|
|
s32 func_800775E4();
|
|
void func_800775F0(u16);
|
|
// ? func_80077600(?);
|
|
void Lib_MemSet(u8* dest, size_t size, u8 val);
|
|
f32 Math_Coss(s16 angle);
|
|
f32 Math_Sins(s16 angle);
|
|
s32 Math_ApproxUpdateScaledS(s16* fp, s16 target, s16 step);
|
|
s32 Math_ApproxS(s16* fp, s16 target, s16 step);
|
|
s32 Math_ApproxF(f32* fp, f32 target, f32 step);
|
|
s32 func_80077AF8(s16* fp, s16 target, s16 step);
|
|
s32 func_80077B58(s16* fp, s16 target, s16 step);
|
|
s32 func_80077C6C(f32* fp, f32 target, f32 incrStep, f32 decrStep);
|
|
s16 Math_Rand_S16Offset(s16 base, s16 range);
|
|
void Math_Vec3f_Copy(Vec3f* dest, Vec3f* src);
|
|
void Math_Vec3s_ToVec3f(Vec3f* dest, Vec3s* src);
|
|
void Math_Vec3f_Sum(Vec3f* a, Vec3f* b, Vec3f* dest);
|
|
void Math_Vec3f_Diff(Vec3f* a, Vec3f* b, Vec3f* dest);
|
|
void Math_Vec3s_DiffToVec3f(Vec3f* dest, Vec3s* a, Vec3s* b);
|
|
void Math_Vec3f_Scale(Vec3f* vec, f32 scaleF);
|
|
f32 Math_Vec3f_DistXYZ(Vec3f* a, Vec3f* b);
|
|
f32 Math_Vec3f_DistXYZAndStoreDiff(Vec3f* a, Vec3f* b, Vec3f* dest);
|
|
f32 Math_Vec3f_DistXZ(Vec3f* a, Vec3f* b);
|
|
s16 Math_Vec3f_Yaw(Vec3f* a, Vec3f* b);
|
|
s16 Math_Vec3f_Pitch(Vec3f* a, Vec3f* b);
|
|
void Actor_ProcessInitChain(Actor* actor, InitChainEntry* initChain);
|
|
f32 Math_SmoothScaleMaxMinF(f32* pValue, f32 target, f32 scale, f32 maxStep, f32 minStep);
|
|
void Math_SmoothScaleMaxF(f32* pValue, f32 target, f32 scale, f32 maxStep);
|
|
void Math_SmoothDownscaleMaxF(f32* pValue, f32 scale, f32 maxStep);
|
|
s16 Math_SmoothScaleMaxMinS(s16* pValue, s16 target, s16 invScale, s16 maxStep, s16 minStep);
|
|
void Math_SmoothScaleMaxS(s16* pValue, s16 target, s16 invScale, s16 maxStep);
|
|
void Color_RGBA8_Copy(Color_RGBA8* dst, Color_RGBA8* src);
|
|
void func_80078884(u16 sfxId);
|
|
void func_800788CC(u16 sfxId);
|
|
void func_80078914(Vec3f* arg0, u16 sfxId);
|
|
void Health_InitData(GlobalContext* globalCtx);
|
|
void Health_UpdateData(GlobalContext* globalCtx);
|
|
void Health_Draw(GlobalContext* globalCtx);
|
|
void Health_HandleCriticalAlarm(GlobalContext* globalCtx);
|
|
void Lights_InitPositionalLight(LightInfoPositional* info, s16 posX, s16 posY, s16 posZ, u8 red, u8 green, u8 blue,
|
|
s16 radius, u32 type);
|
|
void Lights_InitType0PositionalLight(LightInfoPositional* info, s16 posX, s16 posY, s16 posZ, u8 red, u8 green, u8 blue,
|
|
s16 radius);
|
|
void Lights_InitType2PositionalLight(LightInfoPositional* info, s16 posX, s16 posY, s16 posZ, u8 red, u8 green, u8 blue,
|
|
s16 radius);
|
|
void Lights_SetPositionalLightColorAndRadius(LightInfoPositional* info, u8 red, u8 green, u8 blue, s16 radius);
|
|
void Lights_InitDirectional(LightInfoDirectional* info, s8 dirX, s8 dirY, s8 dirZ, u8 red, u8 green, u8 blue);
|
|
void Lights_MapperInit(LightMapper* mapper, u8 red, u8 green, u8 blue);
|
|
// ? func_8007A084(?);
|
|
// ? func_8007A474(?);
|
|
z_Light* Lights_FindFreeSlot();
|
|
void Lights_Free(z_Light* light);
|
|
void func_8007A614(GlobalContext* globalCtx, LightingContext* lightCtx);
|
|
void func_8007A698(LightingContext* lightCtx, u8 arg1, u8 arg2, u8 arg3, s16 arg4, s16 arg5);
|
|
void Lights_SetAmbientColor(LightingContext* lightCtx, u8 red, u8 green, u8 blue);
|
|
LightMapper* Lights_CreateMapper(LightingContext* lightCtx, GraphicsContext* gfxCtx);
|
|
void Lights_ClearHead(GlobalContext* globalCtx, LightingContext* lightCtx);
|
|
void Lights_RemoveAll(GlobalContext* globalCtx, LightingContext* lightCtx);
|
|
z_Light* Lights_Insert(GlobalContext* globalCtx, LightingContext* lightCtx, void* info);
|
|
void Lights_Remove(GlobalContext* globalCtx, LightingContext* lightCtx, z_Light* light);
|
|
LightMapper* func_8007A960(GraphicsContext* gfxCtx, u8 red, u8 green, u8 blue);
|
|
// ? func_8007A9B4(?);
|
|
// ? func_8007ABBC(?);
|
|
void ZeldaArena_CheckPointer(void* ptr, u32 size, const char* name, const char* action);
|
|
void* ZeldaArena_Malloc(u32 size);
|
|
void* ZeldaArena_MallocDebug(u32 size, const char* file, s32 line);
|
|
void* ZeldaArena_MallocR(u32 size);
|
|
void* ZeldaArena_MallocRDebug(u32 size, const char* file, s32 line);
|
|
void* ZeldaArena_Realloc(void* ptr, u32 newSize);
|
|
void* ZeldaArena_ReallocDebug(void* ptr, u32 newSize, const char* file, s32 line);
|
|
void ZeldaArena_Free(void* ptr);
|
|
void ZeldaArena_FreeDebug(void* ptr, const char* file, s32 line);
|
|
void* ZeldaArena_Calloc(u32 num, u32 size);
|
|
void ZeldaArena_Display();
|
|
void ZeldaArena_GetSizes(u32* outMaxFree, u32* outFree, u32* outAlloc);
|
|
void ZeldaArena_Check();
|
|
void ZeldaArena_Init(void* start, u32 size);
|
|
void ZeldaArena_Cleanup();
|
|
u8 ZeldaArena_IsInitalized();
|
|
void MapMark_Init(GlobalContext* globalCtx);
|
|
void MapMark_ClearPointers(GlobalContext* globalCtx);
|
|
void MapMark_DrawConditionally(GlobalContext* globalCtx);
|
|
void PreNmiBuff_Init(PreNmiBuff* this);
|
|
void PreNmiBuff_SetReset(PreNmiBuff* this);
|
|
u32 PreNmiBuff_IsResetting(PreNmiBuff* this);
|
|
void MsgEvent_SendNullTask();
|
|
f32 OLib_Vec3fDist(Vec3f*, Vec3f*);
|
|
// ? OLib_Vec3fDistXZ(?);
|
|
// ? func_8007C058(?);
|
|
// ? func_8007C0A8(?);
|
|
// ? OLib_Vec3fDistNormalize(?);
|
|
// ? OLib_VecSphRot90ToVec3f(?);
|
|
// ? OLib_Vec3fToVecSph(?);
|
|
VecSph* OLib_Vec3fToVecSphRot90(VecSph* arg0, Vec3f* arg1);
|
|
VecSph* OLib_Vec3fDiffToVecSphRot90(VecSph* arg0, Vec3f* a, Vec3f* b);
|
|
// ? func_8007C4E0(?);
|
|
// ? func_8007C680(?);
|
|
// ? func_8007C704(?);
|
|
// ? func_8007C76C(?);
|
|
// ? func_8007C7A8(?);
|
|
// ? func_8007C7F8(?);
|
|
// ? func_8007C820(?);
|
|
// ? func_8007C850(?);
|
|
// ? func_8007FFE0(?);
|
|
// ? func_80080024(?);
|
|
s16 func_800800F8(GlobalContext* globalCtx, s16 arg1, s16 arg2, Actor* actor, s16 arg4);
|
|
// ? func_800803F0(?);
|
|
// ? func_80080480(?);
|
|
void func_80080788(UNK_TYPE, UNK_TYPE);
|
|
void Map_SavePlayerInitialInfo(GlobalContext* globalCtx);
|
|
void Map_SetFloorPalettesData(GlobalContext* globalCtx, s16 floor);
|
|
void Map_InitData(GlobalContext* globalCtx, s16 room);
|
|
void Map_InitRoomData(GlobalContext* globalCtx, s16 room);
|
|
void Map_Destroy(GlobalContext* globalCtx);
|
|
void Map_Init(GlobalContext* globalCtx);
|
|
void Minimap_Draw(GlobalContext* globalCtx);
|
|
void Map_Update(GlobalContext* globalCtx);
|
|
void Interface_ChangeAlpha(u16 alphaType);
|
|
void Interface_SetSceneRestrictions(GlobalContext* globalCtx);
|
|
void Inventory_SwapAgeEquipment(void);
|
|
void Interface_InitHorsebackArchery(GlobalContext* globalCtx);
|
|
void func_800849EC(GlobalContext* globalCtx);
|
|
void Interface_LoadItemIcon1(GlobalContext* globalCtx, u16 button);
|
|
void Interface_LoadItemIcon2(GlobalContext* globalCtx, u16 button);
|
|
void func_80084BF4(GlobalContext* globalCtx, u16 flag);
|
|
u8 Item_Give(GlobalContext* globalCtx, u8 item);
|
|
u8 Item_CheckObtainability(u8 item);
|
|
void Inventory_DeleteItem(u16 item, u16 invSlot);
|
|
s32 Inventory_ReplaceItem(GlobalContext* globalCtx, u16 oldItem, u16 newItem);
|
|
s32 Inventory_HasEmptyBottle(void);
|
|
s32 Inventory_HasSpecificBottle(u8 bottleItem);
|
|
void Inventory_UpdateBottleItem(GlobalContext* globalCtx, u8 item, u8 cButton);
|
|
s32 Inventory_ConsumeFairy(GlobalContext* globalCtx);
|
|
void Interface_SetDoAction(GlobalContext* globalCtx, u16 action);
|
|
void Interface_SetNaviCall(GlobalContext* globalCtx, u16 naviCallState);
|
|
void Interface_LoadActionLabelB(GlobalContext* globalCtx, u16 action);
|
|
s32 Health_ChangeBy(GlobalContext* globalCtx, s16 healthChange);
|
|
void Rupees_ChangeBy(s16 rupeeChange);
|
|
void Inventory_ChangeAmmo(s16 item, s16 ammoChange);
|
|
void func_80087680(GlobalContext* globalCtx);
|
|
void func_800876C8(GlobalContext* globalCtx);
|
|
s32 func_80087708(GlobalContext* globalCtx, s16 arg1, s16 arg2);
|
|
void func_80088AA0(s16 seconds);
|
|
void func_80088B34(s16 arg0);
|
|
void Interface_Draw(GlobalContext* globalCtx);
|
|
void Interface_Update(GlobalContext* globalCtx);
|
|
Path* Path_GetByIndex(GlobalContext* globalCtx, s16 index, s16 max);
|
|
f32 Path_OrientAndGetDistSq(Actor* actor, Path* path, s16 waypoint, s16* yaw);
|
|
void Path_CopyLastPoint(Path* path, Vec3f* dest);
|
|
// ? func_8008E6A0(?);
|
|
// ? func_8008E6AC(?);
|
|
// ? func_8008E750(?);
|
|
s32 func_8008E8DC(GlobalContext*, Player*);
|
|
s32 func_8008E988(GlobalContext*);
|
|
s32 func_8008E9C4(Player* player);
|
|
s32 func_8008E9D0(Player* player);
|
|
// ? func_8008E9F8(?);
|
|
// ? func_8008EA40(?);
|
|
// ? func_8008EB2C(?);
|
|
// ? func_8008EC04(?);
|
|
void func_8008ECAC(GlobalContext*, Player* player);
|
|
void func_8008EDF0(Player*);
|
|
// ? func_8008EE08(?);
|
|
s32 func_8008EF44(GlobalContext*, s32);
|
|
// ? func_8008F034(?);
|
|
u8 func_8008F080(GlobalContext*);
|
|
Player* func_8008F08C(GlobalContext*);
|
|
s32 func_8008F098(GlobalContext*);
|
|
s32 func_8008F0AC(GlobalContext*);
|
|
s32 func_8008F0D8(Player* player, s32);
|
|
s32 func_8008F104(Player* player);
|
|
s32 func_8008F128(Player* player);
|
|
s32 func_8008F158(s32);
|
|
void func_8008F180(Player* player);
|
|
s32 func_8008F1A0(Player* player);
|
|
// ? func_8008F1CC(?);
|
|
s32 func_8008F224(Player* player, s32);
|
|
void func_8008F250(Player* player);
|
|
s32 func_8008F270(Player* player, s32);
|
|
s32 func_8008F29C(Player* player);
|
|
s32 func_8008F2F8(GlobalContext*);
|
|
// ? func_8008F470(?);
|
|
// ? func_8008F87C(?);
|
|
// ? func_8008FCC8(?);
|
|
// ? func_800902F0(?);
|
|
// ? func_80090440(?);
|
|
u8 func_80090480(GlobalContext* globalCtx, Collider* collider, Struct_80090480_arg2* arg2, Vec3f* arg3, Vec3f* arg4);
|
|
// ? func_80090604(?);
|
|
// ? func_800906D4(?);
|
|
// ? func_800907E4(?);
|
|
// ? func_80090A28(?);
|
|
// ? func_80090AFC(?);
|
|
// ? func_80091880(?);
|
|
// ? func_80091A24(?);
|
|
void PreNMI_Init(PreNMIContext* prenmiCtx);
|
|
Vec3f* Quake_AddVec(Vec3f* dst, Vec3f* arg1, VecSph* arg2);
|
|
void Quake_UpdateShakeInfo(QuakeRequest* req, ShakeInfo* shake, f32 y, f32 x);
|
|
s16 Quake_Callback1(QuakeRequest* req, ShakeInfo* shake);
|
|
s16 Quake_Callback2(QuakeRequest* req, ShakeInfo* shake);
|
|
s16 Quake_Callback3(QuakeRequest* req, ShakeInfo* shake);
|
|
s16 Quake_Callback4(QuakeRequest* req, ShakeInfo* shake);
|
|
s16 Quake_Callback5(QuakeRequest* req, ShakeInfo* shake);
|
|
s16 Quake_Callback6(QuakeRequest* req, ShakeInfo* shake);
|
|
s16 Quake_GetFreeIndex();
|
|
QuakeRequest* Quake_AddImpl(Camera* cam, u32 callbackIdx);
|
|
void Quake_Remove(QuakeRequest* req);
|
|
QuakeRequest* Quake_GetRequest(s16 idx);
|
|
QuakeRequest* Quake_SetValue(s16 idx, s16 valueType, s16 value);
|
|
u32 Quake_SetSpeed(s16 idx, s16 value);
|
|
u32 Quake_SetCountdown(s16 idx, s16 value);
|
|
s16 Quake_GetCountdown(s16 idx);
|
|
u32 Quake_SetQuakeValues(s16 idx, s16 y, s16 x, s16 zoom, s16 rotZ);
|
|
u32 Quake_SetUnkValues(s16 idx, s16 arg1, SubQuakeRequest14 arg2);
|
|
void Quake_Init();
|
|
s16 Quake_Add(Camera* cam, u32 callbackIdx);
|
|
u32 Quake_RemoveFromIdx(s16 idx);
|
|
s16 Quake_Calc(Camera* camera, UnkQuakeCalcStruct* camData);
|
|
Gfx* Gfx_SetFog(Gfx* gfx, s32 r, s32 g, s32 b, s32 a, s32 n, s32 f);
|
|
Gfx* Gfx_SetFogWithSync(Gfx* gfx, s32 r, s32 g, s32 b, s32 a, s32 n, s32 f);
|
|
Gfx* Gfx_SetFog2(Gfx* gfx, s32 r, s32 g, s32 b, s32 a, s32 n, s32 f);
|
|
Gfx* Gfx_CallSetupDL(Gfx* gfx, u32 i);
|
|
Gfx* func_800937C0(Gfx* gfx);
|
|
Gfx* func_80093808(Gfx* gfx);
|
|
void func_800938B4(GraphicsContext* gfxCtx);
|
|
void func_8009398C(GraphicsContext* gfxCtx);
|
|
void func_80093AD0(GraphicsContext* gfxCtx);
|
|
void func_80093BA8(GraphicsContext* gfxCtx);
|
|
void func_80093C80(GlobalContext* globalCtx);
|
|
void func_80093D18(GraphicsContext* gfxCtx);
|
|
void func_80093D84(GraphicsContext* gfxCtx);
|
|
Gfx* func_80093F34(Gfx* gfx);
|
|
Gfx* func_80093F58(Gfx* gfx);
|
|
void func_80094044(GraphicsContext* gfxCtx);
|
|
void func_800940B0(GraphicsContext* gfxCtx);
|
|
void func_800942F0(GraphicsContext* gfxCtx);
|
|
void func_8009435C(GraphicsContext* gfxCtx);
|
|
void func_800943C8(GraphicsContext* gfxCtx);
|
|
Gfx* func_800944A0(Gfx* gfx);
|
|
void func_80094520(GraphicsContext* gfxCtx);
|
|
void func_8009457C(Gfx** gfxp);
|
|
void func_800945A0(GraphicsContext* gfxCtx);
|
|
void func_80094678(GraphicsContext* gfxCtx);
|
|
Gfx* func_800946E4(Gfx* gfx);
|
|
Gfx* func_800947AC(Gfx* gfx);
|
|
void func_80094A14(GraphicsContext* gfxCtx);
|
|
void func_80094C50(GraphicsContext* gfxCtx);
|
|
Gfx* Gfx_BranchTexScroll(Gfx** gfxp, u32 x, u32 y, s32 width, s32 height);
|
|
Gfx* func_80094E78(GraphicsContext* gfxCtx, u32 x, u32 y);
|
|
Gfx* Gfx_TexScroll(GraphicsContext* gfxCtx, u32 x, u32 y, s32 width, s32 height);
|
|
Gfx* Gfx_TwoTexScroll(GraphicsContext* gfxCtx, s32 tile1, u32 x1, u32 y1, s32 width1, s32 height1, s32 tile2, u32 x2,
|
|
u32 y2, s32 width2, s32 height2);
|
|
Gfx* Gfx_TwoTexScrollEnvColor(GraphicsContext* gfxCtx, s32 tile1, u32 x1, u32 y1, s32 width1, s32 height1, s32 tile2,
|
|
u32 x2, u32 y2, s32 width2, s32 height2, s32 r, s32 g, s32 b, s32 a);
|
|
void func_80095248(GraphicsContext* gfxCtx, u8 r, u8 g, u8 b);
|
|
void func_80095974(GraphicsContext* gfxCtx);
|
|
void func_80095AA0(GlobalContext* globalCtx, Room* room, Input* arg2, UNK_TYPE arg3);
|
|
// ? func_8009638C(?);
|
|
void func_80096FD4(GlobalContext* globalCtx, Room* room);
|
|
u32 func_80096FE8(GlobalContext* globalCtx, RoomContext* roomCtx);
|
|
s32 func_8009728C(GlobalContext* globalCtx, RoomContext* roomCtx, s32 roomNum);
|
|
s32 func_800973FC(GlobalContext* globalCtx, RoomContext* roomCtx);
|
|
void Room_Draw(GlobalContext* globalCtx, Room* room, u32 flags);
|
|
void func_80097534(GlobalContext* globalCtx, RoomContext* roomCtx);
|
|
void Sample_Destroy(SampleContext* this);
|
|
void Sample_Init(SampleContext* this);
|
|
void Inventory_ChangeEquipment(s16 equipment, u16 value);
|
|
u8 Inventory_DeleteEquipment(GlobalContext* globalCtx, s16 equipment);
|
|
void Inventory_ChangeUpgrade(s16 upgrade, s16 value);
|
|
void Object_InitBank(GlobalContext* globalCtx, ObjectContext* objectCtx);
|
|
void Object_UpdateBank(ObjectContext* objectCtx);
|
|
s32 Object_GetIndex(ObjectContext* objectCtx, s16 objectId);
|
|
s32 Object_IsLoaded(ObjectContext* objectCtx, s32 bankIndex);
|
|
void func_800981B8(ObjectContext* objectCtx);
|
|
s32 Scene_ExecuteCommands(GlobalContext* globalCtx, SceneCmd* sceneCmd);
|
|
void func_80098CBC(GlobalContext* globalCtx, u8* nbTransitionActors);
|
|
void func_800994A0(GlobalContext* globalCtx);
|
|
void Scene_Draw(GlobalContext* globalCtx);
|
|
void SkelAnime_LodDraw(GlobalContext* globalCtx, Skeleton* skeleton, Vec3s* limbDrawTable,
|
|
OverrideLimbDraw overrideLimbDraw, PostLimbDraw postLimbDraw, Actor* actor, s32 dListIndex);
|
|
void SkelAnime_LodDrawSV(GlobalContext* globalCtx, Skeleton* skeleton, Vec3s* limbDrawTable, s32 dListCount,
|
|
OverrideLimbDraw overrideLimbDraw, PostLimbDraw postLimbDraw, Actor* actor, s32 dListIndex);
|
|
void SkelAnime_Draw(GlobalContext* globalCtx, Skeleton* skeleton, Vec3s* limbDrawTable,
|
|
OverrideLimbDraw overrideLimbDraw, PostLimbDraw postLimbDraw, Actor* actor);
|
|
void SkelAnime_DrawSV(GlobalContext* globalCtx, Skeleton* skeleton, Vec3s* limbDrawTable, s32 dListCount,
|
|
OverrideLimbDraw overrideLimbDraw, PostLimbDraw postLimbDraw, Actor* actor);
|
|
s16 SkelAnime_GetFrameCount(GenericAnimationHeader* animationSeg);
|
|
Gfx* SkelAnime_Draw2(GlobalContext* globalCtx, Skeleton* skeleton, Vec3s* limbDrawTable,
|
|
OverrideLimbDraw2 overrideLimbDraw, PostLimbDraw2 postLimbDraw, Actor* actor, Gfx* gfx);
|
|
Gfx* SkelAnime_DrawSV2(GlobalContext* globalCtx, Skeleton* skeleton, Vec3s* limbDrawTable, s32 dListCount,
|
|
OverrideLimbDraw2 overrideLimbDraw, PostLimbDraw2 postLimbDraw, Actor* actor, Gfx* gfx);
|
|
void SkelAnime_InterpolateVec3s(s32, Vec3s*, Vec3s*, Vec3s*, f32);
|
|
void SkelAnime_AnimationCtxReset(AnimationContext* animationCtx);
|
|
void func_800A32F4(GlobalContext* globalCtx);
|
|
void func_800A3310(GlobalContext* globalCtx);
|
|
void SkelAnime_LoadLinkAnimetion(GlobalContext* globalCtx, LinkAnimetionEntry* linkAnimetionSeg, s32 frame,
|
|
s32 limbCount, void* ram);
|
|
void SkelAnime_LoadAnimationType1(GlobalContext* globalCtx, s32 vecCount, Vec3s* dst, Vec3s* src);
|
|
void SkelAnime_LoadAnimationType2(GlobalContext* globalCtx, s32 limbCount, Vec3s* arg2, Vec3s* arg3, f32 arg4);
|
|
void SkelAnime_LoadAnimationType3(GlobalContext* globalCtx, s32 vecCount, Vec3s* dst, Vec3s* src, u8* index);
|
|
void SkelAnime_LoadAnimationType4(GlobalContext* globalCtx, s32 vecCount, Vec3s* dst, Vec3s* src, u8* index);
|
|
void SkelAnime_LoadAnimationType5(GlobalContext* globalCtx, Actor* actor, SkelAnime* skelAnime, f32 arg3);
|
|
void func_800A390C(GlobalContext* globalCtx, AnimationContext* animationCtx);
|
|
void SkelAnime_InitLinkAnimetion(GlobalContext* globalCtx, SkelAnime* skelAnime, SkeletonHeader* skeletonHeaderSeg,
|
|
LinkAnimetionEntry* linkAnimetionEntrySeg, s32 flags, Vec3s* limbDrawTable,
|
|
Vec3s* arg6, s32 limbBufCount);
|
|
void func_800A3B8C(SkelAnime* skelAnime);
|
|
s32 func_800A3BC0(GlobalContext* globalCtx, SkelAnime* skelAnime);
|
|
void func_800A3C9C(GlobalContext* globalCtx, SkelAnime* skelAnime);
|
|
void SkelAnime_SetTransition(GlobalContext* globalCtx, SkelAnime* skelAnime, f32 transitionRate);
|
|
void SkelAnime_ChangeLinkAnim(GlobalContext* globalCtx, SkelAnime* skelAnime, LinkAnimetionEntry* linkAnimetionEntrySeg,
|
|
f32 playbackSpeed, f32 frame, f32 frameCount, u8 arg6, f32 transitionRate);
|
|
void SkelAnime_ChangeLinkAnimDefaultStop(GlobalContext* globalCtx, SkelAnime* skelAnime,
|
|
LinkAnimetionEntry* linkAnimetionEntrySeg);
|
|
void SkelAnime_ChangeLinkAnimPlaybackStop(GlobalContext* globalCtx, SkelAnime* skelAnime,
|
|
LinkAnimetionEntry* linkAnimetionEntrySeg, f32 playbackSpeed);
|
|
void SkelAnime_ChangeLinkAnimDefaultRepeat(GlobalContext* globalCtx, SkelAnime* skelAnime,
|
|
LinkAnimetionEntry* linkAnimetionEntrySeg);
|
|
void SkelAnime_ChangeLinkAnimPlaybackRepeat(GlobalContext* globalCtx, SkelAnime* skelAnime,
|
|
LinkAnimetionEntry* linkAnimetionEntrySeg, f32 playbackSpeed);
|
|
void func_800A41FC(GlobalContext* globalCtx, SkelAnime* skelAnime);
|
|
void func_800A425C(GlobalContext* globalCtx, SkelAnime* skelAnime, LinkAnimetionEntry* linkAnimetionEntrySeg,
|
|
f32 frame);
|
|
void func_800A42A0(GlobalContext* globalCtx, SkelAnime* skelAnime, LinkAnimetionEntry* linkAnimetionEntrySeg,
|
|
f32 frame);
|
|
void func_800A42E4(GlobalContext* globalCtx, SkelAnime* skelAnime, f32 frame);
|
|
void func_800A431C(GlobalContext* globalCtx, SkelAnime* skelAnime, LinkAnimetionEntry* linkAnimetionEntrySeg,
|
|
f32 transitionFrame, LinkAnimetionEntry* linkAnimetionEntrySeg2, f32 frame, f32 transitionRate,
|
|
Vec3s* limbDrawTable);
|
|
void func_800A43B8(GlobalContext* globalCtx, SkelAnime* skelAnime, LinkAnimetionEntry* linkAnimetionEntrySeg,
|
|
f32 transitionFrame, LinkAnimetionEntry* linkAnimetionEntrySeg2, f32 frame, f32 transitionRate,
|
|
Vec3s* arg7);
|
|
s32 func_800A4530(SkelAnime* skelAnime, f32 arg1);
|
|
void SkelAnime_Init(GlobalContext* globalCtx, SkelAnime* skelAnime, SkeletonHeader* skeletonHeaderSeg,
|
|
AnimationHeader* animationseg, Vec3s* limbDrawTable, Vec3s* arg5, s32 limbCount);
|
|
void SkelAnime_InitSV(GlobalContext* globalCtx, SkelAnime* skelAnime, SkeletonHeader* skeletonHeaderSeg,
|
|
AnimationHeader* animationseg, Vec3s* limbDrawTable, Vec3s* arg5, s32 limbCount);
|
|
void SkelAnime_InitSkin(GlobalContext* globalCtx, SkelAnime* skelAnime, SkeletonHeader* skeletonHeaderSeg,
|
|
AnimationHeader* animationseg);
|
|
s32 SkelAnime_FrameUpdateMatrix(SkelAnime* skelAnime);
|
|
void SkelAnime_ChangeAnimImpl(SkelAnime* skelAnime, AnimationHeader* animationseg, f32 playbackSpeed, f32 frame,
|
|
f32 frameCount, u8 unk1, f32 transitionRate, s8 unk2);
|
|
void SkelAnime_ChangeAnim(SkelAnime* skelAnime, AnimationHeader* animationseg, f32 playbackSpeed, f32 unk0,
|
|
f32 frameCount, u8 unk1, f32 transitionRate);
|
|
void SkelAnime_ChangeAnimDefaultStop(SkelAnime* skelAnime, AnimationHeader* animationseg);
|
|
void SkelAnime_ChangeAnimTransitionStop(SkelAnime* skelAnime, AnimationHeader* animationseg, f32 transitionRate);
|
|
void SkelAnime_ChangeAnimPlaybackStop(SkelAnime* skelAnime, AnimationHeader* animationseg, f32 playbackSpeed);
|
|
void SkelAnime_ChangeAnimDefaultRepeat(SkelAnime* skelAnime, AnimationHeader* animationseg);
|
|
void SkelAnime_ChangeAnimTransitionRepeat(SkelAnime* skelAnime, AnimationHeader* animationseg, f32 transitionRate);
|
|
void SkelAnime_ChangeAnimPlaybackRepeat(SkelAnime* skelAnime, AnimationHeader* animationseg, f32 playbackSpeed);
|
|
void SkelAnime_AnimReverse(SkelAnime* skelAnime);
|
|
void func_800A5428(SkelAnime* skelAnime, Vec3s* dst, Vec3s* src, u8* index);
|
|
void func_800A54FC(SkelAnime* skelAnime, Vec3f* pos, s16 angle);
|
|
s32 func_800A56C8(SkelAnime* skelAnime, f32 arg1);
|
|
void SkelAnime_Free(SkelAnime* skelAnime, GlobalContext* globalCtx);
|
|
// ? func_800A57C0(?);
|
|
// ? func_800A598C(?);
|
|
// ? func_800A5E28(?);
|
|
// ? func_800A5F60(?);
|
|
// ? func_800A60D8(?);
|
|
void func_800A6330(Actor* this, GlobalContext* globalCtx, PSkinAwb*, void* callback, s32);
|
|
// ? func_800A6460(?);
|
|
void func_800A663C(GlobalContext* globalCtx, PSkinAwb*, SkeletonHeader*, AnimationHeader*);
|
|
void func_800A6888(GlobalContext*, PSkinAwb*);
|
|
// ? func_800A698C(?);
|
|
// ? func_800A6AC4(?);
|
|
// ? func_800A6E10(?);
|
|
void func_800A6EF4(MtxF* mf, Vec3f* src, Vec3f* dest);
|
|
void func_800A6FA0(MtxF* mf1, MtxF* mf2, MtxF* dest);
|
|
// ? func_800A72FC(?);
|
|
// ? func_800A730C(?);
|
|
// ? func_800A735C(?);
|
|
// ? func_800A73E0(?);
|
|
void func_800A76A4(MtxF* dest, f32 x, f32 y, f32 z);
|
|
void func_800A7704(MtxF* dest, s16 x, s16 y, s16 z);
|
|
// ? func_800A7894(?);
|
|
void func_800A7A24(MtxF* dest, f32 x, f32 y, f32 z);
|
|
// ? func_800A7B04(?);
|
|
// ? func_800A7B84(?);
|
|
// ? func_800A7C60(?);
|
|
Mtx* func_800A7E70(GraphicsContext* gfxCtx, MtxF* src);
|
|
void func_800A7EC0(MtxF* dest, s16 arg1, f32 x, f32 y, f32 z);
|
|
// ? func_800A81A0(?);
|
|
// ? func_800A82C8(?);
|
|
// ? func_800A9A9C(?);
|
|
// ? func_800A9D28(?);
|
|
void func_800A9D40(u32 addr, u8 handleType, u8 handleDomain, u8 handleLatency, u8 handlePageSize, u8 handleRelDuration,
|
|
u8 handlePulse, u32 handleSpeed);
|
|
void func_800A9E14(UNK_PTR dramAddr, size_t size, UNK_TYPE arg2);
|
|
void Sram_ReadWrite(UNK_TYPE arg0, UNK_PTR dramAddr, size_t size, UNK_TYPE arg3);
|
|
void func_800A9F30(PadMgr*, s32);
|
|
void func_800A9F6C(f32, u8, u8, u8);
|
|
void func_800AA000(f32, u8, u8, u8);
|
|
void func_800AA0B4();
|
|
u32 func_800AA148();
|
|
void func_800AA15C();
|
|
void func_800AA16C();
|
|
void func_800AA178(u32);
|
|
View* View_New(GraphicsContext* gfxCtx);
|
|
void View_Free(View* view);
|
|
void View_Init(View*, GraphicsContext*);
|
|
void func_800AA358(View* view, Vec3f* eye, Vec3f* vec2, Vec3f* vec3);
|
|
void func_800AA3F0(View* view, Vec3f* eye, Vec3f* vec2, Vec3f* vec3);
|
|
void View_SetScale(View* view, f32 scale);
|
|
void View_GetScale(View* view, f32* scale);
|
|
void func_800AA460(View* view, f32 fovy, f32 near, f32 far);
|
|
void func_800AA48C(View* view, f32* fovy, f32* near, f32* far);
|
|
void func_800AA4A8(View* view, f32 fovy, f32 near, f32 far);
|
|
void func_800AA4E0(View* view, f32* fovy, f32* near, f32* far);
|
|
void View_SetViewport(View* view, Viewport* viewport);
|
|
void View_GetViewport(View* view, Viewport* viewport);
|
|
void func_800AA76C(View* view, f32 arg1, f32 arg2, f32 arg3);
|
|
void func_800AA78C(View* view, f32 arg1, f32 arg2, f32 arg3);
|
|
void func_800AA7AC(View* view, f32 arg1);
|
|
void func_800AA7B8(View* view);
|
|
void func_800AA814(View* view);
|
|
void func_800AA840(View* view, Vec3f vec1, Vec3f vec2, f32 arg3);
|
|
s32 func_800AA890(View* view, Mtx* mtx);
|
|
void func_800AAA50(View* view, s32 arg1);
|
|
s32 func_800AAA9C(View* view);
|
|
s32 func_800AB0A8(View* view);
|
|
s32 func_800AB2C4(View* view);
|
|
s32 func_800AB560(View* view);
|
|
s32 func_800AB944(View* view);
|
|
s32 func_800AB9EC(View* view, s32 arg1, Gfx** p);
|
|
s32 func_800ABE74(f32 eyeX, f32 eyeY, f32 eyeZ);
|
|
// ? func_800AC030(?);
|
|
// ? func_800AC2F4(?);
|
|
// ? func_800AC89C(?);
|
|
// ? func_800AC9A4(?);
|
|
// ? func_800ACA28(?);
|
|
// ? func_800ACA90(?);
|
|
// ? func_800ACA98(?);
|
|
// ? func_800ACAF8(?);
|
|
void func_800ACE70(struct_801664F0* this);
|
|
void func_800ACE90(struct_801664F0* this);
|
|
void func_800ACE98(struct_801664F0* this, Gfx** gfxp);
|
|
void VisMono_Init(VisMono* this);
|
|
void VisMono_Destroy(VisMono* this);
|
|
void VisMono_UpdateTexture(VisMono* this, u16* tex);
|
|
Gfx* VisMono_DrawTexture(VisMono* this, Gfx* gfx);
|
|
void VisMono_Draw(VisMono* this, Gfx** gfxp);
|
|
void VisMono_DrawOld(VisMono* this);
|
|
void func_800AD920(struct_80166500* this);
|
|
void func_800AD950(struct_80166500* this);
|
|
void func_800AD958(struct_80166500* this, Gfx** gfxp);
|
|
// ? func_800ADBB0(?);
|
|
// ? func_800AE2C0(?);
|
|
// ? func_800AEFC8(?);
|
|
// ? func_800AF178(?);
|
|
// ? func_800AF218(?);
|
|
// ? func_800B0E50(?);
|
|
Mtx* SkyboxDraw_UpdateMatrix(SkyboxContext* skyboxCtx, f32 x, f32 y, f32 z);
|
|
void SkyboxDraw_Draw(SkyboxContext* skyboxCtx, GraphicsContext* gfxCtx, s16 skyboxId, s16 alpha, f32 x, f32 y, f32 z);
|
|
void SkyboxDraw_Update(SkyboxContext* skyboxCtx);
|
|
void PlayerCall_InitFuncPtrs();
|
|
void TransitionUnk_InitGraphics(TransitionUnk* this);
|
|
void TransitionUnk_InitData(TransitionUnk* this);
|
|
void TransitionUnk_Destroy(TransitionUnk* this);
|
|
TransitionUnk* TransitionUnk_Init(TransitionUnk* this, s32 row, s32 col);
|
|
void TransitionUnk_SetData(TransitionUnk* this);
|
|
void TransitionUnk_Draw(TransitionUnk* this, Gfx**);
|
|
void func_800B23E8(TransitionUnk* this);
|
|
void TransitionTriforce_Start(TransitionTriforce* this);
|
|
TransitionTriforce* TransitionTriforce_Init(TransitionTriforce* this);
|
|
void TransitionTriforce_Destroy(TransitionTriforce* this);
|
|
void TransitionTriforce_Update(TransitionTriforce* this, s32 updateRate);
|
|
void TransitionTriforce_SetColor(TransitionTriforce* this, u32 color);
|
|
void TransitionTriforce_SetType(TransitionTriforce* this, s32 type);
|
|
void TransitionTriforce_Draw(TransitionTriforce* this, Gfx** gfxP);
|
|
s32 TransitionTriforce_IsDone(TransitionTriforce* this);
|
|
void TransitionWipe_Start(TransitionWipe* this);
|
|
TransitionWipe* TransitionWipe_Init(TransitionWipe* this);
|
|
void TransitionWipe_Destroy(TransitionWipe* this);
|
|
void TransitionWipe_Update(TransitionWipe* this, s32 updateRate);
|
|
void TransitionWipe_Draw(TransitionWipe* this, Gfx** gfxP);
|
|
s32 TransitionWipe_IsDone(TransitionWipe* this);
|
|
void TransitionWipe_SetType(TransitionWipe* this, s32 type);
|
|
void TransitionWipe_SetColor(TransitionWipe* this, u32 color);
|
|
void TransitionCircle_Start(TransitionCircle* this);
|
|
TransitionCircle* TransitionCircle_Init(TransitionCircle* this);
|
|
void TransitionCircle_Destroy(TransitionCircle* this);
|
|
void TransitionCircle_Update(TransitionCircle* this, s32 updateRate);
|
|
void TransitionCircle_Draw(TransitionCircle* this, Gfx** gfxP);
|
|
s32 TransitionCircle_IsDone(TransitionCircle* this);
|
|
void TransitionCircle_SetType(TransitionCircle* this, s32 type);
|
|
void TransitionCircle_SetColor(TransitionCircle* this, u32 color);
|
|
void TransitionCircle_SetEnvColor(TransitionCircle* this, u32 color);
|
|
void TransitionFade_Start(TransitionFade* this);
|
|
TransitionFade* TransitionFade_Init(TransitionFade* this);
|
|
void TransitionFade_Destroy(TransitionFade* this);
|
|
void TransitionFade_Update(TransitionFade* this, s32 updateRate);
|
|
void TransitionFade_Draw(TransitionFade* this, Gfx** gfxP);
|
|
s32 TransitionFade_IsDone(TransitionFade* this);
|
|
void TransitionFade_SetColor(TransitionFade* this, u32 color);
|
|
void TransitionFade_SetType(TransitionFade* this, s32 type);
|
|
// ? func_800B3840(?);
|
|
// ? func_800B3898(?);
|
|
// ? func_800B38A4(?);
|
|
// ? func_800B38FC(?);
|
|
// ? func_800B3908(?);
|
|
// ? func_800B3968(?);
|
|
// ? func_800B39B8(?);
|
|
// ? func_800B3B50(?);
|
|
// ? func_800B3BD4(?);
|
|
// ? func_800B3DF8(?);
|
|
// ? func_800B3EBC(?);
|
|
// ? func_800B3EFC(?);
|
|
// ? func_800B3F38(?);
|
|
// ? func_800B3F54(?);
|
|
// ? func_800B3F94(?);
|
|
// ? func_800B3FF4(?);
|
|
// ? func_800B404C(?);
|
|
// ? func_800B4088(?);
|
|
// ? func_800B41DC(?);
|
|
// ? func_800B42C0(?);
|
|
// ? func_800B4370(?);
|
|
// ? func_800B44E0(?);
|
|
// ? func_800B4920(?);
|
|
// ? func_800B4A68(?);
|
|
// ? func_800B4AA8(?);
|
|
// ? func_800B4AE4(?);
|
|
// ? func_800B4B20(?);
|
|
// ? func_800B4D58(?);
|
|
// ? func_800B4DE4(?);
|
|
// ? func_800B4E7C(?);
|
|
// ? func_800B8730(?);
|
|
// ? func_800B87D8(?);
|
|
// ? func_800B8978(?);
|
|
// ? func_800B8A0C(?);
|
|
// ? func_800B8BA4(?);
|
|
// ? func_800B8F58(?);
|
|
// ? func_800B9060(?);
|
|
// ? func_800B91B0(?);
|
|
// ? func_800B958C(?);
|
|
// ? func_800B9638(?);
|
|
// ? func_800BB0A0(?);
|
|
// ? func_800BB2B4(?);
|
|
s32 Mempak_Init(s32 controllerNb);
|
|
s32 Mempak_GetFreeBytes(s32 controllerNb);
|
|
s32 Mempak_FindFile(s32 controllerNb, char start, char end);
|
|
s32 Mempak_Write(s32 controllerNb, char idx, void* buffer, s32 offset, s32 size);
|
|
s32 Mempak_Read(s32 controllerNb, char idx, void* buffer, s32 offset, s32 size);
|
|
s32 Mempak_Alloc(s32 controllerNb, char* idx, s32 size);
|
|
s32 Mempak_DeleteFile(s32 controllerNb, char idx);
|
|
s32 Mempak_GetFileSize(s32 controllerNb, char idx);
|
|
void KaleidoManager_LoadOvl(KaleidoManagerOvl* ovl);
|
|
void KaleidoManager_ClearOvl(KaleidoManagerOvl* ovl);
|
|
void KaleidoManager_Init(GlobalContext* globalCtx);
|
|
void KaleidoManager_Destroy();
|
|
void* KaleidoManager_GetRamAddr(void* vram);
|
|
void KaleidoScopeCall_LoadPlayer();
|
|
void KaleidoScopeCall_Init(GlobalContext* globalCtx);
|
|
void KaleidoScopeCall_Destroy(GlobalContext* globalCtx);
|
|
void KaleidoScopeCall_Update(GlobalContext* globalCtx);
|
|
void KaleidoScopeCall_Draw(GlobalContext* globalCtx);
|
|
void func_800BC490(GlobalContext* globalCtx, s16 point);
|
|
s32 func_800BC56C(GlobalContext* globalCtx, s16 arg1);
|
|
void func_800BC590(GlobalContext* globalCtx);
|
|
void func_800BC5E0(GlobalContext* globalCtx, s32 arg1);
|
|
Gfx* func_800BC8A0(GlobalContext* globalCtx, Gfx* gfx);
|
|
void Gameplay_Destroy(GlobalContext* globalCtx);
|
|
void Gameplay_Init(GlobalContext* globalCtx);
|
|
void Gameplay_Main(GlobalContext* globalCtx);
|
|
s32 Gameplay_InCsMode(GlobalContext* globalCtx);
|
|
f32 func_800BFCB8(GlobalContext* globalCtx, MtxF* mf, Vec3f* vec);
|
|
void* Gameplay_LoadFile(GlobalContext* globalCtx, RomFile* file);
|
|
void Gameplay_SpawnScene(GlobalContext* globalCtx, s32 sceneNum, s32 spawn);
|
|
void func_800C016C(GlobalContext* globalCtx, Vec3f* src, Vec3f* dest);
|
|
s16 Gameplay_CreateSubCamera(GlobalContext* globalCtx);
|
|
s16 Gameplay_GetActiveCamId(GlobalContext* globalCtx);
|
|
void Gameplay_ChangeCameraStatus(GlobalContext* globalCtx, s16 camId, s16 status);
|
|
void Gameplay_ClearCamera(GlobalContext* globalCtx, s16 camId);
|
|
void Gameplay_ClearAllSubCameras(GlobalContext* globalCtx);
|
|
Camera* Gameplay_GetCamera(GlobalContext* globalCtx, s16 camId);
|
|
s32 func_800C04D8(GlobalContext* globalCtx, s16 camId, Vec3f* arg2, Vec3f* arg3);
|
|
s32 func_800C05E4(GlobalContext* globalCtx, s16 camId, Vec3f* arg2, Vec3f* arg3, Vec3f* arg4);
|
|
s32 func_800C0704(GlobalContext* globalCtx, s16 camId, f32 arg2);
|
|
s32 func_800C0744(GlobalContext* globalCtx, s16 camId, s16 arg2);
|
|
void func_800C078C(GlobalContext* globalCtx, s16 camId1, s16 camId2);
|
|
s32 func_800C0808(GlobalContext* globalCtx, s16 camId, Player* player, s16 arg3);
|
|
void func_800C0874(GlobalContext* globalCtx, s16 camId, s16 arg2);
|
|
void func_800C08AC(GlobalContext* globalCtx, s16 camId, s16 arg2);
|
|
void Gameplay_SaveSceneFlags(GlobalContext* globalCtx);
|
|
void Gameplay_SetupRespawnPoint(GlobalContext* globalCtx, s32 respawnMode, s32 playerParams);
|
|
void Gameplay_TriggerVoidOut(GlobalContext* globalCtx);
|
|
void Gameplay_TriggerRespawn(GlobalContext* globalCtx);
|
|
s32 func_800C0CB8(GlobalContext* globalCtx);
|
|
s32 func_800C0D28(GlobalContext* globalCtx);
|
|
s32 func_800C0D34(GlobalContext* globalCtx, Actor* actor, s16* yaw);
|
|
// ? func_800C0E70(?);
|
|
// ? func_800C0EA8(?);
|
|
// ? func_800C0ED8(?);
|
|
// ? func_800C0F08(?);
|
|
// ? func_800C0F28(?);
|
|
// ? func_800C1258(?);
|
|
// ? func_800C170C(?);
|
|
// ? func_800C1AE8(?);
|
|
// ? func_800C1B24(?);
|
|
// ? func_800C1F20(?);
|
|
// ? func_800C1FA4(?);
|
|
// ? func_800C20B4(?);
|
|
// ? func_800C24BC(?);
|
|
// ? func_800C2500(?);
|
|
// ? func_800C2FE4(?);
|
|
// ? func_800C3770(?);
|
|
void THGA_Ct(TwoHeadGfxArena* thga, Gfx* start, u32 size);
|
|
void THGA_Dt(TwoHeadGfxArena* thga);
|
|
u32 THGA_IsCrash(TwoHeadGfxArena* thga);
|
|
void THGA_Init(TwoHeadGfxArena* thga);
|
|
s32 THGA_GetSize(TwoHeadGfxArena* thga);
|
|
Gfx* THGA_GetHead(TwoHeadGfxArena* thga);
|
|
void THGA_SetHead(TwoHeadGfxArena* thga, Gfx* start);
|
|
Gfx* THGA_GetTail(TwoHeadGfxArena* thga);
|
|
Gfx* THGA_AllocStartArray8(TwoHeadGfxArena* thga, u32 count);
|
|
Gfx* THGA_AllocStart8(TwoHeadGfxArena* thga);
|
|
Gfx* THGA_AllocStart8Wrapper(TwoHeadGfxArena* thga);
|
|
Gfx* THGA_AllocEnd(TwoHeadGfxArena* thga, u32 size);
|
|
Gfx* THGA_AllocEndArray64(TwoHeadGfxArena* thga, u32 count);
|
|
Gfx* THGA_AllocEnd64(TwoHeadGfxArena* thga);
|
|
Gfx* THGA_AllocEndArray16(TwoHeadGfxArena* thga, u32 count);
|
|
Gfx* THGA_AllocEnd16(TwoHeadGfxArena* thga);
|
|
void* THA_GetHead(TwoHeadArena* tha);
|
|
void THA_SetHead(TwoHeadArena* tha, void* start);
|
|
void* THA_GetTail(TwoHeadArena* tha);
|
|
void* THA_AllocStart(TwoHeadArena* tha, u32 size);
|
|
void* THA_AllocStart1(TwoHeadArena* tha);
|
|
void* THA_AllocEnd(TwoHeadArena* tha, u32 size);
|
|
void* THA_AllocEndAlign16(TwoHeadArena* tha, u32 size);
|
|
void* THA_AllocEndAlign(TwoHeadArena* tha, u32 size, u32 mask);
|
|
s32 THA_GetSize(TwoHeadArena* tha);
|
|
u32 THA_IsCrash(TwoHeadArena* tha);
|
|
void THA_Init(TwoHeadArena* tha);
|
|
void THA_Ct(TwoHeadArena* tha, void* ptr, u32 size);
|
|
void THA_Dt(TwoHeadArena* tha);
|
|
// ? func_800C3C20(?);
|
|
void func_800C3C80(AudioMgr* audioMgr);
|
|
void AudioMgr_HandleRetrace(AudioMgr* audioMgr);
|
|
void AudioMgr_HandlePRENMI(AudioMgr* audioMgr);
|
|
void AudioMgr_ThreadEntry(void* arg0);
|
|
void AudioMgr_Unlock(AudioMgr* audioMgr);
|
|
void AudioMgr_Start(AudioMgr* audioMgr, void* stack, OSPri pri, OSId id, SchedContext* sched, IrqMgr* irqMgr);
|
|
void TitleSetup_InitImpl(GameState* gameState);
|
|
void TitleSetup_Destroy(GameState* gameState);
|
|
void TitleSetup_Init(GameState* gameState);
|
|
void GameState_FaultPrint(void);
|
|
void GameState_SetFBFilter(Gfx** gfx);
|
|
// ? func_800C4344(?);
|
|
void GameState_DrawInputDisplay(u16 input, Gfx** gfx);
|
|
void GameState_Draw(GameState* gameState, GraphicsContext* gfxCtx);
|
|
void GameState_SetFrameBuffer(GraphicsContext* gfxCtx);
|
|
// ? func_800C49F4(?);
|
|
void GameState_ReqPadData(GameState* gameState);
|
|
void GameState_Update(GameState* gameState);
|
|
void GameState_InitArena(GameState* gameState, size_t size);
|
|
void GameState_Realloc(GameState* gameState, size_t size);
|
|
void GameState_Init(GameState* gameState, GameStateFunc init, GraphicsContext* gfxCtx);
|
|
void GameState_Destroy(GameState* gameState);
|
|
GameStateFunc GameState_GetInit(GameState* gameState);
|
|
u32 GameState_IsRunning(GameState* gameState);
|
|
void* GameState_Alloc(GameState* gameState, size_t size, char* file, s32 line);
|
|
void func_800C55D0(GameAlloc* this);
|
|
void* GameAlloc_MallocDebug(GameAlloc* this, u32 size, const char* file, s32 line);
|
|
void* GameAlloc_Malloc(GameAlloc* this, u32 size);
|
|
void GameAlloc_Free(GameAlloc* this, void* data);
|
|
void GameAlloc_Cleanup(GameAlloc* this);
|
|
void GameAlloc_Init(GameAlloc* this);
|
|
void Graph_FaultClient();
|
|
void Graph_DisassembleUCode(void* arg0);
|
|
void Graph_UCodeFaultClient(void* arg0);
|
|
void* Graph_InitTHGA(GraphicsContext* gfxCtx);
|
|
GameStateOverlay* Graph_GetNextGameState(GameState* gameState);
|
|
void Graph_Init(GraphicsContext* gfxCtx);
|
|
void Graph_Destroy(GraphicsContext* gfxCtx);
|
|
void Graph_TaskSet00(GraphicsContext* gfxCtx);
|
|
void Graph_Update(GraphicsContext* gfxCtx, GameState* gameState);
|
|
void Graph_ThreadEntry(void*);
|
|
void* Graph_Alloc(GraphicsContext* gfxCtx, size_t size);
|
|
void* Graph_Alloc2(GraphicsContext* gfxCtx, size_t size);
|
|
void Graph_OpenDisps(Gfx** dispRefs, GraphicsContext* gfxCtx, const char* file, s32 line);
|
|
void Graph_CloseDisps(Gfx** dispRefs, GraphicsContext* gfxCtx, const char* file, s32 line);
|
|
Gfx* Graph_GfxPlusOne(Gfx* gfx);
|
|
Gfx* Graph_BranchDlist(Gfx* gfx, Gfx* dst);
|
|
void* Graph_DlistAlloc(Gfx** gfx, u32 size);
|
|
ListAlloc* ListAlloc_Init(ListAlloc* this);
|
|
void* ListAlloc_Alloc(ListAlloc* this, u32 size);
|
|
void ListAlloc_Free(ListAlloc* this, void* data);
|
|
void ListAlloc_FreeAll(ListAlloc* this);
|
|
void Main_LogSystemHeap();
|
|
void Main(void*);
|
|
OSMesgQueue* PadMgr_LockSerialMesgQueue(PadMgr* padmgr);
|
|
void PadMgr_UnlockSerialMesgQueue(PadMgr* padmgr, OSMesgQueue* ctrlrqueue);
|
|
void PadMgr_LockPadData(PadMgr* padmgr);
|
|
void PadMgr_UnlockPadData(PadMgr* padmgr);
|
|
void PadMgr_RumbleControl(PadMgr* padmgr);
|
|
void PadMgr_RumbleStop(PadMgr* padmgr);
|
|
void PadMgr_RumbleReset(PadMgr* padmgr);
|
|
void PadMgr_RumbleSet(PadMgr* padmgr, u8* ctrlr_rumbles);
|
|
void PadMgr_ProcessInputs(PadMgr* padmgr);
|
|
void PadMgr_HandleRetraceMsg(PadMgr* padmgr);
|
|
void PadMgr_HandlePreNMI(PadMgr* padmgr);
|
|
// This function must remain commented out, because it is called incorrectly in
|
|
// fault.c (actual bug in game), and the compiler notices and won't compile it
|
|
// void PadMgr_RequestPadData(PadMgr* padmgr, Input* inputs, s32 mode);
|
|
void PadMgr_Init(PadMgr* padmgr, OSMesgQueue* siIntMsgQ, IrqMgr* irqMgr, OSId id, OSPri priority, void* stack);
|
|
void Sched_SwapFrameBuffer(CfbInfo* cfbInfo);
|
|
void func_800C84E4(SchedContext* sc, CfbInfo* cfbInfo);
|
|
void Sched_HandleReset(SchedContext* sc);
|
|
void Sched_HandleStart(SchedContext* sc);
|
|
void Sched_QueueTask(SchedContext* sc, OSScTask* task);
|
|
void Sched_Yield(SchedContext* sc);
|
|
OSScTask* func_800C89D4(SchedContext* sc, OSScTask* task);
|
|
s32 Sched_Schedule(SchedContext* sc, OSScTask** sp, OSScTask** dp, s32 state);
|
|
void func_800C8BC4(SchedContext* sc, OSScTask* task);
|
|
u32 Sched_IsComplete(SchedContext* sc, OSScTask* task);
|
|
void Sched_RunTask(SchedContext* sc, OSScTask* spTask, OSScTask* dpTask);
|
|
void Sched_HandleEntry(SchedContext* sc);
|
|
void Sched_HandleRetrace(SchedContext* sc);
|
|
void Sched_HandleRSPDone(SchedContext* sc);
|
|
void Sched_HandleRDPDone(SchedContext* sc);
|
|
void Sched_SendEntryMsg(OSMesgQueue* mq);
|
|
void Sched_ThreadEntry(void* arg);
|
|
void Sched_Init(SchedContext* sc, void* stack, OSPri priority, UNK_TYPE arg3, UNK_TYPE arg4, IrqMgr* irqMgr);
|
|
void SpeedMeter_InitImpl(SpeedMeter* this, u32 arg1, u32 y);
|
|
void SpeedMeter_Init(SpeedMeter* this);
|
|
void SpeedMeter_Destroy(SpeedMeter* this);
|
|
void SpeedMeter_DrawTimeEntries(SpeedMeter* this, GraphicsContext* gfxCtx);
|
|
void SpeedMeter_InitAllocEntry(SpeedMeterAllocEntry* entry, u32 maxval, u32 val, u16 backColor, u16 foreColor, u32 ulx,
|
|
u32 lrx, u32 uly, u32 lry);
|
|
void SpeedMeter_DrawAllocEntry(SpeedMeterAllocEntry* this, GraphicsContext* gfxCtx);
|
|
void SpeedMeter_DrawAllocEntries(SpeedMeter* meter, GraphicsContext* gfxCtx, GameState* state);
|
|
void SysCfb_Init(s32 n64dd);
|
|
u32 SysCfb_GetFbPtr(s32 idx);
|
|
u32 SysCfb_GetFbEnd();
|
|
f32 func_800CA720(f32);
|
|
f32 func_800CA774(f32);
|
|
s32 func_800CA7D0(f32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, f32 arg5, f32 arg6, f32 arg7, Vec3f* arg8,
|
|
Vec3f* arg9, Vec3f* argA);
|
|
void Math3D_LineVsPos(Linef* arg0, Vec3f* arg1, Vec3f* arg2);
|
|
s32 func_800CAEE8(f32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, f32 arg5, f32 arg6, f32 arg7, Vec3f* arg8,
|
|
Vec3f* arg9);
|
|
void func_800CAFA0(Vec3f* arg0, Vec3f* arg1, f32 arg2, Vec3f* arg3);
|
|
f32 Math3D_DotProduct(Vec3f* vec1, Vec3f* vec2);
|
|
s32 func_800CB010(Vec3f* vec1, Vec3f* vec2, f32* dst);
|
|
void func_800CB0C0(Vec3f* vec1, Vec3f* vec2, Vec3f* ret);
|
|
s32 func_800CB198(f32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, f32 arg5);
|
|
f32 func_800CB55C(f32 arg0, f32 arg1);
|
|
f32 func_800CB594(f32 arg0, f32 arg1, f32 arg2, f32 arg3);
|
|
f32 func_800CB600(Vec3f* vec);
|
|
f32 Math3D_Vec3fMagnitude(Vec3f* vec);
|
|
f32 func_800CB650(Vec3f* arg0, Vec3f* arg1);
|
|
void Math3D_Vec3f_Cross(Vec3f* a, Vec3f* b, Vec3f* ret);
|
|
void Math3D_SurfaceNorm(Vec3f* va, Vec3f* vb, Vec3f* vc, Vec3f* normal);
|
|
f32 Math3D_Vec3f_DistXYZ(Vec3f*, Vec3f*);
|
|
s32 func_800CB88C(Vec3f* arg0, Vec3f* arg1, Vec3f* arg2);
|
|
s32 func_800CB934(Vec3f* arg0, Vec3f* arg1, Vec3f* arg2);
|
|
s32 func_800CBAE4(Vec3f* arg0, Vec3f* arg1, Vec3f* arg2);
|
|
s32 func_800CBC60(Vec3f* arg0, Vec3f* arg1, Vec3f* arg2, Vec3f* arg3);
|
|
void func_800CC824(Vec3f* arg0, s16 arg1, f32* arg2, f32* arg3, f32* arg4);
|
|
void func_800CC8B4(Vec3f* va, Vec3f* vb, Vec3f* vc, f32* nx, f32* ny, f32* nz, f32* nd);
|
|
f32 Math3D_UDistPlaneToPos(f32 x, f32 y, f32 z, f32 arg3, Vec3f* norm);
|
|
f32 Math3D_DistPlaneToPos(f32 x, f32 y, f32 z, f32 arg3, Vec3f* norm);
|
|
s32 func_800CCF48(Vec3f* arg0, Vec3f* arg1, Vec3f* arg2, f32 arg3, f32 arg4);
|
|
s32 func_800CCF98(Vec3f* arg0, Vec3f* arg1, Vec3f* arg2, f32 arg3, f32 normMagnitude, f32 arg5, f32 arg6, f32 arg7,
|
|
f32 arg8, f32* pointDist, f32 argA);
|
|
s32 func_800CD044(Vec3f* arg0, Vec3f* arg1, Vec3f* arg2, f32 arg3, f32 arg4, f32 arg5, f32 arg6, f32 arg7, f32 arg8,
|
|
f32* arg9, f32 argA);
|
|
s32 Math3D_TriVtxCylTouching(Vec3f* arg0, Vec3f* arg1, Vec3f* arg2, f32 arg3, f32 arg4, f32 arg5, f32 arg6, f32 arg7,
|
|
f32 arg8, f32* arg9, f32 argA, f32 argB);
|
|
s32 func_800CD2D8(Vec3f* v0, Vec3f* v1, Vec3f* v2, Plane* plane, f32 z, f32 x, f32 arg6);
|
|
s32 func_800CD6B0(Vec3f* arg0, Vec3f* arg1, Vec3f* arg2, f32 arg3, f32 arg4, f32 arg5, f32 arg6, f32 arg7, f32 arg8,
|
|
f32* arg9);
|
|
s32 func_800CD7D8(Vec3f* arg0, Vec3f* arg1, Vec3f* arg2, f32 arg3, f32 arg4, f32 arg5, f32 arg6, f32 arg7, f32 arg8,
|
|
f32* arg9, f32 argA, f32 argB);
|
|
s32 func_800CD95C(Vec3f* arg0, Vec3f* arg1, Vec3f* arg2, f32* arg3, f32 arg4, f32 arg5, f32 arg6);
|
|
s32 func_800CDD60(Vec3f* arg0, Vec3f* arg1, Vec3f* arg2, f32 arg3, f32 arg4, f32 arg5, f32 arg6, f32 arg7, f32 arg8,
|
|
f32* arg9);
|
|
s32 func_800CDE88(Vec3f* arg0, Vec3f* arg1, Vec3f* arg2, f32 arg3, f32 arg4, f32 arg5, f32 arg6, f32 arg7, f32 arg8,
|
|
f32* arg9, f32 argA, f32 argB);
|
|
s32 func_800CE010(Vec3f* arg0, Vec3f* arg1, Vec3f* arg2, Vec3f* arg3, f32 arg4, f32 arg5, f32 arg6);
|
|
s32 func_800CE15C(f32 arg0, f32 arg1, f32 arg2, f32 arg3, Vec3f* arg4, Vec3f* arg5, Vec3f* arg6, s32 arg7);
|
|
void Math3D_TriNorm(TriNorm* tri, Vec3f* va, Vec3f* vb, Vec3f* vc);
|
|
s32 func_800CE4B8(f32 param_1, f32 param_2, f32 param_3, f32 param_4, f32 param_5, f32 param_6, f32* param_7);
|
|
s32 func_800CE600(Sphere16* arg0, Linef* arg1);
|
|
s32 func_800CE934(Sphere16* arg0, TriNorm* arg1, Vec3f* arg2);
|
|
s32 func_800CEE0C(Cylinder16* arg0, Vec3f* arg1, Vec3f* arg2, Vec3f* arg3, Vec3f* arg4);
|
|
s32 Math3D_CylTriTouching(Cylinder16* cyl, TriNorm* tri);
|
|
s32 Math3D_CylTriTouchingIntersect(Cylinder16* cyl, TriNorm* tri, Vec3f* intersect);
|
|
s32 Math3D_SpheresTouching(Sphere16* sphereA, Sphere16* sphereB);
|
|
s32 Math3D_SpheresTouchingSurface(Sphere16* arg0, Sphere16* arg1, f32* arg2);
|
|
s32 Math3D_SpheresTouchingSurfaceCenter(Sphere16* arg0, Sphere16* arg1, f32* arg2, f32* arg3);
|
|
s32 func_800CFD84(Sphere16* sph, Cylinder16* cyl, f32* surfaceDist);
|
|
s32 func_800CFDA4(Sphere16* sph, Cylinder16* cyl, f32* surfaceDist, f32* centerDist);
|
|
s32 Math3D_CylinderOutCylinder(Cylinder16* arg0, Cylinder16* arg1, f32* arg2);
|
|
s32 Math3D_CylinderOutCylinderDist(Cylinder16* arg0, Cylinder16* arg1, f32* arg2, f32* arg3);
|
|
s32 Math3D_TrisIntersect(TriNorm* ta, TriNorm* tb, Vec3f* intersect);
|
|
s32 func_800D0480(Sphere16* arg0, f32 arg1, f32 arg2);
|
|
s32 func_800D04F0(Sphere16* arg0, f32 arg1, f32 arg2);
|
|
s32 func_800D0560(Sphere16* arg0, f32 arg1, f32 arg2);
|
|
void func_800D05D0(GlobalContext* globalCtx, Sphere16* sph);
|
|
void func_800D05DC(GlobalContext* globalCtx, Cylinder16* cyl);
|
|
s16 atan2s(f32 x, f32 y);
|
|
f32 atan2f(f32 x, f32 y);
|
|
void Matrix_Init(GameState* gameState);
|
|
void Matrix_Push(void);
|
|
void Matrix_Pull(void);
|
|
void Matrix_Get(MtxF* dest);
|
|
void Matrix_Put(MtxF* src);
|
|
void Matrix_Mult(MtxF* mf, u8 mode);
|
|
void Matrix_Translate(f32 x, f32 y, f32 z, u8 mode);
|
|
void Matrix_Scale(f32 x, f32 y, f32 z, u8 mode);
|
|
void Matrix_RotateX(f32 x, u8 mode);
|
|
void Matrix_RotateY(f32 y, u8 mode);
|
|
void Matrix_RotateZ(f32 z, u8 mode);
|
|
void Matrix_RotateRPY(s16 x, s16 y, s16 z, u8 mode);
|
|
void Matrix_JointPosition(Vec3f* position, Vec3s* rotation);
|
|
void func_800D1694(f32 x, f32 y, f32 z, Vec3s* vec);
|
|
Mtx* Matrix_MtxFToMtx(MtxF* src, Mtx* dest);
|
|
Mtx* Matrix_ToMtx(Mtx* dest, char* file, s32 line);
|
|
Mtx* Matrix_NewMtx(GraphicsContext* gfxCtx, char* file, s32 line);
|
|
Mtx* Matrix_MtxFToNewMtx(MtxF* src, GraphicsContext* gfxCtx);
|
|
void Matrix_MultVec3f(Vec3f* src, Vec3f* dest);
|
|
void Matrix_MtxFCopy(MtxF* dest, MtxF* src);
|
|
void Matrix_MtxToMtxF(Mtx* src, MtxF* dest);
|
|
void Matrix_MultVec3fExt(Vec3f* src, Vec3f* dest, MtxF* mf);
|
|
void Matrix_Reverse(MtxF* mf);
|
|
void func_800D1FD4(MtxF* mf);
|
|
void func_800D20CC(MtxF* mf, Vec3s* vec, s32 flag);
|
|
void func_800D2264(MtxF* mf, Vec3s* vec, s32 flag);
|
|
void func_800D23FC(f32 f, Vec3f* vec, u8 mode);
|
|
MtxF* Matrix_CheckFloats(MtxF* mf, char* file, s32 line);
|
|
void func_800D2CEC(Mtx* mtx, f32 arg1, f32 arg2, f32 arg3, f32 arg4, f32 arg5, f32 arg6);
|
|
u32 SysUcode_GetUCodeBoot();
|
|
u32 SysUcode_GetUCodeBootSize();
|
|
u32 SysUcode_GetUCode();
|
|
u32 SysUcode_GetUCodeData();
|
|
void func_800D2E30(UnkRumbleStruct* arg0);
|
|
void func_800D3140(UnkRumbleStruct* arg0);
|
|
void func_800D3178(UnkRumbleStruct* arg0);
|
|
// ? func_800D31F0(?);
|
|
// ? func_800D3210(?);
|
|
void IrqMgr_AddClient(IrqMgr* this, IrqMgrClient* c, OSMesgQueue* msgQ);
|
|
void IrqMgr_RemoveClient(IrqMgr* this, IrqMgrClient* c);
|
|
void IrqMgr_SendMesgForClient(IrqMgr* this, OSMesg msg);
|
|
void IrqMgr_JamMesgForClient(IrqMgr* this, OSMesg msg);
|
|
void IrqMgr_HandlePreNMI(IrqMgr* this);
|
|
void IrqMgr_CheckStack();
|
|
void IrqMgr_HandlePRENMI450(IrqMgr* this);
|
|
void IrqMgr_HandlePRENMI480(IrqMgr* this);
|
|
void IrqMgr_HandlePRENMI500(IrqMgr* this);
|
|
void IrqMgr_HandleRetrace(IrqMgr* this);
|
|
void IrqMgr_ThreadEntry(void* arg0);
|
|
void IrqMgr_Create(IrqMgr* this, void* stack, OSPri pri, u8 retraceCount);
|
|
void DebugArena_CheckPointer(void* ptr, u32 size, const char* name, const char* action);
|
|
void* DebugArena_Malloc(u32 size);
|
|
void* DebugArena_MallocDebug(u32 size, const char* file, s32 line);
|
|
void* DebugArena_MallocR(u32 size);
|
|
void* DebugArena_MallocRDebug(u32 size, const char* file, s32 line);
|
|
void* DebugArena_Realloc(void* ptr, u32 newSize);
|
|
void* DebugArena_ReallocDebug(void* ptr, u32 newSize, const char* file, s32 line);
|
|
void DebugArena_Free(void* ptr);
|
|
void DebugArena_FreeDebug(void* ptr, const char* file, s32 line);
|
|
void* DebugArena_Calloc(u32 num, u32 size);
|
|
void DebugArena_Display();
|
|
void DebugArena_GetSizes(u32* outMaxFree, u32* outFree, u32* outAlloc);
|
|
void DebugArena_Check();
|
|
void DebugArena_Init(void* start, u32 size);
|
|
void DebugArena_Cleanup();
|
|
u8 DebugArena_IsInitalized();
|
|
void Fault_SleepImpl(u32);
|
|
void Fault_ClientProcessThread(FaultClientContext*);
|
|
void Fault_ProcessClientContext(FaultClientContext*);
|
|
u32 Fault_ProcessClient(u32, u32, u32);
|
|
void Fault_AddClient(FaultClient*, void*, void*, void*);
|
|
void Fault_RemoveClient(FaultClient*);
|
|
void Fault_AddAddrConvClient(FaultAddrConvClient*, void*, void*);
|
|
void Fault_RemoveAddrConvClient(FaultAddrConvClient*);
|
|
u32 Fault_ConvertAddress(FaultAddrConvClient*);
|
|
void Fault_Sleep(u32);
|
|
void Fault_PadCallback(Input*);
|
|
void Fault_UpdatePadImpl();
|
|
u32 Fault_WaitForInputImpl();
|
|
void Fault_WaitForInput();
|
|
void Fault_DrawRec(s32, s32, s32, s32, u16);
|
|
void Fault_FillScreenBlack();
|
|
void Fault_FillScreenRed();
|
|
void Fault_DrawCornerRec(u16);
|
|
void Fault_PrintFReg(s32, f32*);
|
|
void Fault_LogFReg(s32, f32*);
|
|
void Fault_PrintFPCR(u32);
|
|
void Fault_LogFPCR(u32);
|
|
void Fault_PrintThreadContext(OSThread*);
|
|
void Fault_LogThreadContext(OSThread*);
|
|
OSThread* Fault_FindFaultedThread();
|
|
void Fault_Wait5Seconds();
|
|
void Fault_WaitForButtonCombo();
|
|
void Fault_DrawMemDumpPage(const char*, u32*, u32);
|
|
void Fault_DrawMemDump(u32, u32, u32, u32);
|
|
// ? func_800D59F8(?);
|
|
void Fault_DrawStackTrace(OSThread*, s32, s32, u32);
|
|
void Fault_LogStackTrace(OSThread*, u32);
|
|
void Fault_ResumeThread(OSThread*);
|
|
void Fault_CommitFB();
|
|
void Fault_ProcessClients();
|
|
void Fault_UpdatePad();
|
|
void Fault_ThreadEntry(void*);
|
|
void Fault_SetFB(void*, u16, u16);
|
|
void Fault_Start(void);
|
|
void Fault_HangupFaultClient(const char*, const char*);
|
|
void Fault_AddHungupAndCrashImpl(const char*, const char*);
|
|
void Fault_AddHungupAndCrash(const char*, u32);
|
|
void FaultDrawer_SetOsSyncPrintfEnabled(u32);
|
|
void FaultDrawer_DrawRecImpl(s32, s32, s32, s32, u16);
|
|
void FaultDrawer_DrawChar(char);
|
|
s32 FaultDrawer_ColorToPrintColor(u16);
|
|
void FaultDrawer_UpdatePrintColor();
|
|
void FaultDrawer_SetForeColor(u16);
|
|
void FaultDrawer_SetBackColor(u16);
|
|
void FaultDrawer_SetFontColor(u16);
|
|
void FaultDrawer_SetCharPad(s8, s8);
|
|
void FaultDrawer_SetCursor(s32, s32);
|
|
void FaultDrawer_FillScreen();
|
|
u32 FaultDrawer_FormatStringFunc(u32, const char*, s32);
|
|
void FaultDrawer_VPrintf(const char*, char*);
|
|
void FaultDrawer_Printf(const char*, ...);
|
|
void FaultDrawer_DrawText(s32, s32, const char*, ...);
|
|
void FaultDrawer_SetDrawerFB(void*, u16, u16);
|
|
void FaultDrawer_SetInputCallback(void (*)());
|
|
void FaultDrawer_SetDefault();
|
|
// ? UCodeDisas_TranslateAddr(?);
|
|
// ? UCodeDisas_ParseCombineColor(?);
|
|
// ? UCodeDisas_ParseCombineAlpha(?);
|
|
// ? UCodeDisas_Init(?);
|
|
// ? UCodeDisas_Destroy(?);
|
|
// ? UCodeDisas_SetCurUCodeImpl(?);
|
|
// ? UCodeDisas_ParseGeometryMode(?);
|
|
// ? UCodeDisas_ParseRenderMode(?);
|
|
// ? UCodeDisas_PrintVertices(?);
|
|
// ? UCodeDisas_Disassemble(?);
|
|
// ? UCodeDisas_RegisterUCode(?);
|
|
// ? UCodeDisas_SetCurUCode(?);
|
|
// ? func_800DACC0(?);
|
|
// ? func_800DB03C(?);
|
|
// ? func_800DB0C4(?);
|
|
// ? func_800DB2C0(?);
|
|
// ? func_800DB330(?);
|
|
// ? func_800DB3D8(?);
|
|
// ? func_800DB480(?);
|
|
// ? func_800DB4E4(?);
|
|
// ? func_800DB680(?);
|
|
// ? func_800DB828(?);
|
|
// ? func_800DBA40(?);
|
|
// ? func_800DBAE8(?);
|
|
// ? func_800DBB9C(?);
|
|
// ? func_800DBBD4(?);
|
|
// ? func_800DBC20(?);
|
|
// ? func_800DBC64(?);
|
|
// ? func_800DBCB0(?);
|
|
// ? func_800DBCD4(?);
|
|
// ? func_800DBD10(?);
|
|
// ? func_800DBD38(?);
|
|
// ? func_800DBD60(?);
|
|
// ? func_800DBD94(?);
|
|
// ? func_800DBDB0(?);
|
|
// ? func_800DBDE4(?);
|
|
// ? func_800DBE38(?);
|
|
// ? func_800DBE74(?);
|
|
// ? func_800DBE98(?);
|
|
// ? func_800DBEB0(?);
|
|
// ? func_800DBF5C(?);
|
|
// ? func_800DC008(?);
|
|
// ? func_800DC074(?);
|
|
// ? func_800DC0E0(?);
|
|
// ? func_800DC124(?);
|
|
// ? func_800DC164(?);
|
|
// ? func_800DC1D8(?);
|
|
// ? func_800DC2DC(?);
|
|
// ? func_800DC384(?);
|
|
// ? func_800DC910(?);
|
|
// ? func_800DD62C(?);
|
|
// ? func_800DD6CC(?);
|
|
// ? func_800DD9F4(?);
|
|
// ? func_800DDB64(?);
|
|
// ? func_800DDE20(?);
|
|
// ? func_800DDE3C(?);
|
|
// ? func_800DDF80(?);
|
|
// ? func_800DE048(?);
|
|
// ? func_800DE1B4(?);
|
|
// ? func_800DE238(?);
|
|
// ? func_800DE258(?);
|
|
// ? func_800DE2B0(?);
|
|
void* Audio_SoundAlloc(SoundAllocPool* pool, u32 size);
|
|
// ? func_800DE344(?);
|
|
// ? func_800DE380(?);
|
|
// ? func_800DE3DC(?);
|
|
// ? func_800DE434(?);
|
|
// ? func_800DE45C(?);
|
|
// ? func_800DE470(?);
|
|
// ? func_800DE4B0(?);
|
|
// ? func_800DE5F0(?);
|
|
// ? func_800DE650(?);
|
|
// ? func_800DE6D4(?);
|
|
// ? func_800DE758(?);
|
|
// ? func_800DE81C(?);
|
|
// ? func_800DE8E0(?);
|
|
// ? func_800DF074(?);
|
|
// ? func_800DF0CC(?);
|
|
// ? func_800DF5DC(?);
|
|
// ? func_800DF630(?);
|
|
// ? func_800DF688(?);
|
|
// ? func_800DF7BC(?);
|
|
// ? func_800DF7C4(?);
|
|
// ? func_800DF888(?);
|
|
// ? func_800DF8F4(?);
|
|
// ? func_800DFBF8(?);
|
|
// ? func_800E04E8(?);
|
|
// ? func_800E0540(?);
|
|
// ? func_800E05C4(?);
|
|
// ? func_800E0634(?);
|
|
// ? func_800E06CC(?);
|
|
// ? func_800E0964(?);
|
|
// ? func_800E0AD8(?);
|
|
// ? func_800E0BB4(?);
|
|
// ? func_800E0BF8(?);
|
|
// ? func_800E0C80(?);
|
|
// ? func_800E0CBC(?);
|
|
// ? func_800E0E0C(?);
|
|
// ? func_800E0E6C(?);
|
|
// ? func_800E0E90(?);
|
|
// ? func_800E0EB4(?);
|
|
// ? func_800E1148(?);
|
|
// ? func_800E11F0(?);
|
|
// ? func_800E12DC(?);
|
|
// ? func_800E1618(?);
|
|
s32 func_800E18B0(s32);
|
|
// ? func_800E1928(?);
|
|
// ? func_800E1A18(?);
|
|
// ? func_800E1A48(?);
|
|
// ? func_800E1A78(?);
|
|
// ? func_800E1AD8(?);
|
|
// ? func_800E1B08(?);
|
|
// ? func_800E1B68(?);
|
|
// ? func_800E1C18(?);
|
|
// ? func_800E1C78(?);
|
|
// ? func_800E1D64(?);
|
|
// ? func_800E1E34(?);
|
|
// ? func_800E1E6C(?);
|
|
// ? func_800E1EB0(?);
|
|
// ? func_800E1EF4(?);
|
|
// ? func_800E1F38(?);
|
|
// ? func_800E1F7C(?);
|
|
// ? func_800E202C(?);
|
|
// ? func_800E20D4(?);
|
|
// ? func_800E2124(?);
|
|
// ? func_800E217C(?);
|
|
// ? func_800E22C4(?);
|
|
// ? func_800E2318(?);
|
|
// ? func_800E2338(?);
|
|
// ? func_800E2454(?);
|
|
// ? func_800E2558(?);
|
|
// ? func_800E2768(?);
|
|
// ? func_800E27A4(?);
|
|
// ? func_800E27F8(?);
|
|
// ? func_800E283C(?);
|
|
// ? func_800E2AA8(?);
|
|
// ? func_800E2BCC(?);
|
|
// ? func_800E2BE0(?);
|
|
// ? func_800E2CE0(?);
|
|
// ? func_800E2FEC(?);
|
|
void func_800E301C(void* callback);
|
|
// ? func_800E3034(?);
|
|
// ? func_800E3094(?);
|
|
// ? func_800E3400(?);
|
|
// ? func_800E3414(?);
|
|
// ? func_800E35E0(?);
|
|
// ? func_800E3678(?);
|
|
// ? func_800E36EC(?);
|
|
// ? func_800E3874(?);
|
|
// ? func_800E38F8(?);
|
|
// ? func_800E390C(?);
|
|
// ? func_800E3A14(?);
|
|
// ? func_800E3A44(?);
|
|
// ? func_800E3AC8(?);
|
|
// ? func_800E3BEC(?);
|
|
// ? func_800E3D10(?);
|
|
// ? func_800E3D1C(?);
|
|
// ? func_800E3E58(?);
|
|
// ? func_800E3FB4(?);
|
|
// ? func_800E4044(?);
|
|
// ? func_800E4058(?);
|
|
// ? func_800E4198(?);
|
|
// ? func_800E4590(?);
|
|
// ? func_800E4744(?);
|
|
// ? func_800E48C0(?);
|
|
// ? func_800E4918(?);
|
|
// ? func_800E4D94(?);
|
|
// ? func_800E4EEC(?);
|
|
// ? func_800E4F58(?);
|
|
// ? func_800E4FB0(?);
|
|
// ? func_800E4FE0(?);
|
|
// ? func_800E5000(?);
|
|
// ? func_800E5584(?);
|
|
// ? func_800E5958(?);
|
|
// ? func_800E59AC(?);
|
|
// ? func_800E59F4(?);
|
|
// ? func_800E5A8C(?);
|
|
// ? func_800E5AD8(?);
|
|
// ? func_800E5AFC(?);
|
|
// ? func_800E5B20(?);
|
|
// ? func_800E5B50(?);
|
|
// ? func_800E5B80(?);
|
|
// ? func_800E5C10(?);
|
|
// ? func_800E5C28(?);
|
|
// ? func_800E5D6C(?);
|
|
// ? func_800E5E20(?);
|
|
// ? func_800E5E84(?);
|
|
// ? func_800E5EDC(?);
|
|
// ? func_800E5F34(?);
|
|
// ? func_800E5F88(?);
|
|
// ? func_800E6024(?);
|
|
// ? func_800E6128(?);
|
|
// ? func_800E6300(?);
|
|
// ? func_800E6680(?);
|
|
// ? func_800E66C0(?);
|
|
// ? func_800E67C0(?);
|
|
// ? func_800E6818(?);
|
|
// ? func_800E6840(?);
|
|
// ? func_800E6880(?);
|
|
s32 osAiSetNextBuffer(void*, u32);
|
|
void Audio_NoteSetVelPanReverb(Note* note, NoteSubEu* sub, Reverb* reverb);
|
|
void Audio_NoteSetResamplingRate(NoteSubEu* noteSubEu, f32 resamplingRateInput);
|
|
void Audio_NoteInit(Note* note);
|
|
void Audio_NoteDisable(Note* note);
|
|
void Audio_ProcessNotes(void);
|
|
AudioBankSound* Audio_InstrumentGetAudioBankSound(Instrument* instrument, s32 semitone);
|
|
Instrument* Audio_GetInstrumentInner(s32 bankId, s32 instId);
|
|
Drum* Audio_GetDrum(s32 bankId, s32 drumId);
|
|
UnkInstrument* Audio_GetUnkInstrument(s32 bankId, s32 unkInstrumentId);
|
|
s32 func_800E7744(s32 instrument, s32 bankId, s32 instId, UnkInstrument* arg3);
|
|
void Audio_SeqChanLayerDecayRelease(SequenceChannelLayer* seqLayer, s32 target);
|
|
void Audio_SeqChanLayerNoteDecay(SequenceChannelLayer* seqLayer);
|
|
void Audio_SeqChanLayerNoteRelease(SequenceChannelLayer* seqLayer);
|
|
s32 Audio_BuildSyntheticWave(Note* note, SequenceChannelLayer* seqLayer, s32 waveId);
|
|
void Audio_InitSyntheticWave(Note* note, SequenceChannelLayer* seqLayer);
|
|
void Audio_InitNoteList(AudioListItem* list);
|
|
void Audio_InitNoteLists(NotePool* pool);
|
|
void Audio_InitNoteFreeList(void);
|
|
void Audio_NotePoolClear(NotePool* pool);
|
|
void Audio_NotePoolFill(NotePool* pool, s32 count);
|
|
void Audio_AudioListPushFront(AudioListItem* list, AudioListItem* item);
|
|
void Audio_AudioListRemove(AudioListItem* item);
|
|
Note* Audio_PopNodeWithValueLessEqual(AudioListItem* list, s32 limit);
|
|
void Audio_NoteInitForLayer(Note* note, SequenceChannelLayer* seqLayer);
|
|
void func_800E82C0(Note* note, SequenceChannelLayer* seqLayer);
|
|
void Audio_NoteReleaseAndTakeOwnership(Note* note, SequenceChannelLayer* seqLayer);
|
|
Note* Audio_AllocNoteFromDisabled(NotePool* pool, SequenceChannelLayer* seqLayer);
|
|
Note* Audio_AllocNoteFromDecaying(NotePool* pool, SequenceChannelLayer* seqLayer);
|
|
Note* Audio_AllocNoteFromActive(NotePool* pool, SequenceChannelLayer* seqLayer);
|
|
Note* Audio_AllocNote(SequenceChannelLayer* seqLayer);
|
|
void Audio_NoteInitAll(void);
|
|
// ? func_800E88C0(?);
|
|
// ? func_800E8A88(?);
|
|
// ? func_800E8BD4(?);
|
|
// ? func_800E8C30(?);
|
|
// ? func_800E8C68(?);
|
|
// ? func_800E8EA4(?);
|
|
// ? func_800E8F00(?);
|
|
// ? func_800E8FB8(?);
|
|
void Audio_AdsrInit(AdsrState* adsr, AdsrEnvelope* envelope, s16* volOut);
|
|
// ? func_800E9004(?);
|
|
// ? func_800E9340(?);
|
|
// ? func_800E93A8(?);
|
|
// ? func_800E9584(?);
|
|
// ? func_800E96D8(?);
|
|
// ? func_800E97FC(?);
|
|
// ? func_800E9878(?);
|
|
// ? func_800E98C8(?);
|
|
// ? func_800E9934(?);
|
|
// ? func_800E9A2C(?);
|
|
// ? func_800E9AAC(?);
|
|
// ? func_800E9B44(?);
|
|
// ? func_800E9B6C(?);
|
|
void Audio_AudioListPushBack(AudioListItem* list, AudioListItem* item);
|
|
void* Audio_AudioListPopBack(AudioListItem* list);
|
|
// ? func_800E9CA8(?);
|
|
// ? func_800E9D48(?);
|
|
// ? func_800E9D5C(?);
|
|
// ? func_800E9D94(?);
|
|
// ? func_800E9DD4(?);
|
|
// ? func_800E9ED8(?);
|
|
// ? func_800E9F64(?);
|
|
// ? func_800EA0C0(?);
|
|
// ? func_800EA440(?);
|
|
// ? func_800EAAE0(?);
|
|
// ? func_800EAEF4(?);
|
|
// ? func_800EAF24(?);
|
|
// ? func_800EAF98(?);
|
|
// ? func_800EB044(?);
|
|
// ? func_800EB068(?);
|
|
// ? func_800EBD58(?);
|
|
// ? func_800EC564(?);
|
|
// ? func_800EC618(?);
|
|
// ? func_800EC668(?);
|
|
// ? func_800EC734(?);
|
|
// ? func_800EC80C(?);
|
|
// ? func_800EC8DC(?);
|
|
// ? func_800ECA00(?);
|
|
// ? func_800ECA60(?);
|
|
// ? func_800ECAF0(?);
|
|
// ? func_800ECB34(?);
|
|
// ? func_800ECB7C(?);
|
|
// ? func_800ECC04(?);
|
|
// ? func_800ECDBC(?);
|
|
// ? func_800ECDF8(?);
|
|
// ? func_800ED200(?);
|
|
// ? func_800ED458(?);
|
|
// ? func_800ED858(?);
|
|
// ? func_800ED93C(?);
|
|
// ? func_800EDA3C(?);
|
|
// ? func_800EDD68(?);
|
|
// ? func_800EE170(?);
|
|
// ? func_800EE29C(?);
|
|
// ? func_800EE2D4(?);
|
|
// ? func_800EE318(?);
|
|
// ? func_800EE3C8(?);
|
|
// ? func_800EE3D4(?);
|
|
// ? func_800EE3F8(?);
|
|
// ? func_800EE404(?);
|
|
// ? func_800EE57C(?);
|
|
// ? func_800EE5EC(?);
|
|
// ? func_800EE6F4(?);
|
|
// ? func_800EE824(?);
|
|
// ? func_800EE930(?);
|
|
// ? func_800EE97C(?);
|
|
// ? func_800EE9D0(?);
|
|
// ? func_800EEA50(?);
|
|
// ? func_800F1BDC(?);
|
|
// ? func_800F2150(?);
|
|
// ? func_800F227C(?);
|
|
// ? func_800F2464(?);
|
|
// ? func_800F27A0(?);
|
|
// ? func_800F28AC(?);
|
|
// ? func_800F28B4(?);
|
|
// ? func_800F29FC(?);
|
|
// ? func_800F2A04(?);
|
|
// ? func_800F2D6C(?);
|
|
// ? func_800F2E28(?);
|
|
// ? func_800F3054(?);
|
|
// ? func_800F3188(?);
|
|
// ? func_800F32F0(?);
|
|
// ? func_800F3468(?);
|
|
// ? func_800F35EC(?);
|
|
// ? func_800F37B8(?);
|
|
// ? func_800F3990(?);
|
|
// ? func_800F3A08(?);
|
|
// ? func_800F3ED4(?);
|
|
// ? func_800F3F3C(?);
|
|
// ? func_800F3F84(?);
|
|
// ? func_800F4010(?);
|
|
void func_800F436C(UNK_TYPE arg0, s16 arg1, f32 arg2);
|
|
// ? func_800F4414(?);
|
|
// ? func_800F4524(?);
|
|
// ? func_800F4784(?);
|
|
// ? func_800F491C(?);
|
|
// ? func_800F4A70(?);
|
|
void func_800F4C58(Vec3f*, u16, u8);
|
|
// ? func_800F50CC(?);
|
|
// ? func_800F510C(?);
|
|
// ? func_800F5510(?);
|
|
// ? func_800F5550(?);
|
|
// ? func_800F56A8(?);
|
|
void func_800F595C(u16);
|
|
void func_800F59E8(u16);
|
|
// ? func_800F5ACC(?);
|
|
// ? func_800F5C64(?);
|
|
// ? func_800F5CF8(?);
|
|
// ? func_800F5E18(?);
|
|
// ? func_800F5E90(?);
|
|
void func_800F6268(f32, UNK_TYPE);
|
|
void func_800F6584(UNK_TYPE);
|
|
// ? func_800F64E0(?);
|
|
void func_800F6584(UNK_TYPE);
|
|
// ? func_800F66C0(?);
|
|
// ? func_800F6700(?);
|
|
// ? func_800F67A0(?);
|
|
// ? func_800F6828(?);
|
|
void func_800F68BC(s8);
|
|
// ? func_800F68D4(?);
|
|
// ? func_800F691C(?);
|
|
void func_800F6964(u16);
|
|
// ? func_800F6B68(?);
|
|
// ? func_800F6BB8(?);
|
|
void func_800F6C14();
|
|
// ? func_800F6C34(?);
|
|
// ? func_800F6D58(?);
|
|
// ? func_800F6E7C(?);
|
|
// ? func_800F6FB4(?);
|
|
void func_800F70F8();
|
|
void func_800F711C();
|
|
// ? func_800F7170(?);
|
|
// ? func_800F71BC(?);
|
|
void func_800F7260(u16);
|
|
// ? func_800F72B8(?);
|
|
// ? func_800F731C(?);
|
|
void Audio_PlaySoundGeneral(u16 sfxId, Vec3f* a1, u32 a2, u32* a3, u32* a4, u32* a5);
|
|
// ? func_800F74E0(?);
|
|
// ? func_800F7680(?);
|
|
// ? func_800F7B54(?);
|
|
// ? func_800F7CEC(?);
|
|
// ? func_800F8480(?);
|
|
// ? func_800F87A0(?);
|
|
// ? func_800F8884(?);
|
|
void func_800F89E8(Vec3f*);
|
|
void func_800F8D04(u32 a0);
|
|
// ? func_800F8D04(?);
|
|
// ? func_800F8E3C(?);
|
|
// ? func_800F8F34(?);
|
|
// ? func_800F8F88(?);
|
|
// ? func_800F8FF4(?);
|
|
// ? func_800F905C(?);
|
|
// ? func_800F9280(?);
|
|
// ? func_800F9474(?);
|
|
// ? func_800F94FC(?);
|
|
void Audio_SetBGM(u32 bgmID);
|
|
// ? func_800FA034(?);
|
|
u16 func_800FA0B4(s32 a0);
|
|
// ? func_800FA11C(?);
|
|
// ? func_800FA240(?);
|
|
// ? func_800FA3DC(?);
|
|
// ? func_800FAD34(?);
|
|
// ? func_800FADF8(?);
|
|
// ? func_800FAEB4(?);
|
|
void GfxPrint_InitDlist(GfxPrint*);
|
|
void GfxPrint_SetColor(GfxPrint*, u32, u32, u32, u32);
|
|
void GfxPrint_SetPosPx(GfxPrint*, s32, s32);
|
|
void GfxPrint_SetPos(GfxPrint*, s32, s32);
|
|
void GfxPrint_SetBasePosPx(GfxPrint*, s32, s32);
|
|
void GfxPrint_PrintCharImpl(GfxPrint*, u8);
|
|
void GfxPrint_PrintChar(GfxPrint*, u8);
|
|
void GfxPrint_PrintStringWithSize(GfxPrint*, const void*, size_t, size_t);
|
|
GfxPrint* GfxPrint_Callback(GfxPrint*, const char*, size_t);
|
|
void GfxPrint_Init(GfxPrint*);
|
|
void GfxPrint_Destroy(GfxPrint*);
|
|
void GfxPrint_Open(GfxPrint*, Gfx*);
|
|
Gfx* GfxPrint_Close(GfxPrint*);
|
|
void GfxPrint_VPrintf(GfxPrint*, const char*, va_list);
|
|
void GfxPrint_Printf(GfxPrint*, const char*, ...);
|
|
void func_800FBCE0();
|
|
void func_800FBFD8(void);
|
|
void* Overlay_AllocateAndLoad(u32 vRomStart, u32 vRomEnd, void* vRamStart, void* vRamEnd);
|
|
void MtxConv_F2L(MatrixInternal* m1, MtxF* m2);
|
|
void MtxConv_L2F(MtxF* m1, MatrixInternal* m2);
|
|
void Overlay_DoRelocation(void* allocatedVRamAddress, OverlayRelocationSection* overlayInfo, void* vRamAddress);
|
|
s32 Overlay_Load(u32 vRomStart, u32 vRomEnd, void* vRamStart, void* vRamEnd, void* allocatedVRamAddress);
|
|
// ? func_800FC800(?);
|
|
// ? func_800FC83C(?);
|
|
// ? func_800FCAB4(?);
|
|
void SystemHeap_Init(void* start, u32 size);
|
|
void PadUtils_Init(Input* input);
|
|
void func_800FCB70();
|
|
void PadUtils_ResetPressRel(Input* input);
|
|
u32 PadUtils_CheckCurExact(Input* input, u16 value);
|
|
u32 PadUtils_CheckCur(Input* input, u16 key);
|
|
u32 PadUtils_CheckPressed(Input* input, u16 key);
|
|
u32 PadUtils_CheckReleased(Input* input, u16 key);
|
|
u16 PadUtils_GetCurButton(Input* input);
|
|
u16 PadUtils_GetPressButton(Input* input);
|
|
s8 PadUtils_GetCurX(Input* input);
|
|
s8 PadUtils_GetCurY(Input* input);
|
|
void PadUtils_SetRelXY(Input* input, s32 x, s32 y);
|
|
s8 PadUtils_GetRelXImpl(Input* input);
|
|
s8 PadUtils_GetRelYImpl(Input* input);
|
|
s8 PadUtils_GetRelX(Input* input);
|
|
s8 PadUtils_GetRelY(Input* input);
|
|
void PadUtils_UpdateRelXY(Input* input);
|
|
// ? func_800FCD40(?);
|
|
f32 Math_tanf(f32 x);
|
|
f32 Math_nearbyintf(f32 x);
|
|
f32 Math_atanf_taylor_q(f32 x);
|
|
f32 Math_atanf_taylor(f32 x);
|
|
f32 Math_atanf_cfrac(f32 x);
|
|
f32 Math_atanf(f32 x);
|
|
f32 Math_atan2f(f32 y, f32 x);
|
|
f32 Math_asinf(f32 x);
|
|
f32 Math_acosf(f32 x);
|
|
f32 ceilf(f32 x);
|
|
f32 truncf(f32 x);
|
|
f32 roundf(f32 x);
|
|
f32 nearbyintf(f32 x);
|
|
void SystemArena_CheckPointer(void* ptr, u32 size, const char* name, const char* action);
|
|
void* SystemArena_Malloc(u32 size);
|
|
void* SystemArena_MallocDebug(u32 size, const char* file, s32 line);
|
|
void* SystemArena_MallocR(u32 size);
|
|
void* SystemArena_MallocRDebug(u32 size, const char* file, s32 line);
|
|
void* SystemArena_Realloc(void* ptr, u32 newSize);
|
|
void* SystemArena_ReallocDebug(void* ptr, u32 newSize, const char* file, s32 line);
|
|
void SystemArena_Free(void* ptr);
|
|
void SystemArena_FreeDebug(void* ptr, const char* file, s32 line);
|
|
void* SystemArena_Calloc(u32 num, u32 size);
|
|
void SystemArena_Display();
|
|
void SystemArena_GetSizes(u32* outMaxFree, u32* outFree, u32* outAlloc);
|
|
void SystemArena_Check();
|
|
void SystemArena_Init(void* start, u32 size);
|
|
void SystemArena_Cleanup();
|
|
u8 SystemArena_IsInitalized();
|
|
u32 Math_Rand_Next();
|
|
void Math_Rand_Seed(u32 seed);
|
|
f32 Math_Rand_ZeroOne();
|
|
f32 Math_Rand_Centered();
|
|
void Math_Rand_Seed_Variable(u32* rndNum, u32 seed);
|
|
u32 Math_Rand_Next_Variable(u32* rndNum);
|
|
f32 Math_Rand_ZeroOne_Variable(u32* rndNum);
|
|
f32 Math_Rand_Centered_Variable(u32* rndNum);
|
|
bool ArenaImpl_GetFillAllocBlock(Arena* arena);
|
|
bool ArenaImpl_GetFillFreeBlock(Arena* arena);
|
|
bool ArenaImpl_GetCheckFreeBlock(Arena* arena);
|
|
void ArenaImpl_SetFillAllocBlock(Arena* arena);
|
|
void ArenaImpl_SetFillFreeBlock(Arena* arena);
|
|
void ArenaImpl_SetCheckFreeBlock(Arena* arena);
|
|
void ArenaImpl_UnsetFillAllocBlock(Arena* arena);
|
|
void ArenaImpl_UnsetFillFreeBlock(Arena* arena);
|
|
void ArenaImpl_UnsetCheckFreeBlock(Arena* arena);
|
|
void ArenaImpl_SetDebugInfo(ArenaNode* node, const char* file, s32 line, Arena* arena);
|
|
void ArenaImpl_LockInit(Arena* arena);
|
|
void ArenaImpl_Lock(Arena* arena);
|
|
void ArenaImpl_Unlock(Arena* arena);
|
|
ArenaNode* ArenaImpl_GetNextBlock(ArenaNode* node);
|
|
ArenaNode* ArenaImpl_GetPrevBlock(ArenaNode* node);
|
|
ArenaNode* ArenaImpl_GetLastBlock(Arena* arena);
|
|
void __osMallocInit(Arena* arena, void* start, u32 size);
|
|
void __osMallocAddBlock(Arena* arena, void* start, s32 size);
|
|
void ArenaImpl_RemoveAllBlocks(Arena* arena);
|
|
void __osMallocCleanup(Arena* arena);
|
|
u8 __osMallocIsInitalized(Arena* arena);
|
|
void __osMalloc_FreeBlockTest(Arena* arena, ArenaNode* node);
|
|
void* __osMalloc_NoLockDebug(Arena* arena, u32 size, const char* file, s32 line);
|
|
void* __osMallocDebug(Arena* arena, u32 size, const char* file, s32 line);
|
|
void* __osMallocRDebug(Arena* arena, u32 size, const char* file, s32 line);
|
|
void* __osMalloc_NoLock(Arena* arena, u32 size);
|
|
void* __osMalloc(Arena* arena, u32 size);
|
|
void* __osMallocR(Arena* arena, u32 size);
|
|
void __osFree_NoLock(Arena* arena, void* ptr);
|
|
void __osFree(Arena* arena, void* ptr);
|
|
void __osFree_NoLockDebug(Arena* arena, void* ptr, const char* file, s32 line);
|
|
void __osFreeDebug(Arena* arena, void* ptr, const char* file, s32 line);
|
|
void* __osRealloc(Arena* arena, void* ptr, u32 newSize);
|
|
void* __osReallocDebug(Arena* arena, void* ptr, u32 newSize, const char* file, s32 line);
|
|
void ArenaImpl_GetSizes(Arena* arena, u32* outMaxFree, u32* outFree, u32* outAlloc);
|
|
void __osDisplayArena(Arena* arena);
|
|
void ArenaImpl_FaultClient(Arena* arena);
|
|
u32 __osCheckArena(Arena* arena);
|
|
u8 func_800FF334(Arena* arena);
|
|
void PrintUtils_VPrintf(char** arg0, const char* fmt, va_list args);
|
|
void PrintUtils_Printf(void* arg0, const char* fmt, ...);
|
|
void Sleep_Cycles(OSTime cycles);
|
|
void Sleep_Nsec(u32 nsec);
|
|
void Sleep_Usec(u32 usec);
|
|
void Sleep_Msec(u32 ms);
|
|
void Sleep_Sec(u32 sec);
|
|
void JpegUtils_ProcessQuantizationTable(u8* dqt, JpegQuantizationTable* qt, u8 count);
|
|
s32 JpegUtils_ParseHuffmancodesLengths(u8* ptr, u8* codesLengths);
|
|
s32 JpegUtils_GetHuffmanCodes(u8* codesLengths, u16* codes);
|
|
s32 JpegUtils_SetHuffmanTable(u8* data, JpegHuffmanTable* ht, u16* codes);
|
|
u32 JpegUtils_ProcessHuffmanTableImpl(u8* data, JpegHuffmanTable* ht, u8* codesLengths, u16* codes, u8 isAc);
|
|
u32 JpegUtils_ProcessHuffmanTable(u8* dht, JpegHuffmanTable* ht, u8* codesLengths, u16* codes, u8 count);
|
|
void JpegUtils_SetHuffmanTableOld(u8* data, JpegHuffmanTableOld* ht, u8* codesLengths, u16* codes, s16 count, u8 isAc);
|
|
u32 JpegUtils_ProcessHuffmanTableImplOld(u8* dht, JpegHuffmanTableOld* ht, u8* codesLengths, u16* codes);
|
|
u32 func_800FFA50(JpegDecoder* decoder, u16*, u32, u8, u32*);
|
|
// ? func_800FFC78(?);
|
|
// ? func_800FFE14(?);
|
|
// ? func_800FFF50(?);
|
|
s32 osPfsFreeBlocks(OSPfs* pfs, s32 *bytes_not_used);
|
|
void guScale(Mtx* m, f32 x, f32 y, f32 z);
|
|
f32 sinf(f32);
|
|
s16 sins(u16);
|
|
// ? func_801004C0(?);
|
|
// ? osSpTaskLoad(?);
|
|
// ? osSpTaskStartGo(?);
|
|
s32 osSetRumble(OSPfs* pfs, u32 vibrate);
|
|
void osSetUpMempakWrite(s32 channel, OSPifRam* buf);
|
|
s32 osProbeRumblePak(OSMesgQueue* ctrlrqueue, OSPfs* pfs, u32 channel);
|
|
void __osSiCreateAccessQueue();
|
|
void __osSiGetAccess();
|
|
void __osSiRelAccess();
|
|
s32 osContInit(OSMesgQueue *mq, u8 *ctl_present_bitfield, OSContStatus *status);
|
|
void __osContGetInitData(u8 *ctl_present_bitfield, OSContStatus *status);
|
|
void __osPackRequestData(u8 poll);
|
|
s32 osContStartReadData(OSMesgQueue *mq);
|
|
void osContGetReadData(OSContPad* pad);
|
|
void __osPackReadData();
|
|
// ? guPerspectiveF(?);
|
|
// ? guPerspective(?);
|
|
// ? __osSpRawStartDma(?);
|
|
s32 __osSiRawStartDma(s32 dir, void *addr);
|
|
// ? osSpTaskYield(?);
|
|
// ? func_801014C0(?);
|
|
s32 osPfsReadWriteFile(OSPfs* pfs, s32 file_no, u8 flag, s32 offset, s32 nbytes, u8* data_buffer);
|
|
s32 __osPfsGetStatus(OSMesgQueue* queue, s32 channel);
|
|
void __osPfsRequestOneChannel(s32 channel, u8 poll);
|
|
void __osPfsGetOneChannelData(s32 channel, OSContStatus* contData);
|
|
// ? guMtxIdentF(?);
|
|
void guLookAtF(MtxF* mf, f32 xEye, f32 yEye, f32 zEye, f32 xAt, f32 yAt, f32 zAt, f32 xUp, f32 yUp, f32 zUp);
|
|
void guLookAt(Mtx*, f32 xEye, f32 yEye, f32 zEye, f32 xAt, f32 yAt, f32 zAt, f32 xUp, f32 yUp, f32 zUp);
|
|
s32 osPfsAllocateFile(OSPfs* pfs, u16 company_code, u32 game_code, u8* game_name, u8* ext_name, s32 length, s32* file_no);
|
|
// ? func_801021E4(?);
|
|
// ? osStopTimer(?);
|
|
// ? func_80102420(?);
|
|
// ? func_80102494(?);
|
|
// ? func_80102590(?);
|
|
// ? func_801028E0(?);
|
|
// ? func_80102A44(?);
|
|
// ? func_80102BF0(?);
|
|
// ? func_80102CC4(?);
|
|
// ? func_80102FA0(?);
|
|
s32 osPfsFindFile(OSPfs* pfs, u16 company_code, u32 game_code, u8* game_name, u8* ext_name, s32* file_no);
|
|
// ? osAfterPreNMI(?);
|
|
// ? osContStartQuery(?);
|
|
void osContGetQuery(OSContStatus* data);
|
|
// ? guLookAtHiliteF(?);
|
|
void guLookAtHilite(Mtx* m, LookAt* l, Hilite* h, f32 xEye, f32 yEye, f32 zEye, f32 xAt, f32 yAt, f32 zAt, f32 xUp,
|
|
f32 yUp, f32 zUp, f32 xl1, f32 yl1, f32 zl1, f32 xl2, f32 yl2, f32 zl2, s32 hiliteWidth,
|
|
s32 hiliteHeight);
|
|
// ? __osSpDeviceBusy(?);
|
|
// ? guMtxIdent(?);
|
|
// ? guPositionF(?);
|
|
void guPosition(Mtx*, f32, f32, f32, f32, f32, f32, f32);
|
|
// ? osSpTaskYielded(?);
|
|
// ? guRotateF(?);
|
|
void guRotate(Mtx*, f32 angle, f32 x, f32 y, f32 z);
|
|
// ? osAiSetFrequency(?);
|
|
// ? __osGetActiveQueue(?);
|
|
// ? guNormalize(?);
|
|
u32 osDpGetStatus(void);
|
|
void osDpSetStatus(u32 status);
|
|
s32 osPfsDeleteFile(OSPfs* pfs, u16 company_code, u32 game_code, u8* game_name, u8* ext_name);
|
|
// ? func_801043B8(?);
|
|
void guOrthoF(f32[4][4], f32, f32, f32, f32, f32, f32, f32);
|
|
void guOrtho(Mtx*, f32, f32, f32, f32, f32, f32, f32);
|
|
f32 cosf(f32);
|
|
s16 coss(u16);
|
|
void osViSetEvent(OSMesgQueue* mq, OSMesg m, u32 retraceCount);
|
|
s32 osPfsIsPlug(OSMesgQueue* mq, u8* pattern);
|
|
void __osPfsRequestData(u8 poll);
|
|
void __osPfsGetInitData(u8 *pattern, OSContStatus* contData);
|
|
void guS2DInitBg(uObjBg *bg);
|
|
// ? func_80104C80(?);
|
|
s32 osContSetCh(u8 ch);
|
|
s32 osPfsFileState(OSPfs* pfs, s32 file_no, OSPfsState* state);
|
|
s32 osPfsInitPak(OSMesgQueue* mq, OSPfs* pfs, s32 controller_no);
|
|
// ? func_80105148(?);
|
|
// ? func_80105250(?);
|
|
// ? func_80105788(?);
|
|
// ? func_80105A60(?);
|
|
// ? osAiGetLength(?);
|
|
void guTranslate(Mtx* m, f32 x, f32 y, f32 z);
|
|
// ? func_80105CF0(?);
|
|
s32 osReadMempak(OSMesgQueue* ctrlrqueue, s32 channel, u16 addr, u8* data);
|
|
u8 osMempakAddrCRC(u16 addr);
|
|
u8 osMempakDataCRC(u8* data);
|
|
u32 __osSpGetStatus();
|
|
void __osSpSetStatus(u32 status);
|
|
void osWritebackDCacheAll(void);
|
|
OSThread* __osGetCurrFaultedThread();
|
|
// ? guMtxF2L(?);
|
|
// ? __d_to_ll(?);
|
|
// ? __f_to_ll(?);
|
|
// ? __d_to_ull(?);
|
|
// ? __f_to_ull(?);
|
|
// ? __ll_to_d(?);
|
|
// ? __ll_to_f(?);
|
|
// ? __ull_to_d(?);
|
|
// ? __ull_to_f(?);
|
|
u32* osViGetCurrentFramebuffer(void);
|
|
// ? __osSpSetPc(?);
|
|
f32 absf(f32);
|
|
void* func_80106860(void* ptr, s32 val, size_t size);
|
|
void* func_801068B0(void* dst, void* src, size_t size);
|
|
// ? func_801069B0(?);
|
|
u8 func_80106BC8(GlobalContext* globalCtx);
|
|
// ? func_80106C88(?);
|
|
void func_80106CCC(GlobalContext*);
|
|
// ? func_80106D40(?);
|
|
// ? func_80106F1C(?);
|
|
// ? func_80107244(?);
|
|
// ? func_80107448(?);
|
|
// ? func_80107628(?);
|
|
// ? func_801076CC(?);
|
|
// ? func_80107980(?);
|
|
// ? func_801080B4(?);
|
|
// ? func_801083F8(?);
|
|
// ? func_801086B0(?);
|
|
// ? func_80109968(?);
|
|
// ? func_80109B3C(?);
|
|
// ? func_8010B0C0(?);
|
|
void func_8010B680(GlobalContext*, u16, s32);
|
|
void func_8010B720(GlobalContext* globalCtx, u16 textId);
|
|
// ? func_8010B820(?);
|
|
// ? func_8010BD58(?);
|
|
void func_8010BD58(GlobalContext* globalCtx, u16 arg1);
|
|
u8 func_8010BDBC(MessageContext* msgCtx);
|
|
// ? func_8010BED8(?);
|
|
// ? func_8010C358(?);
|
|
// ? func_8010C39C(?);
|
|
// ? func_8010F2CC(?);
|
|
// ? func_8010F494(?);
|
|
// ? func_8010F58C(?);
|
|
// ? func_8010F6F0(?);
|
|
void func_8011040C(void);
|
|
// ? func_80110450(?);
|
|
// ? func_80110460(?);
|
|
// ? func_801104C8(?);
|
|
void func_80110990(GlobalContext* globalCtx);
|
|
void func_801109B0(GlobalContext* globalCtx);
|
|
void func_80110F68(GlobalContext* globalCtx);
|
|
void func_80112098(GlobalContext* globalCtx);
|
|
|
|
void Title_Init(TitleContext*);
|
|
void Title_Destroy(TitleContext* this);
|
|
void Select_Init(SelectContext*);
|
|
void Select_Destroy(SelectContext*);
|
|
void Opening_Init(OpeningContext* this);
|
|
void Opening_Destroy(OpeningContext* this);
|
|
void func_80811A20(GameState*); // FileChoose_Init
|
|
void func_80811A18(GameState*); // FileChoose_Destroy
|
|
|
|
void func_80823994(PauseContext*, f32, f32, f32);
|
|
void func_800949A8(GraphicsContext*);
|
|
void func_8082409C(GlobalContext*, GraphicsContext*);
|
|
void func_80820434(GlobalContext*, GraphicsContext*);
|
|
void func_80821C10(GlobalContext*);
|
|
void func_80825C14(GlobalContext*);
|
|
void func_808161AC(GlobalContext*);
|
|
|
|
#endif
|