shithub: choc

Download patch

ref: 20ef3a2ca63140113a41569fa65084e7e03d5fc8
parent: feae8fbf8c92cfab57e66e362141d3715d95d56c
author: Turo Lamminen <turol@iki.fi>
date: Tue Sep 13 15:13:39 EDT 2022

hexen: Move H2_StartTitle prototype to h2def.h

--- a/src/hexen/h2_main.c
+++ b/src/hexen/h2_main.c
@@ -72,7 +72,6 @@
 // PUBLIC FUNCTION PROTOTYPES ----------------------------------------------
 
 void H2_AdvanceDemo(void);
-void H2_StartTitle(void);
 void H2_PageTicker(void);
 
 // PRIVATE FUNCTION PROTOTYPES ---------------------------------------------
--- a/src/hexen/h2def.h
+++ b/src/hexen/h2def.h
@@ -719,6 +719,9 @@
 // calls all ?_Responder, ?_Ticker, and ?_Drawer functions
 // calls I_GetTime, I_StartFrame, and I_StartTic
 
+void H2_StartTitle(void);
+
+
 extern boolean artiskip;
 
 
--- a/src/hexen/mn_menu.c
+++ b/src/hexen/mn_menu.c
@@ -1146,7 +1146,6 @@
     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