ref: 19eeebaad1cdd8c8f030f6cc0a87ad986b093691
parent: c1b1885e626239fd931ae15b71042249d4147927
author: Turo Lamminen <[email protected]>
date: Sat Sep 10 14:38:32 EDT 2022
heretic: Move walllights extern declaration to r_local.h
--- a/src/heretic/r_local.h
+++ b/src/heretic/r_local.h
@@ -343,6 +343,8 @@
// R_segs.c
//
extern int rw_angle1; // angle to line origin
+extern lighttable_t **walllights;
+
void R_RenderMaskedSegRange(drawseg_t * ds, int x1, int x2);
--- a/src/heretic/r_main.c
+++ b/src/heretic/r_main.c
@@ -29,7 +29,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;