shithub: choc

Download patch

ref: 46d46e543c543662200e7a37a2fabfb5f4e4bc65
parent: 6befad86d6e1c9687e062d7f13d6f01b2270374a
author: Turo Lamminen <turol@iki.fi>
date: Tue Sep 13 16:02:32 EDT 2022

hexen: Move columnofs extern declaration to r_local.h

--- a/src/hexen/r_local.h
+++ b/src/hexen/r_local.h
@@ -519,6 +519,7 @@
 extern fixed_t dc_texturemid;
 extern byte *dc_source;         // first pixel in a column
 extern byte *ylookup[MAXHEIGHT];
+extern int columnofs[MAXWIDTH];
 
 
 void R_DrawColumn(void);
--- a/src/hexen/r_plane.c
+++ b/src/hexen/r_plane.c
@@ -383,8 +383,6 @@
     int skyTexture2;
     int scrollOffset;
 
-    extern int columnofs[MAXWIDTH];
-
 #ifdef RANGECHECK
     if (ds_p - drawsegs > MAXDRAWSEGS)
     {