foxygit / doom Log in
commit 9b7f91de4221374fa7d704623b8926e93d7827fd
Author:     Turo Lamminen <turol@iki.fi>
AuthorDate: Sat Sep 10 19:29:13 2022 +0300
Commit:     Turo Lamminen <turol@iki.fi>
CommitDate: Fri Oct 7 13:14:28 2022 +0300

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

diff --git a/src/hexen/d_net.c b/src/hexen/d_net.c
index 6bec261b..e3c1ddd3 100644
--- 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);
diff --git a/src/hexen/h2_main.c b/src/hexen/h2_main.c
index 4c720190..b851f35f 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_ProcessEvents(void);
-void H2_DoAdvanceDemo(void);
 void H2_AdvanceDemo(void);
 void H2_StartTitle(void);
 void H2_PageTicker(void);
diff --git a/src/hexen/h2def.h b/src/hexen/h2def.h
index 835929d4..caa5ed91 100644
--- a/src/hexen/h2def.h
+++ b/src/hexen/h2def.h
@@ -781,6 +781,8 @@ void G_DoLoadGame(void);
 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