shithub: choc

Download patch

ref: 016554564a92f8e2260681ce12783b4c90a52d23
parent: ce6655f784139804ea1c10a3075b958b706b780d
author: Turo Lamminen <[email protected]>
date: Tue Oct 11 08:01:13 EDT 2022

heretic: Move automapactive extern declaration to am_map.h

--- a/src/heretic/am_map.h
+++ b/src/heretic/am_map.h
@@ -112,4 +112,8 @@
 
 // extern int f_x, f_y, f_w, f_h;
 
+
+extern boolean automapactive;
+
+
 #endif
--- a/src/heretic/d_main.c
+++ b/src/heretic/d_main.c
@@ -74,7 +74,6 @@
 static boolean using_graphical_startup;
 static boolean main_loop_started = false;
 boolean autostart;
-extern boolean automapactive;
 
 boolean advancedemo;
 
--- a/src/heretic/f_finale.c
+++ b/src/heretic/f_finale.c
@@ -36,7 +36,6 @@
 
 static int FontABaseLump;
 
-extern boolean automapactive;
 extern boolean viewactive;
 
 extern void D_StartTitle(void);
--- a/src/heretic/mn_menu.c
+++ b/src/heretic/mn_menu.c
@@ -1044,7 +1044,6 @@
     int key;
     int i;
     MenuItem_t *item;
-    extern boolean automapactive;
     extern void D_StartTitle(void);
     extern void G_CheckDemoStatus(void);
     char *textBuffer;
--- a/src/heretic/sb_bar.c
+++ b/src/heretic/sb_bar.c
@@ -540,7 +540,6 @@
 
 int playerkeys = 0;
 
-extern boolean automapactive;
 
 void SB_Drawer(void)
 {