mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-19 17:32:12 +00:00
Remove FLOORSPLATS define
This commit is contained in:
parent
3ac175660c
commit
dbc149f85a
4 changed files with 0 additions and 12 deletions
|
@ -641,9 +641,6 @@ extern const char *compdate, *comptime, *comprevision, *compbranch;
|
|||
/// Render flats on walls
|
||||
#define WALLFLATS
|
||||
|
||||
/// Floor splats
|
||||
#define FLOORSPLATS
|
||||
|
||||
/// Maintain compatibility with older 2.2 demos
|
||||
#define OLD22DEMOCOMPAT
|
||||
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
|
||||
struct rastery_s *prastertab; // for ASM code
|
||||
|
||||
#ifdef FLOORSPLATS
|
||||
static struct rastery_s rastertab[MAXVIDHEIGHT];
|
||||
static void prepare_rastertab(void);
|
||||
|
||||
|
@ -412,5 +411,3 @@ static void prepare_rastertab(void)
|
|||
rastertab[i].maxx = INT32_MIN;
|
||||
}
|
||||
}
|
||||
|
||||
#endif // FLOORSPLATS
|
||||
|
|
|
@ -28,7 +28,6 @@ struct rastery_s
|
|||
};
|
||||
extern struct rastery_s *prastertab; // for ASM code
|
||||
|
||||
#ifdef FLOORSPLATS
|
||||
typedef struct floorsplat_s
|
||||
{
|
||||
UINT16 *pic;
|
||||
|
@ -44,6 +43,5 @@ typedef struct floorsplat_s
|
|||
} floorsplat_t;
|
||||
|
||||
void R_RenderFloorSplat(floorsplat_t *pSplat, vector2_t *verts, vissprite_t *vis);
|
||||
#endif
|
||||
|
||||
#endif /*__R_SPLATS_H__*/
|
||||
|
|
|
@ -2769,7 +2769,6 @@ void R_InitDrawNodes(void)
|
|||
|
||||
static void R_DrawVisSplat(vissprite_t *spr)
|
||||
{
|
||||
#ifdef FLOORSPLATS
|
||||
floorsplat_t splat;
|
||||
fixed_t tr_x, tr_y, rot_x, rot_y, rot_z;
|
||||
|
||||
|
@ -2958,9 +2957,6 @@ static void R_DrawVisSplat(vissprite_t *spr)
|
|||
}
|
||||
|
||||
R_RenderFloorSplat(&splat, v2d, spr);
|
||||
#else
|
||||
(void)spr;
|
||||
#endif
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue