commit 6befad86d6e1c9687e062d7f13d6f01b2270374a
Author: Turo Lamminen <turol@iki.fi>
AuthorDate: Tue Sep 13 20:01:00 2022 +0300
Commit: Turo Lamminen <turol@iki.fi>
CommitDate: Mon Oct 3 12:52:15 2022 +0300
hexen: Move ylookup extern declaration to r_local.h
---
src/hexen/r_local.h | 2 ++
src/hexen/r_plane.c | 1 -
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/hexen/r_local.h b/src/hexen/r_local.h
index f30b0a66..ad18aaa5 100644
--- a/src/hexen/r_local.h
+++ b/src/hexen/r_local.h
@@ -518,6 +518,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/hexen/r_plane.c b/src/hexen/r_plane.c
index 7bf8e87f..6bd23e95 100644
--- a/src/hexen/r_plane.c
+++ b/src/hexen/r_plane.c
@@ -383,7 +383,6 @@ void R_DrawPlanes(void)
int skyTexture2;
int scrollOffset;
- extern byte *ylookup[MAXHEIGHT];
extern int columnofs[MAXWIDTH];
#ifdef RANGECHECK