mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-29 03:34:07 +00:00
Name top and bottom dlists
This commit is contained in:
parent
22eb68c5ef
commit
34ba98c6fe
2 changed files with 6 additions and 6 deletions
|
@ -308,9 +308,9 @@ void BgGanonOtyuka_Draw(Actor* thisx, GlobalContext* globalCtx) {
|
|||
|
||||
if (platform->dyna.actor.projectedPos.z > spBC) {
|
||||
if (camera->eye.y > platform->dyna.actor.posRot.pos.y) {
|
||||
phi_s2 = D_808773B0;
|
||||
phi_s2 = sPlatformTopDList;
|
||||
} else {
|
||||
phi_s2 = D_80877408;
|
||||
phi_s2 = sPlatformBottomDList;
|
||||
}
|
||||
Matrix_Translate(platform->dyna.actor.posRot.pos.x, platform->dyna.actor.posRot.pos.y,
|
||||
platform->dyna.actor.posRot.pos.z, MTXMODE_NEW);
|
||||
|
@ -319,9 +319,9 @@ void BgGanonOtyuka_Draw(Actor* thisx, GlobalContext* globalCtx) {
|
|||
Matrix_RotateX(((f32)platform->dyna.actor.shape.rot.x / 0x8000) * M_PI, MTXMODE_APPLY);
|
||||
Matrix_RotateZ(((f32)platform->dyna.actor.shape.rot.z / 0x8000) * M_PI, MTXMODE_APPLY);
|
||||
if (camera->eye.y > platform->dyna.actor.posRot.pos.y) {
|
||||
phi_s1 = D_80877408;
|
||||
phi_s1 = sPlatformBottomDList;
|
||||
} else {
|
||||
phi_s1 = D_808773B0;
|
||||
phi_s1 = sPlatformTopDList;
|
||||
}
|
||||
}
|
||||
gSPMatrix(POLY_OPA_DISP++, Matrix_NewMtx(globalCtx->state.gfxCtx, "../z_bg_ganon_otyuka.c", 766),
|
||||
|
|
|
@ -87,7 +87,7 @@ static Gfx D_80877328[] = {
|
|||
gsSPEndDisplayList(),
|
||||
};
|
||||
|
||||
static Gfx D_808773B0[] = {
|
||||
static Gfx sPlatformTopDList[] = {
|
||||
gsSPVertex(sVertices1, ARRAY_COUNT(sVertices1), 0),
|
||||
gsSP2Triangles(0, 1, 2, 0, 0, 2, 3, 0),
|
||||
gsSPEndDisplayList(),
|
||||
|
@ -100,7 +100,7 @@ static Vtx sVertices2[] = {
|
|||
VTX(-60, -60, 60, 2048, 1024, 0x32, 0x32, 0x32, 0xFF),
|
||||
};
|
||||
|
||||
static Gfx D_80877408[] = {
|
||||
static Gfx sPlatformBottomDList[] = {
|
||||
gsSPVertex(sVertices2, ARRAY_COUNT(sVertices2), 0),
|
||||
gsSP2Triangles(0, 2, 1, 0, 0, 3, 2, 0),
|
||||
gsSPEndDisplayList(),
|
||||
|
|
Loading…
Reference in a new issue