mirror of
https://github.com/izzy2lost/Diddy-Kong-Racing.git
synced 2026-06-19 01:16:26 -07:00
document textures_sprites.c (#523)
This commit is contained in:
+3
-3
@@ -1143,8 +1143,8 @@ s32 render_sprite_billboard(Gfx **dList, MatrixS **mtx, Vertex **vertexList, Obj
|
||||
if (flags & RENDER_SEMI_TRANSPARENT) {
|
||||
flags |= RENDER_ANTI_ALIASING;
|
||||
}
|
||||
func_8007BF34(dList, arg4->unk6 | (flags & (RENDER_FOG_ACTIVE | RENDER_SEMI_TRANSPARENT | RENDER_Z_COMPARE |
|
||||
RENDER_ANTI_ALIASING)));
|
||||
material_load_simple(dList, arg4->drawFlags | (flags & (RENDER_FOG_ACTIVE | RENDER_SEMI_TRANSPARENT | RENDER_Z_COMPARE |
|
||||
RENDER_ANTI_ALIASING)));
|
||||
if (!(flags & RENDER_Z_UPDATE)) {
|
||||
gDPSetPrimColor((*dList)++, 0, 0, 255, 255, 255, 255);
|
||||
}
|
||||
@@ -1211,7 +1211,7 @@ void render_ortho_triangle_image(Gfx **dList, MatrixS **mtx, Vertex **vtx, Objec
|
||||
if (gSpriteAnimOff == FALSE) {
|
||||
index = (((u8) index) * sprite->baseTextureId) >> 8;
|
||||
}
|
||||
func_8007BF34(dList, sprite->unk6 | flags);
|
||||
material_load_simple(dList, sprite->drawFlags | flags);
|
||||
if (index >= sprite->baseTextureId) {
|
||||
index = sprite->baseTextureId - 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user