shithub: choc

Download patch

ref: ab9e18e3925b0d49731f4710606d1937e27a6e02
parent: 6e3e13b718f87bab1b91e940a59b35c57de7a201
author: Turo Lamminen <[email protected]>
date: Tue Sep 13 14:33:16 EDT 2022

hexen: Move automapactive extern declaration to am_map.h

--- a/src/hexen/am_map.h
+++ b/src/hexen/am_map.h
@@ -118,4 +118,7 @@
 } islope_t;
 
 
+extern boolean automapactive;
+
+
 #endif
--- a/src/hexen/f_finale.c
+++ b/src/hexen/f_finale.c
@@ -50,7 +50,6 @@
 
 // EXTERNAL DATA DECLARATIONS ----------------------------------------------
 
-extern boolean automapactive;
 extern boolean viewactive;
 
 // PUBLIC DATA DECLARATIONS ------------------------------------------------
--- a/src/hexen/h2_main.c
+++ b/src/hexen/h2_main.c
@@ -89,7 +89,6 @@
 
 // EXTERNAL DATA DECLARATIONS ----------------------------------------------
 
-extern boolean automapactive;
 extern boolean MenuActive;
 extern boolean askforquit;
 
--- a/src/hexen/mn_menu.c
+++ b/src/hexen/mn_menu.c
@@ -1148,7 +1148,6 @@
     int charTyped;
     int i;
     MenuItem_t *item;
-    extern boolean automapactive;
     extern void H2_StartTitle(void);
     extern void G_CheckDemoStatus(void);
     char *textBuffer;
--- a/src/hexen/sb_bar.c
+++ b/src/hexen/sb_bar.c
@@ -742,7 +742,6 @@
 static int oldweapon = -1;
 static int oldkeys = -1;
 
-extern boolean automapactive;
 
 void SB_Drawer(void)
 {