mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-04 23:14:37 +00:00
Decompile the pause menu aka. ovl_kaleido_scope (+ minor changes) (#803)
* Decompile ovl_kaleido_scope + minor cleanups * Add a common header for ovl_kaleido_scope * Start cleaning up and documenting kaleido_scope (+ some interface docs) * Improve and fix some kaleido_scope non matchings * Match KaleidoSetup_Init * Extract icon_item_fra/ger_static files * Add more documentation and matches to kaleido_scope * Improve the z_kaleido_collect.c non matching * Rename z_kaleido_8081EFF0.c to z_kaleido_prompt.c * Update most kaleido variables to be static * Improve GS flag macros * Improve z_lmap_mark.c and extract z_lmap_mark_data.c with a script * Various minor fixes and improvements * Minor fixes and review changes * Review changes part 2 * Rename gSetTileCustom to gDPSetTileCustom * Review changes part 3
This commit is contained in:
parent
4e9f40cb13
commit
a53e084cd2
106 changed files with 8605 additions and 24307 deletions
|
@ -692,6 +692,7 @@ s32 BgCheck_SphVsFirstDynaPoly(CollisionContext* colCtx, u16 xpFlags, CollisionP
|
|||
Vec3f* center, f32 radius, Actor* actor, u16 bciFlags);
|
||||
// ? CollisionHeader_SegmentedToVirtual(?);
|
||||
void CollisionHeader_GetVirtual(void* colHeader, CollisionHeader** dest);
|
||||
void func_800418D0(CollisionContext* colCtx, GlobalContext* globalCtx);
|
||||
void BgCheck_ResetPolyCheckTbl(SSNodeList* nodeList, s32 numPolys);
|
||||
// ? SurfaceType_GetData(?);
|
||||
u32 SurfaceType_GetCamDataIndex(CollisionContext* colCtx, CollisionPoly* poly, s32 bgId);
|
||||
|
@ -951,7 +952,7 @@ void func_80070600(GlobalContext* globalCtx, s32 waterboxProperties);
|
|||
void func_800706A0(GlobalContext* globalCtx);
|
||||
// ? func_80070718(?);
|
||||
void func_80070C24(GlobalContext* globalCtx, EnvironmentContext* envCtx, LightContext* lightCtx, PauseContext* pauseCtx,
|
||||
MessageContext* msgCtx, u16*, GraphicsContext* gfxCtx);
|
||||
MessageContext* msgCtx, GameOverContext* gameOverCtx, GraphicsContext* gfxCtx);
|
||||
void func_800730DC(GlobalContext*);
|
||||
void func_80073988(GlobalContext*, EnvironmentContext*, View*, GraphicsContext*, Vec3f, UNK_TYPE);
|
||||
// ? func_80073A5C(?);
|
||||
|
@ -1060,7 +1061,7 @@ void ZeldaArena_Cleanup();
|
|||
u8 ZeldaArena_IsInitalized();
|
||||
void MapMark_Init(GlobalContext* globalCtx);
|
||||
void MapMark_ClearPointers(GlobalContext* globalCtx);
|
||||
void MapMark_DrawConditionally(GlobalContext* globalCtx);
|
||||
void MapMark_Draw(GlobalContext* globalCtx);
|
||||
void PreNmiBuff_Init(PreNmiBuff* this);
|
||||
void PreNmiBuff_SetReset(PreNmiBuff* this);
|
||||
u32 PreNmiBuff_IsResetting(PreNmiBuff* this);
|
||||
|
@ -1172,8 +1173,8 @@ u8 func_80090480(GlobalContext* globalCtx, ColliderQuad* collider, WeaponInfo* w
|
|||
void Player_DrawGetItem(GlobalContext* globalCtx, Player* player);
|
||||
void func_80090D20(GlobalContext* globalCtx, s32 limbIndex, Gfx** dList, Vec3s* rot, void* data);
|
||||
u32 func_80091738(GlobalContext* globalCtx, u8* segment, SkelAnime* skelAnime);
|
||||
void func_8009214C(GlobalContext* globalCtx, u8* segment, SkelAnime* arg2, Vec3f* pos, Vec3s* rot, f32 scale, s32 sword,
|
||||
s32 tunic, s32 shield, s32 boots);
|
||||
void func_8009214C(GlobalContext* globalCtx, u8* segment, SkelAnime* skelAnime, Vec3f* pos, Vec3s* rot, f32 scale,
|
||||
s32 sword, s32 tunic, s32 shield, s32 boots);
|
||||
void PreNMI_Init(GameState* thisx);
|
||||
Vec3f* Quake_AddVec(Vec3f* dst, Vec3f* arg1, VecSph* arg2);
|
||||
void Quake_UpdateShakeInfo(QuakeRequest* req, ShakeInfo* shake, f32 y, f32 x);
|
||||
|
@ -1227,8 +1228,10 @@ void func_8009457C(Gfx** gfxp);
|
|||
void func_800945A0(GraphicsContext* gfxCtx);
|
||||
void func_8009460C(GraphicsContext* gfxCtx);
|
||||
void func_80094678(GraphicsContext* gfxCtx);
|
||||
Gfx* func_80094968(Gfx* gfx);
|
||||
Gfx* func_800946E4(Gfx* gfx);
|
||||
Gfx* func_800947AC(Gfx* gfx);
|
||||
void func_800949A8(GraphicsContext* gfxCtx);
|
||||
void func_80094A14(GraphicsContext* gfxCtx);
|
||||
void func_80094B58(GraphicsContext* gfxCtx);
|
||||
void func_80094BC4(GraphicsContext* gfxCtx);
|
||||
|
@ -1245,7 +1248,8 @@ Gfx* Gfx_EnvColor(GraphicsContext* gfxCtx, 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_8009638C(Gfx** displayList, u32 source, u32 tlut, u16 width, u16 height, u8 fmt, u8 siz, u16 mode0,
|
||||
u16 tlutCount, f32 frameX, f32 frameY);
|
||||
void func_80096FD4(GlobalContext* globalCtx, Room* room);
|
||||
u32 func_80096FE8(GlobalContext* globalCtx, RoomContext* roomCtx);
|
||||
s32 func_8009728C(GlobalContext* globalCtx, RoomContext* roomCtx, s32 roomNum);
|
||||
|
@ -1384,7 +1388,7 @@ void func_800A7EC0(MtxF* mf, s16 a, f32 x, f32 y, f32 z);
|
|||
void Sram_InitNewSave(void);
|
||||
void Sram_InitDebugSave(void);
|
||||
void Sram_OpenSave(SramContext* sramCtx);
|
||||
void Sram_WriteSave(s32 unused);
|
||||
void Sram_WriteSave(SramContext* sramCtx);
|
||||
void Sram_VerifyAndLoadAllSaves(FileChooseContext* fileChoose, SramContext* sramCtx);
|
||||
void Sram_InitSave(FileChooseContext* fileChoose, SramContext* sramCtx);
|
||||
void Sram_EraseSave(FileChooseContext* fileChoose, SramContext* sramCtx);
|
||||
|
@ -1555,8 +1559,8 @@ 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_LoadOvl(KaleidoMgrOverlay* ovl);
|
||||
void KaleidoManager_ClearOvl(KaleidoMgrOverlay* ovl);
|
||||
void KaleidoManager_Init(GlobalContext* globalCtx);
|
||||
void KaleidoManager_Destroy();
|
||||
void* KaleidoManager_GetRamAddr(void* vram);
|
||||
|
@ -2203,7 +2207,7 @@ void Audio_InitSequencePlayers(void);
|
|||
// ? func_800ECAF0(?);
|
||||
// ? func_800ECB34(?);
|
||||
// ? func_800ECB7C(?);
|
||||
// ? func_800ECC04(?);
|
||||
void func_800ECC04(u16);
|
||||
// ? func_800ECDBC(?);
|
||||
// ? func_800ECDF8(?);
|
||||
// ? func_800ED200(?);
|
||||
|
@ -2217,8 +2221,8 @@ void func_800ED93C(s8 songIdx, s8 arg1);
|
|||
// ? func_800EE2D4(?);
|
||||
// ? func_800EE318(?);
|
||||
// ? func_800EE3C8(?);
|
||||
// ? func_800EE3D4(?);
|
||||
// ? func_800EE3F8(?);
|
||||
UnkAudioStruct* func_800EE3D4(void);
|
||||
UnkAudioStruct* func_800EE3F8(void);
|
||||
// ? func_800EE404(?);
|
||||
// ? func_800EE57C(?);
|
||||
// ? func_800EE5EC(?);
|
||||
|
@ -2656,12 +2660,4 @@ void Opening_Destroy(GameState* thisx);
|
|||
void func_80811A20(GameState* thisx); // FileChoose_Init
|
||||
void func_80811A18(GameState* thisx); // FileChoose_Destroy
|
||||
|
||||
void func_80823994(PauseContext*, f32, f32, f32);
|
||||
Gfx* func_80094968(Gfx* gfx);
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue