mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-05-26 07:48:45 -04:00
24 lines
728 B
C
24 lines
728 B
C
#include "global.h"
|
|
|
|
void Gfx_DrawDListOpa(GlobalContext* globalCtx, Gfx* dlist) {
|
|
OPEN_DISPS(globalCtx->state.gfxCtx);
|
|
|
|
func_80093D18(globalCtx->state.gfxCtx);
|
|
gSPMatrix(POLY_OPA_DISP++, Matrix_NewMtx(globalCtx->state.gfxCtx),
|
|
G_MTX_MODELVIEW | G_MTX_LOAD);
|
|
gSPDisplayList(POLY_OPA_DISP++, dlist);
|
|
|
|
CLOSE_DISPS(globalCtx->state.gfxCtx);
|
|
}
|
|
|
|
void Gfx_DrawDListXlu(GlobalContext* globalCtx, Gfx* dlist) {
|
|
OPEN_DISPS(globalCtx->state.gfxCtx);
|
|
|
|
func_80093D84(globalCtx->state.gfxCtx);
|
|
gSPMatrix(POLY_XLU_DISP++, Matrix_NewMtx(globalCtx->state.gfxCtx),
|
|
G_MTX_MODELVIEW | G_MTX_LOAD);
|
|
gSPDisplayList(POLY_XLU_DISP++, dlist);
|
|
|
|
CLOSE_DISPS(globalCtx->state.gfxCtx);
|
|
}
|