|
|
@ -256,7 +256,7 @@ static INLINE void draw_quadstrip_textured(const ps1bsp_vertex_t *vertices, cons |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
static INLINE void draw_quadstrip_water(const ps1bsp_vertex_t *vertices, const ps1bsp_polyvertex_t *polyVerts, u_char numVerts, u_short tpage, u_long *ot) |
|
|
|
|
|
|
|
|
static INLINE void draw_quadstrip_water(const ps1bsp_vertex_t *vertices, const ps1bsp_polyvertex_t *polyVerts, u_char numVerts, u_short tpage, u_char semiTrans, u_long *ot) |
|
|
{ |
|
|
{ |
|
|
// Draw the face as a quad strip |
|
|
// Draw the face as a quad strip |
|
|
const ps1bsp_polyvertex_t *v0, *v1, *v2, *v3; |
|
|
const ps1bsp_polyvertex_t *v0, *v1, *v2, *v3; |
|
|
@ -289,7 +289,7 @@ static INLINE void draw_quadstrip_water(const ps1bsp_vertex_t *vertices, const p |
|
|
// Draw a flat-shaded textured quad |
|
|
// Draw a flat-shaded textured quad |
|
|
POLY_FT4 *poly = (POLY_FT4*)mem_prim(sizeof(POLY_FT4)); |
|
|
POLY_FT4 *poly = (POLY_FT4*)mem_prim(sizeof(POLY_FT4)); |
|
|
setPolyFT4(poly); |
|
|
setPolyFT4(poly); |
|
|
setSemiTrans(poly, 1); |
|
|
|
|
|
|
|
|
setSemiTrans(poly, semiTrans); |
|
|
gte_stsxy3_ft3(poly); |
|
|
gte_stsxy3_ft3(poly); |
|
|
|
|
|
|
|
|
// Transform the fourth vertex to complete the quad |
|
|
// Transform the fourth vertex to complete the quad |
|
|
|