diff options
| author | Random <28494085+Random0666@users.noreply.github.com> | 2020-04-05 19:29:30 +0200 |
|---|---|---|
| committer | Random <28494085+Random0666@users.noreply.github.com> | 2020-04-05 19:29:30 +0200 |
| commit | 43acba22a94c4e90a237dda5a3376c099633cbda (patch) | |
| tree | 0093367ebf3d67a5351e70d0466ebedafc2aa826 /src/code/z_rcp.c | |
| parent | 62c6549eec5a04b1777cb6f169164718bd299cc8 (diff) | |
Fixes in PR #50 (3)
- Rename Graph_OpenDisp/Graph_CloseDisp to Graph_OpenDisps/Graph_CloseDisps
- Rename gfxArr to dispRefs
Diffstat (limited to 'src/code/z_rcp.c')
| -rw-r--r-- | src/code/z_rcp.c | 264 |
1 files changed, 132 insertions, 132 deletions
diff --git a/src/code/z_rcp.c b/src/code/z_rcp.c index e3b71a460..6472f300f 100644 --- a/src/code/z_rcp.c +++ b/src/code/z_rcp.c @@ -889,169 +889,169 @@ Gfx* func_80093808(Gfx* gfx) { } void func_80093848(GraphicsContext* gfxCtx) { - Gfx* gfxArr[5]; + Gfx* dispRefs[5]; - Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1293); + Graph_OpenDisps(dispRefs, gfxCtx, "../z_rcp.c", 1293); gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x3A]); - Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1297); + Graph_CloseDisps(dispRefs, gfxCtx, "../z_rcp.c", 1297); } void func_800938B4(GraphicsContext* gfxCtx) { - Gfx* gfxArr[5]; + Gfx* dispRefs[5]; - Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1309); + Graph_OpenDisps(dispRefs, gfxCtx, "../z_rcp.c", 1309); gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x39]); - Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1313); + Graph_CloseDisps(dispRefs, gfxCtx, "../z_rcp.c", 1313); } void func_80093920(GraphicsContext* gfxCtx) { - Gfx* gfxArr[5]; + Gfx* dispRefs[5]; - Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1325); + Graph_OpenDisps(dispRefs, gfxCtx, "../z_rcp.c", 1325); gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x32]); - Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1329); + Graph_CloseDisps(dispRefs, gfxCtx, "../z_rcp.c", 1329); } void func_8009398C(GraphicsContext* gfxCtx) { - Gfx* gfxArr[5]; + Gfx* dispRefs[5]; - Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1341); + Graph_OpenDisps(dispRefs, gfxCtx, "../z_rcp.c", 1341); gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x33]); - Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1345); + Graph_CloseDisps(dispRefs, gfxCtx, "../z_rcp.c", 1345); } void func_800939F8(GraphicsContext* gfxCtx) { - Gfx* gfxArr[5]; + Gfx* dispRefs[5]; - Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1357); + Graph_OpenDisps(dispRefs, gfxCtx, "../z_rcp.c", 1357); gSPDisplayList(gfxCtx->polyXlu.p++, &sSetupDL[6 * 0x34]); - Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1361); + Graph_CloseDisps(dispRefs, gfxCtx, "../z_rcp.c", 1361); } void func_80093A64(GraphicsContext* gfxCtx) { - Gfx* gfxArr[5]; + Gfx* dispRefs[5]; - Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1373); + Graph_OpenDisps(dispRefs, gfxCtx, "../z_rcp.c", 1373); gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x35]); - Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1377); + Graph_CloseDisps(dispRefs, gfxCtx, "../z_rcp.c", 1377); } void func_80093AD0(GraphicsContext* gfxCtx) { - Gfx* gfxArr[5]; + Gfx* dispRefs[5]; - Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1389); + Graph_OpenDisps(dispRefs, gfxCtx, "../z_rcp.c", 1389); gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x36]); - Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1393); + Graph_CloseDisps(dispRefs, gfxCtx, "../z_rcp.c", 1393); } void func_80093B3C(GraphicsContext* gfxCtx) { - Gfx* gfxArr[5]; + Gfx* dispRefs[5]; - Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1405); + Graph_OpenDisps(dispRefs, gfxCtx, "../z_rcp.c", 1405); gSPDisplayList(gfxCtx->polyXlu.p++, &sSetupDL[6 * 0x37]); - Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1409); + Graph_CloseDisps(dispRefs, gfxCtx, "../z_rcp.c", 1409); } void func_80093BA8(GraphicsContext* gfxCtx) { - Gfx* gfxArr[5]; + Gfx* dispRefs[5]; - Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1421); + Graph_OpenDisps(dispRefs, gfxCtx, "../z_rcp.c", 1421); gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x1A]); - Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1425); + Graph_CloseDisps(dispRefs, gfxCtx, "../z_rcp.c", 1425); } void func_80093C14(GraphicsContext* gfxCtx) { - Gfx* gfxArr[5]; + Gfx* dispRefs[5]; - Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1439); + Graph_OpenDisps(dispRefs, gfxCtx, "../z_rcp.c", 1439); gSPDisplayList(gfxCtx->polyXlu.p++, &sSetupDL[6 * 0x19]); - Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1443); + Graph_CloseDisps(dispRefs, gfxCtx, "../z_rcp.c", 1443); } void func_80093C80(GlobalContext* globalCtx) { GraphicsContext* gfxCtx; - Gfx* gfxArr[5]; + Gfx* dispRefs[5]; gfxCtx = globalCtx->state.gfxCtx; func_80093D18(gfxCtx); if (globalCtx->roomCtx.curRoom.unk_03 == 3) { - Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1460); + Graph_OpenDisps(dispRefs, gfxCtx, "../z_rcp.c", 1460); gDPSetColorDither(gfxCtx->polyOpa.p++, G_CD_DISABLE); - Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1462); + Graph_CloseDisps(dispRefs, gfxCtx, "../z_rcp.c", 1462); } } void func_80093D18(GraphicsContext* gfxCtx) { - Gfx* gfxArr[5]; + Gfx* dispRefs[5]; - Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1475); + Graph_OpenDisps(dispRefs, gfxCtx, "../z_rcp.c", 1475); gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x19]); - Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1479); + Graph_CloseDisps(dispRefs, gfxCtx, "../z_rcp.c", 1479); } void func_80093D84(GraphicsContext* gfxCtx) { - Gfx* gfxArr[5]; + Gfx* dispRefs[5]; - Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1491); + Graph_OpenDisps(dispRefs, gfxCtx, "../z_rcp.c", 1491); gSPDisplayList(gfxCtx->polyXlu.p++, &sSetupDL[6 * 0x19]); - Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1495); + Graph_CloseDisps(dispRefs, gfxCtx, "../z_rcp.c", 1495); } void func_80093DF0(GraphicsContext* gfxCtx) { - Gfx* gfxArr[5]; + Gfx* dispRefs[5]; - Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1507); + Graph_OpenDisps(dispRefs, gfxCtx, "../z_rcp.c", 1507); gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x1F]); - Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1511); + Graph_CloseDisps(dispRefs, gfxCtx, "../z_rcp.c", 1511); } void func_80093E5C(GraphicsContext* gfxCtx) { - Gfx* gfxArr[5]; + Gfx* dispRefs[5]; - Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1523); + Graph_OpenDisps(dispRefs, gfxCtx, "../z_rcp.c", 1523); gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x20]); - Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1527); + Graph_CloseDisps(dispRefs, gfxCtx, "../z_rcp.c", 1527); } void func_80093EC8(GraphicsContext* gfxCtx) { - Gfx* gfxArr[5]; + Gfx* dispRefs[5]; - Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1539); + Graph_OpenDisps(dispRefs, gfxCtx, "../z_rcp.c", 1539); gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x21]); - Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1543); + Graph_CloseDisps(dispRefs, gfxCtx, "../z_rcp.c", 1543); } Gfx* func_80093F34(Gfx* gfx) { @@ -1065,43 +1065,43 @@ Gfx* func_80093F58(Gfx* gfx) { } void func_80093F7C(GraphicsContext* gfxCtx) { - Gfx* gfxArr[5]; + Gfx* dispRefs[5]; - Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1569); + Graph_OpenDisps(dispRefs, gfxCtx, "../z_rcp.c", 1569); gfxCtx->polyOpa.p = func_80093F58(gfxCtx->polyOpa.p); - Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1573); + Graph_CloseDisps(dispRefs, gfxCtx, "../z_rcp.c", 1573); } void func_80093FD8(GraphicsContext* gfxCtx) { - Gfx* gfxArr[5]; + Gfx* dispRefs[5]; - Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1585); + Graph_OpenDisps(dispRefs, gfxCtx, "../z_rcp.c", 1585); gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x23]); - Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1589); + Graph_CloseDisps(dispRefs, gfxCtx, "../z_rcp.c", 1589); } void func_80094044(GraphicsContext* gfxCtx) { - Gfx* gfxArr[5]; + Gfx* dispRefs[5]; - Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1601); + Graph_OpenDisps(dispRefs, gfxCtx, "../z_rcp.c", 1601); gSPDisplayList(gfxCtx->polyXlu.p++, &sSetupDL[6 * 0x2C]); - Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1605); + Graph_CloseDisps(dispRefs, gfxCtx, "../z_rcp.c", 1605); } void func_800940B0(GraphicsContext* gfxCtx) { - Gfx* gfxArr[5]; + Gfx* dispRefs[5]; - Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1617); + Graph_OpenDisps(dispRefs, gfxCtx, "../z_rcp.c", 1617); gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x24]); - Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1621); + Graph_CloseDisps(dispRefs, gfxCtx, "../z_rcp.c", 1621); } Gfx* func_8009411C(Gfx* gfx) { @@ -1110,83 +1110,83 @@ Gfx* func_8009411C(Gfx* gfx) { } void func_80094140(GraphicsContext* gfxCtx) { - Gfx* gfxArr[5]; + Gfx* dispRefs[5]; - Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1640); + Graph_OpenDisps(dispRefs, gfxCtx, "../z_rcp.c", 1640); gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x1C]); - Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1644); + Graph_CloseDisps(dispRefs, gfxCtx, "../z_rcp.c", 1644); } void func_800941AC(GraphicsContext* gfxCtx) { - Gfx* gfxArr[5]; + Gfx* dispRefs[5]; - Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1651); + Graph_OpenDisps(dispRefs, gfxCtx, "../z_rcp.c", 1651); gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x2B]); - Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1655); + Graph_CloseDisps(dispRefs, gfxCtx, "../z_rcp.c", 1655); } void func_80094218(GraphicsContext* gfxCtx) { - Gfx* gfxArr[5]; + Gfx* dispRefs[5]; - Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1670); + Graph_OpenDisps(dispRefs, gfxCtx, "../z_rcp.c", 1670); gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x2D]); - Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1674); + Graph_CloseDisps(dispRefs, gfxCtx, "../z_rcp.c", 1674); } void func_80094284(GraphicsContext* gfxCtx) { - Gfx* gfxArr[5]; + Gfx* dispRefs[5]; - Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1681); + Graph_OpenDisps(dispRefs, gfxCtx, "../z_rcp.c", 1681); gSPDisplayList(gfxCtx->overlay.p++, &sSetupDL[6 * 0x2E]); - Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1685); + Graph_CloseDisps(dispRefs, gfxCtx, "../z_rcp.c", 1685); } void func_800942F0(GraphicsContext* gfxCtx) { - Gfx* gfxArr[5]; + Gfx* dispRefs[5]; - Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1700); + Graph_OpenDisps(dispRefs, gfxCtx, "../z_rcp.c", 1700); gSPDisplayList(gfxCtx->polyXlu.p++, &sSetupDL[6 * 0x26]); - Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1704); + Graph_CloseDisps(dispRefs, gfxCtx, "../z_rcp.c", 1704); } void func_8009435C(GraphicsContext* gfxCtx) { - Gfx* gfxArr[5]; + Gfx* dispRefs[5]; - Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1722); + Graph_OpenDisps(dispRefs, gfxCtx, "../z_rcp.c", 1722); gSPDisplayList(gfxCtx->polyXlu.p++, &sSetupDL[6 * 0x04]); - Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1726); + Graph_CloseDisps(dispRefs, gfxCtx, "../z_rcp.c", 1726); } void func_800943C8(GraphicsContext* gfxCtx) { - Gfx* gfxArr[5]; + Gfx* dispRefs[5]; - Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1758); + Graph_OpenDisps(dispRefs, gfxCtx, "../z_rcp.c", 1758); gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x25]); - Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1762); + Graph_CloseDisps(dispRefs, gfxCtx, "../z_rcp.c", 1762); } void func_80094434(GraphicsContext* gfxCtx) { - Gfx* gfxArr[5]; + Gfx* dispRefs[5]; - Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1775); + Graph_OpenDisps(dispRefs, gfxCtx, "../z_rcp.c", 1775); gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x02]); - Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1779); + Graph_CloseDisps(dispRefs, gfxCtx, "../z_rcp.c", 1779); } Gfx* func_800944A0(Gfx* gfx) { @@ -1195,23 +1195,23 @@ Gfx* func_800944A0(Gfx* gfx) { } void func_800944C4(GraphicsContext* gfxCtx) { - Gfx* gfxArr[5]; + Gfx* dispRefs[5]; - Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1799); + Graph_OpenDisps(dispRefs, gfxCtx, "../z_rcp.c", 1799); gfxCtx->polyOpa.p = func_800944A0(gfxCtx->polyOpa.p); - Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1801); + Graph_CloseDisps(dispRefs, gfxCtx, "../z_rcp.c", 1801); } void func_80094520(GraphicsContext* gfxCtx) { - Gfx* gfxArr[5]; + Gfx* dispRefs[5]; - Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1809); + Graph_OpenDisps(dispRefs, gfxCtx, "../z_rcp.c", 1809); gfxCtx->overlay.p = func_800944A0(gfxCtx->overlay.p); - Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1811); + Graph_CloseDisps(dispRefs, gfxCtx, "../z_rcp.c", 1811); } void func_8009457C(Gfx** gfxp) { @@ -1221,33 +1221,33 @@ void func_8009457C(Gfx** gfxp) { } void func_800945A0(GraphicsContext* gfxCtx) { - Gfx* gfxArr[5]; + Gfx* dispRefs[5]; - Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1837); + Graph_OpenDisps(dispRefs, gfxCtx, "../z_rcp.c", 1837); gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x28]); - Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1841); + Graph_CloseDisps(dispRefs, gfxCtx, "../z_rcp.c", 1841); } void func_8009460C(GraphicsContext* gfxCtx) { - Gfx* gfxArr[5]; + Gfx* dispRefs[5]; - Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1853); + Graph_OpenDisps(dispRefs, gfxCtx, "../z_rcp.c", 1853); gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x29]); - Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1857); + Graph_CloseDisps(dispRefs, gfxCtx, "../z_rcp.c", 1857); } void func_80094678(GraphicsContext* gfxCtx) { - Gfx* gfxArr[5]; + Gfx* dispRefs[5]; - Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1869); + Graph_OpenDisps(dispRefs, gfxCtx, "../z_rcp.c", 1869); gSPDisplayList(gfxCtx->polyXlu.p++, &sSetupDL[6 * 0x2F]); - Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1873); + Graph_CloseDisps(dispRefs, gfxCtx, "../z_rcp.c", 1873); } Gfx* func_800946E4(Gfx* gfx) { @@ -1307,84 +1307,84 @@ Gfx* func_80094968(Gfx* gfx) { } void func_800949A8(GraphicsContext* gfxCtx) { - Gfx* gfxArr[5]; + Gfx* dispRefs[5]; - Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1953); + Graph_OpenDisps(dispRefs, gfxCtx, "../z_rcp.c", 1953); gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x2A]); - Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1957); + Graph_CloseDisps(dispRefs, gfxCtx, "../z_rcp.c", 1957); } void func_80094A14(GraphicsContext* gfxCtx) { - Gfx* gfxArr[5]; + Gfx* dispRefs[5]; - Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1964); + Graph_OpenDisps(dispRefs, gfxCtx, "../z_rcp.c", 1964); gSPDisplayList(gfxCtx->overlay.p++, &sSetupDL[6 * 0x2A]); - Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1968); + Graph_CloseDisps(dispRefs, gfxCtx, "../z_rcp.c", 1968); } void func_80094A80(GraphicsContext* gfxCtx) { - Gfx* gfxArr[5]; + Gfx* dispRefs[5]; - Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 1992); + Graph_OpenDisps(dispRefs, gfxCtx, "../z_rcp.c", 1992); gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x30]); - Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 1996); + Graph_CloseDisps(dispRefs, gfxCtx, "../z_rcp.c", 1996); } void func_80094AEC(GraphicsContext* gfxCtx) { - Gfx* gfxArr[5]; + Gfx* dispRefs[5]; - Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 2008); + Graph_OpenDisps(dispRefs, gfxCtx, "../z_rcp.c", 2008); gSPDisplayList(gfxCtx->polyXlu.p++, &sSetupDL[6 * 0x31]); - Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 2012); + Graph_CloseDisps(dispRefs, gfxCtx, "../z_rcp.c", 2012); } void func_80094B58(GraphicsContext* gfxCtx) { - Gfx* gfxArr[5]; + Gfx* dispRefs[5]; - Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 2024); + Graph_OpenDisps(dispRefs, gfxCtx, "../z_rcp.c", 2024); gSPDisplayList(gfxCtx->polyXlu.p++, &sSetupDL[6 * 0x1B]); - Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 2028); + Graph_CloseDisps(dispRefs, gfxCtx, "../z_rcp.c", 2028); } void func_80094BC4(GraphicsContext* gfxCtx) { - Gfx* gfxArr[5]; + Gfx* dispRefs[5]; - Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 2040); + Graph_OpenDisps(dispRefs, gfxCtx, "../z_rcp.c", 2040); gSPDisplayList(gfxCtx->polyXlu.p++, &sSetupDL[6 * 0x3C]); gDPSetColorDither(gfxCtx->polyXlu.p++, G_CD_DISABLE); - Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 2043); + Graph_CloseDisps(dispRefs, gfxCtx, "../z_rcp.c", 2043); } void func_80094C50(GraphicsContext* gfxCtx) { - Gfx* gfxArr[5]; + Gfx* dispRefs[5]; - Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 2056); + Graph_OpenDisps(dispRefs, gfxCtx, "../z_rcp.c", 2056); gSPDisplayList(gfxCtx->polyXlu.p++, &sSetupDL[6 * 0x3D]); - Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 2058); + Graph_CloseDisps(dispRefs, gfxCtx, "../z_rcp.c", 2058); } void func_80094CBC(GraphicsContext* gfxCtx) { - Gfx* gfxArr[5]; + Gfx* dispRefs[5]; - Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 2086); + Graph_OpenDisps(dispRefs, gfxCtx, "../z_rcp.c", 2086); gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x38]); - Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 2090); + Graph_CloseDisps(dispRefs, gfxCtx, "../z_rcp.c", 2090); } void func_80094D28(Gfx** gfxp) { @@ -1394,13 +1394,13 @@ void func_80094D28(Gfx** gfxp) { } void func_80094D4C(GraphicsContext* gfxCtx) { - Gfx* gfxArr[5]; + Gfx* dispRefs[5]; - Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 2112); + Graph_OpenDisps(dispRefs, gfxCtx, "../z_rcp.c", 2112); gSPDisplayList(gfxCtx->polyOpa.p++, &sSetupDL[6 * 0x3B]); - Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 2116); + Graph_CloseDisps(dispRefs, gfxCtx, "../z_rcp.c", 2116); } #ifdef NON_MATCHING @@ -1484,10 +1484,10 @@ Gfx* Gfx_EnvColor(GraphicsContext* gfxCtx, s32 r, s32 g, s32 b, s32 a) { } void func_80095248(GraphicsContext* gfxCtx, u8 r, u8 g, u8 b) { - Gfx* gfxArr[5]; + Gfx* dispRefs[5]; s32 ret; - Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 2386); + Graph_OpenDisps(dispRefs, gfxCtx, "../z_rcp.c", 2386); gSPDisplayList(gfxCtx->polyOpa.p++, sFillSetupDL); gSPDisplayList(gfxCtx->polyXlu.p++, sFillSetupDL); @@ -1577,13 +1577,13 @@ void func_80095248(GraphicsContext* gfxCtx, u8 r, u8 g, u8 b) { } } - Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 2497); + Graph_CloseDisps(dispRefs, gfxCtx, "../z_rcp.c", 2497); } void func_80095974(GraphicsContext* gfxCtx) { - Gfx* gfxArr[5]; + Gfx* dispRefs[5]; - Graph_OpenDisp(gfxArr, gfxCtx, "../z_rcp.c", 2503); + Graph_OpenDisps(dispRefs, gfxCtx, "../z_rcp.c", 2503); gSPDisplayList(gfxCtx->polyOpa.p++, sFillSetupDL); gDPSetScissorFrac(gfxCtx->polyOpa.p++, G_SC_NON_INTERLACE, 0, 0, (s32)gScreenWidth * 4.0f, @@ -1591,5 +1591,5 @@ void func_80095974(GraphicsContext* gfxCtx) { gDPSetDepthImage(gfxCtx->polyOpa.p++, gZBuffer); gDPSetColorImage(gfxCtx->polyOpa.p++, G_IM_FMT_RGBA, G_IM_SIZ_16b, gScreenWidth, gfxCtx->curFrameBuffer); - Graph_CloseDisp(gfxArr, gfxCtx, "../z_rcp.c", 2513); + Graph_CloseDisps(dispRefs, gfxCtx, "../z_rcp.c", 2513); } |
