mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-18 04:52:03 +00:00
Fix various small gfx issues (#1313)
* Fix various small gfx issues * Use 0xFFFF instead of -1 for max prim depth * More fixed point numbers * scale -> texCoordScale, better cycle 2 render mode in z_title * GFXP_CHAR_* defines renamed to SPACING * Fix some gDPLoadMultiBlock uses
This commit is contained in:
parent
afbc312024
commit
455321d2e8
111 changed files with 695 additions and 604 deletions
|
@ -112,12 +112,14 @@ void DemoShd_Draw(Actor* thisx, PlayState* play) {
|
|||
gSPDisplayList(POLY_XLU_DISP++, D_809932D0);
|
||||
|
||||
if (this->unk_14C & 1) {
|
||||
gSPDisplayList(POLY_XLU_DISP++, Gfx_TwoTexScroll(play->state.gfxCtx, 0, 0, 0x3FF - ((unk_14E * 5) & 0x3FF), 16,
|
||||
256, 1, 0, 255 - ((unk_14E * 5) & 255), 32, 32));
|
||||
gSPDisplayList(POLY_XLU_DISP++,
|
||||
Gfx_TwoTexScroll(play->state.gfxCtx, G_TX_RENDERTILE, 0, 0x3FF - ((unk_14E * 5) & 0x3FF), 16,
|
||||
256, 1, 0, 255 - ((unk_14E * 5) & 255), 32, 32));
|
||||
gSPDisplayList(POLY_XLU_DISP++, D_80993390);
|
||||
} else if (this->unk_14C & 2) {
|
||||
gSPDisplayList(POLY_XLU_DISP++, Gfx_TwoTexScroll(play->state.gfxCtx, 0, 0, 0x3FF - ((unk_14E * 5) & 0x3FF), 16,
|
||||
256, 1, 0, 255 - ((unk_14E * 5) & 255), 32, 32));
|
||||
gSPDisplayList(POLY_XLU_DISP++,
|
||||
Gfx_TwoTexScroll(play->state.gfxCtx, G_TX_RENDERTILE, 0, 0x3FF - ((unk_14E * 5) & 0x3FF), 16,
|
||||
256, 1, 0, 255 - ((unk_14E * 5) & 255), 32, 32));
|
||||
gSPDisplayList(POLY_XLU_DISP++, D_809934B8);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue