1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-13 03:14:38 +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

@ -18,7 +18,7 @@ void Sample_Draw(SampleContext* this) {
Gfx* gfxArr[4];
Mtx* mtx;
func_800C6AC4(gfxArr, gfxCtx, "../z_sample.c", 62);
Graph_OpenDisp(gfxArr, gfxCtx, "../z_sample.c", 62);
gSPSegment(gfxCtx->polyOpa.p++, 0x00, NULL);
gSPSegment(gfxCtx->polyOpa.p++, 0x01, this->staticSegment);
@ -41,7 +41,7 @@ void Sample_Draw(SampleContext* this) {
PRIMITIVE);
gDPSetPrimColor(gfxCtx->polyOpa.p++, 0, 0, 0xFF, 0xFF, 0x00, 0x00);
func_800C6B54(gfxArr, gfxCtx, "../z_sample.c", 111);
Graph_CloseDisp(gfxArr, gfxCtx, "../z_sample.c", 111);
}
#else
#pragma GLOBAL_ASM("asm/non_matchings/code/z_sample/Sample_Draw.s")