commit 9122d09f98deedd169665e1e22b0020a2629c57f
Author: Turo Lamminen <turol@iki.fi>
AuthorDate: Thu Sep 8 16:02:03 2022 +0300
Commit: Turo Lamminen <turol@iki.fi>
CommitDate: Mon Oct 31 12:47:44 2022 +0200
heretic: Move viewactive extern declaration to doomdef.h
---
src/heretic/am_map.c | 2 --
src/heretic/doomdef.h | 2 ++
src/heretic/f_finale.c | 2 --
3 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/heretic/am_map.c b/src/heretic/am_map.c
index 7dfd7857..9b3809d3 100644
--- a/src/heretic/am_map.c
+++ b/src/heretic/am_map.c
@@ -146,8 +146,6 @@ static char cheat_amap[] = { 'r', 'a', 'v', 'm', 'a', 'p' };
static byte cheatcount = 0;
-extern boolean viewactive;
-
static byte antialias[NUMALIAS][8] = {
{96, 97, 98, 99, 100, 101, 102, 103},
{110, 109, 108, 107, 106, 105, 104, 103},
diff --git a/src/heretic/doomdef.h b/src/heretic/doomdef.h
index ad111ee0..45a5d44a 100644
--- a/src/heretic/doomdef.h
+++ b/src/heretic/doomdef.h
@@ -508,6 +508,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
diff --git a/src/heretic/f_finale.c b/src/heretic/f_finale.c
index 9aad1262..4508bd3a 100644
--- a/src/heretic/f_finale.c
+++ b/src/heretic/f_finale.c
@@ -36,8 +36,6 @@ static const char *finaleflat;
static int FontABaseLump;
-extern boolean viewactive;
-
/*
=======================