ref: e7d8996e2c77403dd76fef09bd07dceaa8a679b2
parent: 6cdd6a970f77bdf58c896ae3f1b359b69e571ccc
author: Turo Lamminen <[email protected]>
date: Tue Sep 13 15:59:08 EDT 2022
hexen: Move walllights extern declaration to r_local.h
--- a/src/hexen/r_local.h
+++ b/src/hexen/r_local.h
@@ -397,6 +397,8 @@
extern int rw_angle1; // angle to line origin
extern int TransTextureStart;
extern int TransTextureEnd;
+extern lighttable_t **walllights;
+
void R_RenderMaskedSegRange(drawseg_t * ds, int x1, int x2);
--- a/src/hexen/r_main.c
+++ b/src/hexen/r_main.c
@@ -28,7 +28,6 @@
int validcount = 1; // increment every time a check is made
lighttable_t *fixedcolormap;
-extern lighttable_t **walllights;
int centerx, centery;
fixed_t centerxfrac, centeryfrac;