mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-29 12:40:58 +00:00
R_DrawSplatSprite -> R_DrawFloorSprite
This commit is contained in:
parent
0f9d85694d
commit
805818d48e
3 changed files with 5 additions and 5 deletions
|
@ -137,7 +137,7 @@ static void rasterize_segment_tex(INT32 x1, INT32 y1, INT32 x2, INT32 y2, INT32
|
|||
}
|
||||
}
|
||||
|
||||
void R_DrawSplatSprite(vissprite_t *spr)
|
||||
void R_DrawFloorSprite(vissprite_t *spr)
|
||||
{
|
||||
floorsplat_t splat;
|
||||
mobj_t *mobj = spr->mobj;
|
||||
|
|
|
@ -42,7 +42,7 @@ typedef struct floorsplat_s
|
|||
mobj_t *mobj; // Mobj it is tied to
|
||||
} floorsplat_t;
|
||||
|
||||
void R_DrawSplatSprite(vissprite_t *spr);
|
||||
void R_DrawFloorSprite(vissprite_t *spr);
|
||||
void R_RenderFloorSplat(floorsplat_t *pSplat, vector2_t *verts, vissprite_t *vis);
|
||||
|
||||
#endif /*__R_SPLATS_H__*/
|
||||
|
|
|
@ -2787,7 +2787,7 @@ static void R_DrawSprite(vissprite_t *spr)
|
|||
mceilingclip = spr->cliptop;
|
||||
|
||||
if (spr->cut & SC_SPLAT)
|
||||
R_DrawSplatSprite(spr);
|
||||
R_DrawFloorSprite(spr);
|
||||
else
|
||||
R_DrawVisSprite(spr);
|
||||
}
|
||||
|
@ -3075,12 +3075,12 @@ boolean R_ThingIsFloorSprite(mobj_t *thing)
|
|||
return (thing->flags2 & MF2_SPLAT || thing->renderflags & RF_FLOORSPRITE);
|
||||
}
|
||||
|
||||
boolean R_ThingIsFullBright (mobj_t *thing)
|
||||
boolean R_ThingIsFullBright(mobj_t *thing)
|
||||
{
|
||||
return (thing->frame & FF_FULLBRIGHT || thing->renderflags & RF_FULLBRIGHT);
|
||||
}
|
||||
|
||||
boolean R_ThingIsFullDark (mobj_t *thing)
|
||||
boolean R_ThingIsFullDark(mobj_t *thing)
|
||||
{
|
||||
return (thing->renderflags & RF_FULLDARK);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue