shithub: choc

Download patch

ref: 6befad86d6e1c9687e062d7f13d6f01b2270374a
parent: e7d8996e2c77403dd76fef09bd07dceaa8a679b2
author: Turo Lamminen <turol@iki.fi>
date: Tue Sep 13 16:01:00 EDT 2022

hexen: Move ylookup extern declaration to r_local.h

--- a/src/hexen/r_local.h
+++ b/src/hexen/r_local.h
@@ -518,6 +518,8 @@
 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);
--- a/src/hexen/r_plane.c
+++ b/src/hexen/r_plane.c
@@ -383,7 +383,6 @@
     int skyTexture2;
     int scrollOffset;
 
-    extern byte *ylookup[MAXHEIGHT];
     extern int columnofs[MAXWIDTH];
 
 #ifdef RANGECHECK