foxygit / doom Log in
commit 20ef3a2ca63140113a41569fa65084e7e03d5fc8
Author:     Turo Lamminen <turol@iki.fi>
AuthorDate: Tue Sep 13 19:13:39 2022 +0300
Commit:     Turo Lamminen <turol@iki.fi>
CommitDate: Fri Oct 7 13:14:28 2022 +0300

    hexen: Move H2_StartTitle prototype to h2def.h
---
 src/hexen/h2_main.c | 1 -
 src/hexen/h2def.h   | 3 +++
 src/hexen/mn_menu.c | 1 -
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/hexen/h2_main.c b/src/hexen/h2_main.c
index f5c17b7f..44b28723 100644
--- a/src/hexen/h2_main.c
+++ b/src/hexen/h2_main.c
@@ -72,7 +72,6 @@ void S_InitScript(void);
 // PUBLIC FUNCTION PROTOTYPES ----------------------------------------------

 void H2_AdvanceDemo(void);
-void H2_StartTitle(void);
 void H2_PageTicker(void);

 // PRIVATE FUNCTION PROTOTYPES ---------------------------------------------
diff --git a/src/hexen/h2def.h b/src/hexen/h2def.h
index 2fef270f..a32e1041 100644
--- a/src/hexen/h2def.h
+++ b/src/hexen/h2def.h
@@ -719,6 +719,9 @@ void H2_GameLoop(void);
 // calls all ?_Responder, ?_Ticker, and ?_Drawer functions
 // calls I_GetTime, I_StartFrame, and I_StartTic

+void H2_StartTitle(void);
+
+
 extern boolean artiskip;


diff --git a/src/hexen/mn_menu.c b/src/hexen/mn_menu.c
index 53d7c847..64819fbc 100644
--- a/src/hexen/mn_menu.c
+++ b/src/hexen/mn_menu.c
@@ -1146,7 +1146,6 @@ boolean MN_Responder(event_t * event)
     int charTyped;
     int i;
     MenuItem_t *item;
-    extern void H2_StartTitle(void);
     char *textBuffer;

     // In testcontrols mode, none of the function keys should do anything