diff --git a/src/swrenderer/drawers/r_draw.h b/src/swrenderer/drawers/r_draw.h index cf8fb2c35..468ad6e2f 100644 --- a/src/swrenderer/drawers/r_draw.h +++ b/src/swrenderer/drawers/r_draw.h @@ -180,7 +180,4 @@ namespace swrenderer void R_SetSpanTexture(FTexture *tex); void R_SetSpanColormap(FDynamicColormap *colormap, int shade); - - void R_MapTiltedPlane(int y, int x1); - void R_MapColoredPlane(int y, int x1); } diff --git a/src/swrenderer/scene/r_plane.h b/src/swrenderer/scene/r_plane.h index 740020209..e6f2dc2eb 100644 --- a/src/swrenderer/scene/r_plane.h +++ b/src/swrenderer/scene/r_plane.h @@ -107,6 +107,9 @@ void R_DrawNormalPlane (visplane_t *pl, double xscale, double yscale, fixed_t al void R_DrawTiltedPlane (visplane_t *pl, double xscale, double yscale, fixed_t alpha, bool additive, bool masked); void R_MapVisPlane (visplane_t *pl, void (*mapfunc)(int y, int x1)); +void R_MapTiltedPlane(int y, int x1); +void R_MapColoredPlane(int y, int x1); + visplane_t *R_FindPlane ( const secplane_t &height, FTextureID picnum,