Remove FLOORSPLATS define
This commit is contained in:
parent
3ac175660c
commit
dbc149f85a
|
@ -641,9 +641,6 @@ extern const char *compdate, *comptime, *comprevision, *compbranch;
|
||||||
/// Render flats on walls
|
/// Render flats on walls
|
||||||
#define WALLFLATS
|
#define WALLFLATS
|
||||||
|
|
||||||
/// Floor splats
|
|
||||||
#define FLOORSPLATS
|
|
||||||
|
|
||||||
/// Maintain compatibility with older 2.2 demos
|
/// Maintain compatibility with older 2.2 demos
|
||||||
#define OLD22DEMOCOMPAT
|
#define OLD22DEMOCOMPAT
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,6 @@
|
||||||
|
|
||||||
struct rastery_s *prastertab; // for ASM code
|
struct rastery_s *prastertab; // for ASM code
|
||||||
|
|
||||||
#ifdef FLOORSPLATS
|
|
||||||
static struct rastery_s rastertab[MAXVIDHEIGHT];
|
static struct rastery_s rastertab[MAXVIDHEIGHT];
|
||||||
static void prepare_rastertab(void);
|
static void prepare_rastertab(void);
|
||||||
|
|
||||||
|
@ -412,5 +411,3 @@ static void prepare_rastertab(void)
|
||||||
rastertab[i].maxx = INT32_MIN;
|
rastertab[i].maxx = INT32_MIN;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // FLOORSPLATS
|
|
||||||
|
|
|
@ -28,7 +28,6 @@ struct rastery_s
|
||||||
};
|
};
|
||||||
extern struct rastery_s *prastertab; // for ASM code
|
extern struct rastery_s *prastertab; // for ASM code
|
||||||
|
|
||||||
#ifdef FLOORSPLATS
|
|
||||||
typedef struct floorsplat_s
|
typedef struct floorsplat_s
|
||||||
{
|
{
|
||||||
UINT16 *pic;
|
UINT16 *pic;
|
||||||
|
@ -44,6 +43,5 @@ typedef struct floorsplat_s
|
||||||
} floorsplat_t;
|
} floorsplat_t;
|
||||||
|
|
||||||
void R_RenderFloorSplat(floorsplat_t *pSplat, vector2_t *verts, vissprite_t *vis);
|
void R_RenderFloorSplat(floorsplat_t *pSplat, vector2_t *verts, vissprite_t *vis);
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /*__R_SPLATS_H__*/
|
#endif /*__R_SPLATS_H__*/
|
||||||
|
|
|
@ -2769,7 +2769,6 @@ void R_InitDrawNodes(void)
|
||||||
|
|
||||||
static void R_DrawVisSplat(vissprite_t *spr)
|
static void R_DrawVisSplat(vissprite_t *spr)
|
||||||
{
|
{
|
||||||
#ifdef FLOORSPLATS
|
|
||||||
floorsplat_t splat;
|
floorsplat_t splat;
|
||||||
fixed_t tr_x, tr_y, rot_x, rot_y, rot_z;
|
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);
|
R_RenderFloorSplat(&splat, v2d, spr);
|
||||||
#else
|
|
||||||
(void)spr;
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue