2020-03-18 00:09:21 +00:00
|
|
|
#include <ultra64.h>
|
|
|
|
#include <global.h>
|
|
|
|
|
2020-03-29 16:43:45 +00:00
|
|
|
void Gfx_DrawDListOpa(GlobalContext* globalCtx, u32 dlist) {
|
2020-03-18 00:09:21 +00:00
|
|
|
GraphicsContext* gfxCtx = globalCtx->state.gfxCtx;
|
2020-04-05 17:29:30 +00:00
|
|
|
Gfx* dispRefs[4];
|
2020-03-18 00:09:21 +00:00
|
|
|
|
2020-04-05 17:29:30 +00:00
|
|
|
Graph_OpenDisps(dispRefs, globalCtx->state.gfxCtx, "../z_cheap_proc.c", 214);
|
2020-03-18 00:09:21 +00:00
|
|
|
|
|
|
|
func_80093D18(globalCtx->state.gfxCtx);
|
2020-03-22 21:19:43 +00:00
|
|
|
gSPMatrix(gfxCtx->polyOpa.p++, Matrix_NewMtx(globalCtx->state.gfxCtx, "../z_cheap_proc.c", 216),
|
|
|
|
G_MTX_MODELVIEW | G_MTX_LOAD);
|
2020-03-18 00:09:21 +00:00
|
|
|
gSPDisplayList(gfxCtx->polyOpa.p++, dlist);
|
|
|
|
|
2020-04-05 17:29:30 +00:00
|
|
|
Graph_CloseDisps(dispRefs, globalCtx->state.gfxCtx, "../z_cheap_proc.c", 219);
|
2020-03-18 00:09:21 +00:00
|
|
|
}
|
|
|
|
|
2020-03-29 16:43:45 +00:00
|
|
|
void Gfx_DrawDListXlu(GlobalContext* globalCtx, u32 dlist) {
|
2020-03-18 00:09:21 +00:00
|
|
|
GraphicsContext* gfxCtx = globalCtx->state.gfxCtx;
|
2020-04-05 17:29:30 +00:00
|
|
|
Gfx* dispRefs[4];
|
2020-03-18 00:09:21 +00:00
|
|
|
|
2020-04-05 17:29:30 +00:00
|
|
|
Graph_OpenDisps(dispRefs, globalCtx->state.gfxCtx, "../z_cheap_proc.c", 228);
|
2020-03-18 00:09:21 +00:00
|
|
|
|
|
|
|
func_80093D84(globalCtx->state.gfxCtx);
|
2020-03-22 21:19:43 +00:00
|
|
|
gSPMatrix(gfxCtx->polyXlu.p++, Matrix_NewMtx(globalCtx->state.gfxCtx, "../z_cheap_proc.c", 230),
|
|
|
|
G_MTX_MODELVIEW | G_MTX_LOAD);
|
2020-03-18 00:09:21 +00:00
|
|
|
gSPDisplayList(gfxCtx->polyXlu.p++, dlist);
|
|
|
|
|
2020-04-05 17:29:30 +00:00
|
|
|
Graph_CloseDisps(dispRefs, globalCtx->state.gfxCtx, "../z_cheap_proc.c", 233);
|
2020-03-18 00:09:21 +00:00
|
|
|
}
|