1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-12-29 00:06:33 +00:00

Name side dlist

This commit is contained in:
Sirius902 2020-11-14 23:54:20 -08:00
parent 2e98985e94
commit 5562948978
2 changed files with 4 additions and 4 deletions

View file

@ -340,7 +340,7 @@ void BgGanonOtyuka_Draw(Actor* thisx, GlobalContext* globalCtx) {
gSPMatrix(POLY_OPA_DISP++,
Matrix_NewMtx(globalCtx->state.gfxCtx, "../z_bg_ganon_otyuka.c", 785),
G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW);
gSPDisplayList(POLY_OPA_DISP++, D_80877460);
gSPDisplayList(POLY_OPA_DISP++, sPlatformSideDList);
Matrix_Pull();
}
}

View file

@ -106,15 +106,15 @@ static Gfx sPlatformBottomDList[] = {
gsSPEndDisplayList(),
};
static Vtx sVertices3[] = {
static Vtx sPlatformSideVerts[] = {
VTX(-60, 0, 0, 2048, -1024, 0xFF, 0xFF, 0xFF, 0xFF),
VTX(-60, -60, 0, 2048, 1024, 0x32, 0x32, 0x32, 0xFF),
VTX(60, -60, 0, 0, 1024, 0x32, 0x32, 0x32, 0xFF),
VTX(60, 0, 0, 0, -1024, 0xFF, 0xFF, 0xFF, 0xFF),
};
static Gfx D_80877460[] = {
gsSPVertex(sVertices3, ARRAY_COUNT(sVertices3), 0),
static Gfx sPlatformSideDList[] = {
gsSPVertex(sPlatformSideVerts, ARRAY_COUNT(sPlatformSideVerts), 0),
gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
gsSPEndDisplayList(),
};