shithub: choc

Download patch

ref: 9b7f91de4221374fa7d704623b8926e93d7827fd
parent: a2b83c0f6d82b57bc16f77807480e9baa6061ba3
author: Turo Lamminen <turol@iki.fi>
date: Sat Sep 10 15:29:13 EDT 2022

hexen: Move H2_DoAdvanceDemo prototype to h2def.h

--- a/src/hexen/d_net.c
+++ b/src/hexen/d_net.c
@@ -36,7 +36,6 @@
 
 ticcmd_t *netcmds;
 
-extern void H2_DoAdvanceDemo(void);
 extern void H2_ProcessEvents(void);
 extern void G_BuildTiccmd(ticcmd_t *cmd, int maketic);
 extern boolean G_CheckDemoStatus(void);
--- a/src/hexen/h2_main.c
+++ b/src/hexen/h2_main.c
@@ -72,7 +72,6 @@
 // PUBLIC FUNCTION PROTOTYPES ----------------------------------------------
 
 void H2_ProcessEvents(void);
-void H2_DoAdvanceDemo(void);
 void H2_AdvanceDemo(void);
 void H2_StartTitle(void);
 void H2_PageTicker(void);
--- a/src/hexen/h2def.h
+++ b/src/hexen/h2def.h
@@ -781,6 +781,8 @@
 void G_SaveGame(int slot, char *description);
 // called by M_Responder
 
+void H2_DoAdvanceDemo(void);
+
 void G_RecordDemo(skill_t skill, int numplayers, int episode, int map,
                   const char *name);
 // only called by startup code