shithub: choc

Download patch

ref: 422d7fbcf03c6abbfe3b8c013933d307a9f21e0b
parent: 0c5d4c8162ea2a15a93f2e930358d2a499488a11
author: Turo Lamminen <turol@iki.fi>
date: Wed Sep 7 11:16:31 EDT 2022

doom: Move showMessages extern declaration to m_menu.h

--- a/src/doom/d_main.c
+++ b/src/doom/d_main.c
@@ -162,7 +162,6 @@
 // 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)
--- a/src/doom/hu_stuff.c
+++ b/src/doom/hu_stuff.c
@@ -91,7 +91,6 @@
 static hu_stext_t	w_message;
 static int		message_counter;
 
-extern int		showMessages;
 
 static boolean		headsupactive = false;
 
--- a/src/doom/m_menu.h
+++ b/src/doom/m_menu.h
@@ -56,6 +56,7 @@
 extern int screenblocks;
 
 extern boolean inhelpscreens;
+extern int showMessages;
 
 
 #endif