commit 18fa4d7268517ecb2e10803610b6fa24bd9bb4f3
Author: Turo Lamminen <turol@iki.fi>
AuthorDate: Sat Sep 10 19:17:10 2022 +0300
Commit: Turo Lamminen <turol@iki.fi>
CommitDate: Fri Oct 7 13:14:28 2022 +0300
hexen: Move viewactive extern declaration to h2def.h
---
src/hexen/am_map.c | 2 --
src/hexen/f_finale.c | 2 --
src/hexen/h2def.h | 2 ++
3 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/hexen/am_map.c b/src/hexen/am_map.c
index d124105e..28f8bc65 100644
--- a/src/hexen/am_map.c
+++ b/src/hexen/am_map.c
@@ -85,8 +85,6 @@ static char cheat_kills[] = { 'k', 'i', 'l', 'l', 's' };
static boolean ShowKills = 0;
static unsigned ShowKillsCount = 0;
-extern boolean viewactive;
-
static byte antialias[NUMALIAS][8] = {
{83, 84, 85, 86, 87, 88, 89, 90},
{96, 96, 95, 94, 93, 92, 91, 90},
diff --git a/src/hexen/f_finale.c b/src/hexen/f_finale.c
index dca34f47..93af19e7 100644
--- a/src/hexen/f_finale.c
+++ b/src/hexen/f_finale.c
@@ -50,8 +50,6 @@ static char *GetFinaleText(int sequence);
// EXTERNAL DATA DECLARATIONS ----------------------------------------------
-extern boolean viewactive;
-
// PUBLIC DATA DECLARATIONS ------------------------------------------------
// PRIVATE DATA DEFINITIONS ------------------------------------------------
diff --git a/src/hexen/h2def.h b/src/hexen/h2def.h
index 49614fec..a4975eff 100644
--- a/src/hexen/h2def.h
+++ b/src/hexen/h2def.h
@@ -612,6 +612,8 @@ extern boolean altpal; // checkparm to use an alternate palette routine
extern boolean cdrom; // true if cd-rom mode active ("-cdrom")
+extern boolean viewactive;
+
extern boolean deathmatch; // only if started as net death
extern boolean netgame; // only true if >1 player