mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-13 19:35:28 +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
190
src/code/z_rcp.c
190
src/code/z_rcp.c
|
@ -891,101 +891,101 @@ Gfx* func_80093808(Gfx* gfx) {
|
|||
void func_80093848(GraphicsContext* gfxCtx) {
|
||||
Gfx* gfxArr[5];
|
||||
|
||||
func_800C6AC4(gfxArr, gfxCtx, "../z_rcp.c", 1293);
|
||||
Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1293);
|
||||
|
||||
gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x3A]);
|
||||
|
||||
func_800C6B54(gfxArr, gfxCtx, "../z_rcp.c", 1297);
|
||||
Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1297);
|
||||
}
|
||||
|
||||
void func_800938B4(GraphicsContext* gfxCtx) {
|
||||
Gfx* gfxArr[5];
|
||||
|
||||
func_800C6AC4(gfxArr, gfxCtx, "../z_rcp.c", 1309);
|
||||
Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1309);
|
||||
|
||||
gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x39]);
|
||||
|
||||
func_800C6B54(gfxArr, gfxCtx, "../z_rcp.c", 1313);
|
||||
Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1313);
|
||||
}
|
||||
|
||||
void func_80093920(GraphicsContext* gfxCtx) {
|
||||
Gfx* gfxArr[5];
|
||||
|
||||
func_800C6AC4(gfxArr, gfxCtx, "../z_rcp.c", 1325);
|
||||
Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1325);
|
||||
|
||||
gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x32]);
|
||||
|
||||
func_800C6B54(gfxArr, gfxCtx, "../z_rcp.c", 1329);
|
||||
Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1329);
|
||||
}
|
||||
|
||||
void func_8009398C(GraphicsContext* gfxCtx) {
|
||||
Gfx* gfxArr[5];
|
||||
|
||||
func_800C6AC4(gfxArr, gfxCtx, "../z_rcp.c", 1341);
|
||||
Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1341);
|
||||
|
||||
gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x33]);
|
||||
|
||||
func_800C6B54(gfxArr, gfxCtx, "../z_rcp.c", 1345);
|
||||
Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1345);
|
||||
}
|
||||
|
||||
void func_800939F8(GraphicsContext* gfxCtx) {
|
||||
Gfx* gfxArr[5];
|
||||
|
||||
func_800C6AC4(gfxArr, gfxCtx, "../z_rcp.c", 1357);
|
||||
Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1357);
|
||||
|
||||
gSPDisplayList(gfxCtx->polyXlu.p++, &sSetupDL[6 * 0x34]);
|
||||
|
||||
func_800C6B54(gfxArr, gfxCtx, "../z_rcp.c", 1361);
|
||||
Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1361);
|
||||
}
|
||||
|
||||
void func_80093A64(GraphicsContext* gfxCtx) {
|
||||
Gfx* gfxArr[5];
|
||||
|
||||
func_800C6AC4(gfxArr, gfxCtx, "../z_rcp.c", 1373);
|
||||
Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1373);
|
||||
|
||||
gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x35]);
|
||||
|
||||
func_800C6B54(gfxArr, gfxCtx, "../z_rcp.c", 1377);
|
||||
Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1377);
|
||||
}
|
||||
|
||||
void func_80093AD0(GraphicsContext* gfxCtx) {
|
||||
Gfx* gfxArr[5];
|
||||
|
||||
func_800C6AC4(gfxArr, gfxCtx, "../z_rcp.c", 1389);
|
||||
Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1389);
|
||||
|
||||
gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x36]);
|
||||
|
||||
func_800C6B54(gfxArr, gfxCtx, "../z_rcp.c", 1393);
|
||||
Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1393);
|
||||
}
|
||||
|
||||
void func_80093B3C(GraphicsContext* gfxCtx) {
|
||||
Gfx* gfxArr[5];
|
||||
|
||||
func_800C6AC4(gfxArr, gfxCtx, "../z_rcp.c", 1405);
|
||||
Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1405);
|
||||
|
||||
gSPDisplayList(gfxCtx->polyXlu.p++, &sSetupDL[6 * 0x37]);
|
||||
|
||||
func_800C6B54(gfxArr, gfxCtx, "../z_rcp.c", 1409);
|
||||
Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1409);
|
||||
}
|
||||
|
||||
void func_80093BA8(GraphicsContext* gfxCtx) {
|
||||
Gfx* gfxArr[5];
|
||||
|
||||
func_800C6AC4(gfxArr, gfxCtx, "../z_rcp.c", 1421);
|
||||
Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1421);
|
||||
|
||||
gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x1A]);
|
||||
|
||||
func_800C6B54(gfxArr, gfxCtx, "../z_rcp.c", 1425);
|
||||
Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1425);
|
||||
}
|
||||
|
||||
void func_80093C14(GraphicsContext* gfxCtx) {
|
||||
Gfx* gfxArr[5];
|
||||
|
||||
func_800C6AC4(gfxArr, gfxCtx, "../z_rcp.c", 1439);
|
||||
Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1439);
|
||||
|
||||
gSPDisplayList(gfxCtx->polyXlu.p++, &sSetupDL[6 * 0x19]);
|
||||
|
||||
func_800C6B54(gfxArr, gfxCtx, "../z_rcp.c", 1443);
|
||||
Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1443);
|
||||
}
|
||||
|
||||
void func_80093C80(GlobalContext* globalCtx) {
|
||||
|
@ -996,62 +996,62 @@ void func_80093C80(GlobalContext* globalCtx) {
|
|||
func_80093D18(gfxCtx);
|
||||
|
||||
if (globalCtx->roomCtx.curRoom.unk_03 == 3) {
|
||||
func_800C6AC4(gfxArr, gfxCtx, "../z_rcp.c", 1460);
|
||||
Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1460);
|
||||
|
||||
gDPSetColorDither(gfxCtx->polyOpa.p++, G_CD_DISABLE);
|
||||
|
||||
func_800C6B54(gfxArr, gfxCtx, "../z_rcp.c", 1462);
|
||||
Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1462);
|
||||
}
|
||||
}
|
||||
|
||||
void func_80093D18(GraphicsContext* gfxCtx) {
|
||||
Gfx* gfxArr[5];
|
||||
|
||||
func_800C6AC4(gfxArr, gfxCtx, "../z_rcp.c", 1475);
|
||||
Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1475);
|
||||
|
||||
gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x19]);
|
||||
|
||||
func_800C6B54(gfxArr, gfxCtx, "../z_rcp.c", 1479);
|
||||
Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1479);
|
||||
}
|
||||
|
||||
void func_80093D84(GraphicsContext* gfxCtx) {
|
||||
Gfx* gfxArr[5];
|
||||
|
||||
func_800C6AC4(gfxArr, gfxCtx, "../z_rcp.c", 1491);
|
||||
Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1491);
|
||||
|
||||
gSPDisplayList(gfxCtx->polyXlu.p++, &sSetupDL[6 * 0x19]);
|
||||
|
||||
func_800C6B54(gfxArr, gfxCtx, "../z_rcp.c", 1495);
|
||||
Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1495);
|
||||
}
|
||||
|
||||
void func_80093DF0(GraphicsContext* gfxCtx) {
|
||||
Gfx* gfxArr[5];
|
||||
|
||||
func_800C6AC4(gfxArr, gfxCtx, "../z_rcp.c", 1507);
|
||||
Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1507);
|
||||
|
||||
gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x1F]);
|
||||
|
||||
func_800C6B54(gfxArr, gfxCtx, "../z_rcp.c", 1511);
|
||||
Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1511);
|
||||
}
|
||||
|
||||
void func_80093E5C(GraphicsContext* gfxCtx) {
|
||||
Gfx* gfxArr[5];
|
||||
|
||||
func_800C6AC4(gfxArr, gfxCtx, "../z_rcp.c", 1523);
|
||||
Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1523);
|
||||
|
||||
gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x20]);
|
||||
|
||||
func_800C6B54(gfxArr, gfxCtx, "../z_rcp.c", 1527);
|
||||
Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1527);
|
||||
}
|
||||
|
||||
void func_80093EC8(GraphicsContext* gfxCtx) {
|
||||
Gfx* gfxArr[5];
|
||||
|
||||
func_800C6AC4(gfxArr, gfxCtx, "../z_rcp.c", 1539);
|
||||
Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1539);
|
||||
|
||||
gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x21]);
|
||||
|
||||
func_800C6B54(gfxArr, gfxCtx, "../z_rcp.c", 1543);
|
||||
Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1543);
|
||||
}
|
||||
|
||||
Gfx* func_80093F34(Gfx* gfx) {
|
||||
|
@ -1067,41 +1067,41 @@ Gfx* func_80093F58(Gfx* gfx) {
|
|||
void func_80093F7C(GraphicsContext* gfxCtx) {
|
||||
Gfx* gfxArr[5];
|
||||
|
||||
func_800C6AC4(gfxArr, gfxCtx, "../z_rcp.c", 1569);
|
||||
Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1569);
|
||||
|
||||
gfxCtx->polyOpa.p = func_80093F58(gfxCtx->polyOpa.p);
|
||||
|
||||
func_800C6B54(gfxArr, gfxCtx, "../z_rcp.c", 1573);
|
||||
Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1573);
|
||||
}
|
||||
|
||||
void func_80093FD8(GraphicsContext* gfxCtx) {
|
||||
Gfx* gfxArr[5];
|
||||
|
||||
func_800C6AC4(gfxArr, gfxCtx, "../z_rcp.c", 1585);
|
||||
Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1585);
|
||||
|
||||
gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x23]);
|
||||
|
||||
func_800C6B54(gfxArr, gfxCtx, "../z_rcp.c", 1589);
|
||||
Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1589);
|
||||
}
|
||||
|
||||
void func_80094044(GraphicsContext* gfxCtx) {
|
||||
Gfx* gfxArr[5];
|
||||
|
||||
func_800C6AC4(gfxArr, gfxCtx, "../z_rcp.c", 1601);
|
||||
Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1601);
|
||||
|
||||
gSPDisplayList(gfxCtx->polyXlu.p++, &sSetupDL[6 * 0x2C]);
|
||||
|
||||
func_800C6B54(gfxArr, gfxCtx, "../z_rcp.c", 1605);
|
||||
Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1605);
|
||||
}
|
||||
|
||||
void func_800940B0(GraphicsContext* gfxCtx) {
|
||||
Gfx* gfxArr[5];
|
||||
|
||||
func_800C6AC4(gfxArr, gfxCtx, "../z_rcp.c", 1617);
|
||||
Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1617);
|
||||
|
||||
gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x24]);
|
||||
|
||||
func_800C6B54(gfxArr, gfxCtx, "../z_rcp.c", 1621);
|
||||
Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1621);
|
||||
}
|
||||
|
||||
Gfx* func_8009411C(Gfx* gfx) {
|
||||
|
@ -1112,81 +1112,81 @@ Gfx* func_8009411C(Gfx* gfx) {
|
|||
void func_80094140(GraphicsContext* gfxCtx) {
|
||||
Gfx* gfxArr[5];
|
||||
|
||||
func_800C6AC4(gfxArr, gfxCtx, "../z_rcp.c", 1640);
|
||||
Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1640);
|
||||
|
||||
gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x1C]);
|
||||
|
||||
func_800C6B54(gfxArr, gfxCtx, "../z_rcp.c", 1644);
|
||||
Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1644);
|
||||
}
|
||||
|
||||
void func_800941AC(GraphicsContext* gfxCtx) {
|
||||
Gfx* gfxArr[5];
|
||||
|
||||
func_800C6AC4(gfxArr, gfxCtx, "../z_rcp.c", 1651);
|
||||
Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1651);
|
||||
|
||||
gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x2B]);
|
||||
|
||||
func_800C6B54(gfxArr, gfxCtx, "../z_rcp.c", 1655);
|
||||
Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1655);
|
||||
}
|
||||
|
||||
void func_80094218(GraphicsContext* gfxCtx) {
|
||||
Gfx* gfxArr[5];
|
||||
|
||||
func_800C6AC4(gfxArr, gfxCtx, "../z_rcp.c", 1670);
|
||||
Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1670);
|
||||
|
||||
gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x2D]);
|
||||
|
||||
func_800C6B54(gfxArr, gfxCtx, "../z_rcp.c", 1674);
|
||||
Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1674);
|
||||
}
|
||||
|
||||
void func_80094284(GraphicsContext* gfxCtx) {
|
||||
Gfx* gfxArr[5];
|
||||
|
||||
func_800C6AC4(gfxArr, gfxCtx, "../z_rcp.c", 1681);
|
||||
Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1681);
|
||||
|
||||
gSPDisplayList(gfxCtx->overlay.p++, &sSetupDL[6 * 0x2E]);
|
||||
|
||||
func_800C6B54(gfxArr, gfxCtx, "../z_rcp.c", 1685);
|
||||
Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1685);
|
||||
}
|
||||
|
||||
void func_800942F0(GraphicsContext* gfxCtx) {
|
||||
Gfx* gfxArr[5];
|
||||
|
||||
func_800C6AC4(gfxArr, gfxCtx, "../z_rcp.c", 1700);
|
||||
Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1700);
|
||||
|
||||
gSPDisplayList(gfxCtx->polyXlu.p++, &sSetupDL[6 * 0x26]);
|
||||
|
||||
func_800C6B54(gfxArr, gfxCtx, "../z_rcp.c", 1704);
|
||||
Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1704);
|
||||
}
|
||||
|
||||
void func_8009435C(GraphicsContext* gfxCtx) {
|
||||
Gfx* gfxArr[5];
|
||||
|
||||
func_800C6AC4(gfxArr, gfxCtx, "../z_rcp.c", 1722);
|
||||
Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1722);
|
||||
|
||||
gSPDisplayList(gfxCtx->polyXlu.p++, &sSetupDL[6 * 0x04]);
|
||||
|
||||
func_800C6B54(gfxArr, gfxCtx, "../z_rcp.c", 1726);
|
||||
Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1726);
|
||||
}
|
||||
|
||||
void func_800943C8(GraphicsContext* gfxCtx) {
|
||||
Gfx* gfxArr[5];
|
||||
|
||||
func_800C6AC4(gfxArr, gfxCtx, "../z_rcp.c", 1758);
|
||||
Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1758);
|
||||
|
||||
gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x25]);
|
||||
|
||||
func_800C6B54(gfxArr, gfxCtx, "../z_rcp.c", 1762);
|
||||
Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1762);
|
||||
}
|
||||
|
||||
void func_80094434(GraphicsContext* gfxCtx) {
|
||||
Gfx* gfxArr[5];
|
||||
|
||||
func_800C6AC4(gfxArr, gfxCtx, "../z_rcp.c", 1775);
|
||||
Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1775);
|
||||
|
||||
gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x02]);
|
||||
|
||||
func_800C6B54(gfxArr, gfxCtx, "../z_rcp.c", 1779);
|
||||
Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1779);
|
||||
}
|
||||
|
||||
Gfx* func_800944A0(Gfx* gfx) {
|
||||
|
@ -1197,21 +1197,21 @@ Gfx* func_800944A0(Gfx* gfx) {
|
|||
void func_800944C4(GraphicsContext* gfxCtx) {
|
||||
Gfx* gfxArr[5];
|
||||
|
||||
func_800C6AC4(gfxArr, gfxCtx, "../z_rcp.c", 1799);
|
||||
Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1799);
|
||||
|
||||
gfxCtx->polyOpa.p = func_800944A0(gfxCtx->polyOpa.p);
|
||||
|
||||
func_800C6B54(gfxArr, gfxCtx, "../z_rcp.c", 1801);
|
||||
Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1801);
|
||||
}
|
||||
|
||||
void func_80094520(GraphicsContext* gfxCtx) {
|
||||
Gfx* gfxArr[5];
|
||||
|
||||
func_800C6AC4(gfxArr, gfxCtx, "../z_rcp.c", 1809);
|
||||
Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1809);
|
||||
|
||||
gfxCtx->overlay.p = func_800944A0(gfxCtx->overlay.p);
|
||||
|
||||
func_800C6B54(gfxArr, gfxCtx, "../z_rcp.c", 1811);
|
||||
Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1811);
|
||||
}
|
||||
|
||||
void func_8009457C(Gfx** gfxp) {
|
||||
|
@ -1223,31 +1223,31 @@ void func_8009457C(Gfx** gfxp) {
|
|||
void func_800945A0(GraphicsContext* gfxCtx) {
|
||||
Gfx* gfxArr[5];
|
||||
|
||||
func_800C6AC4(gfxArr, gfxCtx, "../z_rcp.c", 1837);
|
||||
Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1837);
|
||||
|
||||
gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x28]);
|
||||
|
||||
func_800C6B54(gfxArr, gfxCtx, "../z_rcp.c", 1841);
|
||||
Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1841);
|
||||
}
|
||||
|
||||
void func_8009460C(GraphicsContext* gfxCtx) {
|
||||
Gfx* gfxArr[5];
|
||||
|
||||
func_800C6AC4(gfxArr, gfxCtx, "../z_rcp.c", 1853);
|
||||
Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1853);
|
||||
|
||||
gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x29]);
|
||||
|
||||
func_800C6B54(gfxArr, gfxCtx, "../z_rcp.c", 1857);
|
||||
Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1857);
|
||||
}
|
||||
|
||||
void func_80094678(GraphicsContext* gfxCtx) {
|
||||
Gfx* gfxArr[5];
|
||||
|
||||
func_800C6AC4(gfxArr, gfxCtx, "../z_rcp.c", 1869);
|
||||
Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1869);
|
||||
|
||||
gSPDisplayList(gfxCtx->polyXlu.p++, &sSetupDL[6 * 0x2F]);
|
||||
|
||||
func_800C6B54(gfxArr, gfxCtx, "../z_rcp.c", 1873);
|
||||
Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1873);
|
||||
}
|
||||
|
||||
Gfx* func_800946E4(Gfx* gfx) {
|
||||
|
@ -1309,82 +1309,82 @@ Gfx* func_80094968(Gfx* gfx) {
|
|||
void func_800949A8(GraphicsContext* gfxCtx) {
|
||||
Gfx* gfxArr[5];
|
||||
|
||||
func_800C6AC4(gfxArr, gfxCtx, "../z_rcp.c", 1953);
|
||||
Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1953);
|
||||
|
||||
gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x2A]);
|
||||
|
||||
func_800C6B54(gfxArr, gfxCtx, "../z_rcp.c", 1957);
|
||||
Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1957);
|
||||
}
|
||||
|
||||
void func_80094A14(GraphicsContext* gfxCtx) {
|
||||
Gfx* gfxArr[5];
|
||||
|
||||
func_800C6AC4(gfxArr, gfxCtx, "../z_rcp.c", 1964);
|
||||
Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1964);
|
||||
|
||||
gSPDisplayList(gfxCtx->overlay.p++, &sSetupDL[6 * 0x2A]);
|
||||
|
||||
func_800C6B54(gfxArr, gfxCtx, "../z_rcp.c", 1968);
|
||||
Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1968);
|
||||
}
|
||||
|
||||
void func_80094A80(GraphicsContext* gfxCtx) {
|
||||
Gfx* gfxArr[5];
|
||||
|
||||
func_800C6AC4(gfxArr, gfxCtx, "../z_rcp.c", 1992);
|
||||
Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1992);
|
||||
|
||||
gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x30]);
|
||||
|
||||
func_800C6B54(gfxArr, gfxCtx, "../z_rcp.c", 1996);
|
||||
Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1996);
|
||||
}
|
||||
|
||||
void func_80094AEC(GraphicsContext* gfxCtx) {
|
||||
Gfx* gfxArr[5];
|
||||
|
||||
func_800C6AC4(gfxArr, gfxCtx, "../z_rcp.c", 2008);
|
||||
Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 2008);
|
||||
|
||||
gSPDisplayList(gfxCtx->polyXlu.p++, &sSetupDL[6 * 0x31]);
|
||||
|
||||
func_800C6B54(gfxArr, gfxCtx, "../z_rcp.c", 2012);
|
||||
Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 2012);
|
||||
}
|
||||
|
||||
void func_80094B58(GraphicsContext* gfxCtx) {
|
||||
Gfx* gfxArr[5];
|
||||
|
||||
func_800C6AC4(gfxArr, gfxCtx, "../z_rcp.c", 2024);
|
||||
Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 2024);
|
||||
|
||||
gSPDisplayList(gfxCtx->polyXlu.p++, &sSetupDL[6 * 0x1B]);
|
||||
|
||||
func_800C6B54(gfxArr, gfxCtx, "../z_rcp.c", 2028);
|
||||
Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 2028);
|
||||
}
|
||||
|
||||
void func_80094BC4(GraphicsContext* gfxCtx) {
|
||||
Gfx* gfxArr[5];
|
||||
|
||||
func_800C6AC4(gfxArr, gfxCtx, "../z_rcp.c", 2040);
|
||||
Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 2040);
|
||||
|
||||
gSPDisplayList(gfxCtx->polyXlu.p++, &sSetupDL[6 * 0x3C]);
|
||||
gDPSetColorDither(gfxCtx->polyXlu.p++, G_CD_DISABLE);
|
||||
|
||||
func_800C6B54(gfxArr, gfxCtx, "../z_rcp.c", 2043);
|
||||
Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 2043);
|
||||
}
|
||||
|
||||
void func_80094C50(GraphicsContext* gfxCtx) {
|
||||
Gfx* gfxArr[5];
|
||||
|
||||
func_800C6AC4(gfxArr, gfxCtx, "../z_rcp.c", 2056);
|
||||
Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 2056);
|
||||
|
||||
gSPDisplayList(gfxCtx->polyXlu.p++, &sSetupDL[6 * 0x3D]);
|
||||
|
||||
func_800C6B54(gfxArr, gfxCtx, "../z_rcp.c", 2058);
|
||||
Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 2058);
|
||||
}
|
||||
|
||||
void func_80094CBC(GraphicsContext* gfxCtx) {
|
||||
Gfx* gfxArr[5];
|
||||
|
||||
func_800C6AC4(gfxArr, gfxCtx, "../z_rcp.c", 2086);
|
||||
Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 2086);
|
||||
|
||||
gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x38]);
|
||||
|
||||
func_800C6B54(gfxArr, gfxCtx, "../z_rcp.c", 2090);
|
||||
Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 2090);
|
||||
}
|
||||
|
||||
void func_80094D28(Gfx** gfxp) {
|
||||
|
@ -1396,17 +1396,17 @@ void func_80094D28(Gfx** gfxp) {
|
|||
void func_80094D4C(GraphicsContext* gfxCtx) {
|
||||
Gfx* gfxArr[5];
|
||||
|
||||
func_800C6AC4(gfxArr, gfxCtx, "../z_rcp.c", 2112);
|
||||
Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 2112);
|
||||
|
||||
gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x3B]);
|
||||
|
||||
func_800C6B54(gfxArr, gfxCtx, "../z_rcp.c", 2116);
|
||||
Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 2116);
|
||||
}
|
||||
|
||||
#ifdef NON_MATCHING
|
||||
// regalloc differences
|
||||
void Gfx_BranchTexScroll(Gfx** gfxp, u32 x, u32 y, s32 width, s32 height) {
|
||||
Gfx* displayList = func_800C6C3C(gfxp, 3 * sizeof(Gfx));
|
||||
Gfx* displayList = Graph_DlistAlloc(gfxp, 3 * sizeof(Gfx));
|
||||
|
||||
gDPTileSync(displayList);
|
||||
gDPSetTileSize(displayList + 1, 0, x, y, (x + ((width - 1) << 2)), (y + ((height - 1) << 2)));
|
||||
|
@ -1487,7 +1487,7 @@ void func_80095248(GraphicsContext* gfxCtx, u8 r, u8 g, u8 b) {
|
|||
Gfx* gfxArr[5];
|
||||
s32 ret;
|
||||
|
||||
func_800C6AC4(gfxArr, gfxCtx, "../z_rcp.c", 2386);
|
||||
Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 2386);
|
||||
|
||||
gSPDisplayList(gfxCtx->polyOpa.p++, sFillSetupDL);
|
||||
gSPDisplayList(gfxCtx->polyXlu.p++, sFillSetupDL);
|
||||
|
@ -1499,10 +1499,10 @@ void func_80095248(GraphicsContext* gfxCtx, u8 r, u8 g, u8 b) {
|
|||
gDPSetScissorFrac(gfxCtx->overlay.p++, G_SC_NON_INTERLACE, 0, 0, (s32)gScreenWidth * 4.0f,
|
||||
(s32)gScreenHeight * 4.0f);
|
||||
|
||||
gDPSetColorImage(gfxCtx->polyOpa.p++, G_IM_FMT_RGBA, G_IM_SIZ_16b, gScreenWidth, gfxCtx->unk_2DC);
|
||||
gDPSetColorImage(gfxCtx->polyOpa.p++, G_IM_FMT_RGBA, G_IM_SIZ_16b, gScreenWidth, gfxCtx->unk_2DC);
|
||||
gDPSetColorImage(gfxCtx->polyXlu.p++, G_IM_FMT_RGBA, G_IM_SIZ_16b, gScreenWidth, gfxCtx->unk_2DC);
|
||||
gDPSetColorImage(gfxCtx->overlay.p++, G_IM_FMT_RGBA, G_IM_SIZ_16b, gScreenWidth, gfxCtx->unk_2DC);
|
||||
gDPSetColorImage(gfxCtx->polyOpa.p++, G_IM_FMT_RGBA, G_IM_SIZ_16b, gScreenWidth, gfxCtx->curFrameBuffer);
|
||||
gDPSetColorImage(gfxCtx->polyOpa.p++, G_IM_FMT_RGBA, G_IM_SIZ_16b, gScreenWidth, gfxCtx->curFrameBuffer);
|
||||
gDPSetColorImage(gfxCtx->polyXlu.p++, G_IM_FMT_RGBA, G_IM_SIZ_16b, gScreenWidth, gfxCtx->curFrameBuffer);
|
||||
gDPSetColorImage(gfxCtx->overlay.p++, G_IM_FMT_RGBA, G_IM_SIZ_16b, gScreenWidth, gfxCtx->curFrameBuffer);
|
||||
|
||||
gDPSetDepthImage(gfxCtx->polyOpa.p++, gZBuffer);
|
||||
gDPSetDepthImage(gfxCtx->polyXlu.p++, gZBuffer);
|
||||
|
@ -1559,7 +1559,7 @@ void func_80095248(GraphicsContext* gfxCtx, u8 r, u8 g, u8 b) {
|
|||
gDPFillRectangle(gfxCtx->polyOpa.p++, 0, ret, gScreenWidth - 1, gScreenHeight - ret - 1);
|
||||
gDPPipeSync(gfxCtx->polyOpa.p++);
|
||||
|
||||
gDPSetColorImage(gfxCtx->polyOpa.p++, G_IM_FMT_RGBA, G_IM_SIZ_16b, gScreenWidth, gfxCtx->unk_2DC);
|
||||
gDPSetColorImage(gfxCtx->polyOpa.p++, G_IM_FMT_RGBA, G_IM_SIZ_16b, gScreenWidth, gfxCtx->curFrameBuffer);
|
||||
gDPSetCycleType(gfxCtx->polyOpa.p++, G_CYC_FILL);
|
||||
gDPSetRenderMode(gfxCtx->polyOpa.p++, G_RM_NOOP, G_RM_NOOP2);
|
||||
gDPSetFillColor(gfxCtx->polyOpa.p++, (GPACK_RGBA5551(r, g, b, 1) << 16) | GPACK_RGBA5551(r, g, b, 1));
|
||||
|
@ -1577,19 +1577,19 @@ void func_80095248(GraphicsContext* gfxCtx, u8 r, u8 g, u8 b) {
|
|||
}
|
||||
}
|
||||
|
||||
func_800C6B54(gfxArr, gfxCtx, "../z_rcp.c", 2497);
|
||||
Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 2497);
|
||||
}
|
||||
|
||||
void func_80095974(GraphicsContext* gfxCtx) {
|
||||
Gfx* gfxArr[5];
|
||||
|
||||
func_800C6AC4(gfxArr, gfxCtx, "../z_rcp.c", 2503);
|
||||
Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 2503);
|
||||
|
||||
gSPDisplayList(gfxCtx->polyOpa.p++, sFillSetupDL);
|
||||
gDPSetScissorFrac(gfxCtx->polyOpa.p++, G_SC_NON_INTERLACE, 0, 0, (s32)gScreenWidth * 4.0f,
|
||||
(s32)gScreenHeight * 4.0f);
|
||||
gDPSetDepthImage(gfxCtx->polyOpa.p++, gZBuffer);
|
||||
gDPSetColorImage(gfxCtx->polyOpa.p++, G_IM_FMT_RGBA, G_IM_SIZ_16b, gScreenWidth, gfxCtx->unk_2DC);
|
||||
gDPSetColorImage(gfxCtx->polyOpa.p++, G_IM_FMT_RGBA, G_IM_SIZ_16b, gScreenWidth, gfxCtx->curFrameBuffer);
|
||||
|
||||
func_800C6B54(gfxArr, gfxCtx, "../z_rcp.c", 2513);
|
||||
Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 2513);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue