commit dfea3cff9706c903687328e7b776370e2a1927cd
Author: Turo Lamminen <turol@iki.fi>
AuthorDate: Sat Sep 10 18:41:12 2022 +0300
Commit: Turo Lamminen <turol@iki.fi>
CommitDate: Mon Oct 31 11:56:02 2022 +0200
heretic: Move ylookup extern declaration to r_local.h
---
src/heretic/r_local.h | 2 ++
src/heretic/r_plane.c | 2 --
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/heretic/r_local.h b/src/heretic/r_local.h
index 1e57beee..cf58ed18 100644
--- a/src/heretic/r_local.h
+++ b/src/heretic/r_local.h
@@ -454,6 +454,8 @@ extern int dc_yh;
extern fixed_t dc_iscale;
extern fixed_t dc_texturemid;
extern byte *dc_source; // first pixel in a column
+extern byte *ylookup[MAXHEIGHT];
+
void R_DrawColumn(void);
void R_DrawColumnLow(void);
diff --git a/src/heretic/r_plane.c b/src/heretic/r_plane.c
index fdd46bea..e9ed70c7 100644
--- a/src/heretic/r_plane.c
+++ b/src/heretic/r_plane.c
@@ -381,8 +381,6 @@ void R_DrawPlanes(void)
int count;
fixed_t frac, fracstep;
- extern byte *ylookup[MAXHEIGHT];
-
#ifdef RANGECHECK
if (ds_p - drawsegs > MAXDRAWSEGS)
I_Error("R_DrawPlanes: drawsegs overflow (%td)",