foxygit / doom Log in
commit 422d7fbcf03c6abbfe3b8c013933d307a9f21e0b
Author:     Turo Lamminen <turol@iki.fi>
AuthorDate: Wed Sep 7 15:16:31 2022 +0300
Commit:     Turo Lamminen <turol@iki.fi>
CommitDate: Thu Nov 3 10:18:39 2022 +0200

    doom: Move showMessages extern declaration to m_menu.h
---
 src/doom/d_main.c   | 1 -
 src/doom/hu_stuff.c | 1 -
 src/doom/m_menu.h   | 1 +
 3 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/doom/d_main.c b/src/doom/d_main.c
index a2b22228..f2b05012 100644
--- a/src/doom/d_main.c
+++ b/src/doom/d_main.c
@@ -162,7 +162,6 @@ void D_ProcessEvents (void)
 // wipegamestate can be set to -1 to force a wipe on the next draw
 gamestate_t     wipegamestate = GS_DEMOSCREEN;
 extern  boolean setsizeneeded;
-extern  int             showMessages;
 void R_ExecuteSetViewSize (void);

 boolean D_Display (void)
diff --git a/src/doom/hu_stuff.c b/src/doom/hu_stuff.c
index f190a93d..bb200296 100644
--- a/src/doom/hu_stuff.c
+++ b/src/doom/hu_stuff.c
@@ -91,7 +91,6 @@ static boolean		message_nottobefuckedwith;
 static hu_stext_t	w_message;
 static int		message_counter;

-extern int		showMessages;

 static boolean		headsupactive = false;

diff --git a/src/doom/m_menu.h b/src/doom/m_menu.h
index 940f43e3..2c7867f1 100644
--- a/src/doom/m_menu.h
+++ b/src/doom/m_menu.h
@@ -56,6 +56,7 @@ extern int detailLevel;
 extern int screenblocks;

 extern boolean inhelpscreens;
+extern int showMessages;


 #endif