shithub: choc

Download patch

ref: c1b1885e626239fd931ae15b71042249d4147927
parent: d5288044cabde1037a74e1e3d369ea18dbf7ea8e
author: Turo Lamminen <[email protected]>
date: Sat Sep 10 12:58:07 EDT 2022

heretic: Move screenblocks extern declaration to r_local.h

--- a/src/heretic/d_main.c
+++ b/src/heretic/d_main.c
@@ -651,7 +651,6 @@
 
 void D_BindVariables(void)
 {
-    extern int screenblocks;
     int i;
 
     M_ApplyPlatformDefaults();
--- a/src/heretic/mn_menu.c
+++ b/src/heretic/mn_menu.c
@@ -120,7 +120,6 @@
 // External Data
 
 extern int detailLevel;
-extern int screenblocks;
 
 // Public Data
 
--- a/src/heretic/r_local.h
+++ b/src/heretic/r_local.h
@@ -294,6 +294,8 @@
 
 extern int detailshift;         // 0 = high, 1 = low
 
+extern int screenblocks;
+
 extern void (*colfunc) (void);
 extern void (*basecolfunc) (void);
 extern void (*tlcolfunc) (void);