1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-08 07:20:16 +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:
Random 2020-04-04 18:12:59 +02:00
parent b96c016948
commit f818fb5299
685 changed files with 3310 additions and 3503 deletions

View file

@ -74,7 +74,7 @@ static void func_80977EA8(GlobalContext* globalCtx, u32 dlist) {
GraphicsContext* gfxCtx = globalCtx->state.gfxCtx;
Gfx* gfxArr[5];
func_800C6AC4(gfxArr, gfxCtx, "../z_demo_geff.c", 181);
Graph_OpenDisp(gfxArr, gfxCtx, "../z_demo_geff.c", 181);
func_80093D18(gfxCtx);
gSPMatrix(gfxCtx->polyOpa.p++, Matrix_NewMtx(gfxCtx, "../z_demo_geff.c", 183),
@ -82,7 +82,7 @@ static void func_80977EA8(GlobalContext* globalCtx, u32 dlist) {
gSPDisplayList(gfxCtx->polyOpa.p++, dlist);
gSPPopMatrix(gfxCtx->polyOpa.p++, G_MTX_MODELVIEW);
func_800C6B54(gfxArr, gfxCtx, "../z_demo_geff.c", 188);
Graph_CloseDisp(gfxArr, gfxCtx, "../z_demo_geff.c", 188);
}
static void func_80977F80(DemoGeff* this, GlobalContext* globalCtx) {
@ -91,7 +91,7 @@ static void func_80977F80(DemoGeff* this, GlobalContext* globalCtx) {
GraphicsContext* gfxCtx = globalCtx->state.gfxCtx;
Gfx* gfxArr[5];
func_800C6AC4(gfxArr, gfxCtx, "../z_demo_geff.c", 204);
Graph_OpenDisp(gfxArr, gfxCtx, "../z_demo_geff.c", 204);
gSPSegment(gfxCtx->polyOpa.p++, 0x06, globalCtx->objectCtx.status[objBankIndex].segment);
gSegments[6] = PHYSICAL_TO_VIRTUAL(globalCtx->objectCtx.status[objBankIndex].segment);
@ -99,7 +99,7 @@ static void func_80977F80(DemoGeff* this, GlobalContext* globalCtx) {
// Necessary to match
if (!globalCtx) {}
func_800C6B54(gfxArr, gfxCtx, "../z_demo_geff.c", 212);
Graph_CloseDisp(gfxArr, gfxCtx, "../z_demo_geff.c", 212);
}
static void func_80978030(DemoGeff* this, GlobalContext* globalCtx) {