mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-07 14:50:15 +00:00
Decompile graph.c
- decompile `graph.c` (2 non-matchings left) - decompile `z_game_dlftbls.c` - add noop macros in `gbi.h`
This commit is contained in:
parent
b96c016948
commit
f818fb5299
685 changed files with 3310 additions and 3503 deletions
|
@ -108,12 +108,12 @@ void EnTkEff_Draw(EnTk* this, GlobalContext* globalCtx) {
|
|||
Gfx* pgdl[4];
|
||||
|
||||
/*
|
||||
* This assignment always occurs before a call to func_800C6AC4 which
|
||||
* This assignment always occurs before a call to Graph_OpenDisp which
|
||||
* makes me suspect that they're inside a macro where the function call
|
||||
* is present only for debug builds. Same for func_800C6B54 most likely.
|
||||
* is present only for debug builds. Same for Graph_CloseDisp most likely.
|
||||
*/
|
||||
gfxCtx = globalCtx->state.gfxCtx;
|
||||
func_800C6AC4(pgdl, globalCtx->state.gfxCtx, "../z_en_tk_eff.c", 114);
|
||||
Graph_OpenDisp(pgdl, globalCtx->state.gfxCtx, "../z_en_tk_eff.c", 114);
|
||||
|
||||
gfxSetup = 0;
|
||||
|
||||
|
@ -154,7 +154,7 @@ void EnTkEff_Draw(EnTk* this, GlobalContext* globalCtx) {
|
|||
eff++;
|
||||
}
|
||||
|
||||
func_800C6B54(pgdl, globalCtx->state.gfxCtx, "../z_en_tk_eff.c", 154);
|
||||
Graph_CloseDisp(pgdl, globalCtx->state.gfxCtx, "../z_en_tk_eff.c", 154);
|
||||
}
|
||||
|
||||
s32 EnTkEff_CreateDflt(EnTk* this, Vec3f* pos, u8 duration, f32 size, f32 growth, f32 yAccelMax) {
|
||||
|
@ -697,11 +697,11 @@ void func_80B1D200(GlobalContext* globalCtx) {
|
|||
Gfx* pgdl[4];
|
||||
|
||||
gfxCtx = globalCtx->state.gfxCtx;
|
||||
func_800C6AC4(pgdl, globalCtx->state.gfxCtx, "../z_en_tk.c", 1188);
|
||||
Graph_OpenDisp(pgdl, globalCtx->state.gfxCtx, "../z_en_tk.c", 1188);
|
||||
|
||||
gSPDisplayList(gfxCtx->polyOpa.p++, D_0600ACE0);
|
||||
|
||||
func_800C6B54(pgdl, globalCtx->state.gfxCtx, "../z_en_tk.c", 1190);
|
||||
Graph_CloseDisp(pgdl, globalCtx->state.gfxCtx, "../z_en_tk.c", 1190);
|
||||
}
|
||||
|
||||
s32 func_80B1D278(GlobalContext* globalCtx, s32 limbIndex, Gfx** dList, Vec3f* pos, Vec3s* rot, Actor* actor) {
|
||||
|
@ -755,7 +755,7 @@ void EnTk_Draw(EnTk* this, GlobalContext* globalCtx) {
|
|||
Matrix_Pull();
|
||||
|
||||
gfxCtx = globalCtx->state.gfxCtx;
|
||||
func_800C6AC4(pgdl, globalCtx->state.gfxCtx, "../z_en_tk.c", 1294);
|
||||
Graph_OpenDisp(pgdl, globalCtx->state.gfxCtx, "../z_en_tk.c", 1294);
|
||||
|
||||
func_80093D18(globalCtx->state.gfxCtx);
|
||||
|
||||
|
@ -764,5 +764,5 @@ void EnTk_Draw(EnTk* this, GlobalContext* globalCtx) {
|
|||
SkelAnime_DrawSV(globalCtx, thisAgain->skelAnim.skeleton, thisAgain->skelAnim.actorDrawTbl,
|
||||
thisAgain->skelAnim.dListCount, func_80B1D278, func_80B1D2E4, &thisAgain->actor);
|
||||
|
||||
func_800C6B54(pgdl, globalCtx->state.gfxCtx, "../z_en_tk.c", 1312);
|
||||
Graph_CloseDisp(pgdl, globalCtx->state.gfxCtx, "../z_en_tk.c", 1312);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue