shithub: choc

Download patch

ref: 9a79e5cceb2b7d047efaa114beca5f6600f26861
parent: 9b7f91de4221374fa7d704623b8926e93d7827fd
author: Turo Lamminen <[email protected]>
date: Sat Sep 10 15:30:21 EDT 2022

hexen: Move H2_ProcessEvents 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_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
@@ -71,7 +71,6 @@
 
 // PUBLIC FUNCTION PROTOTYPES ----------------------------------------------
 
-void H2_ProcessEvents(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_ProcessEvents(void);
+
 void H2_DoAdvanceDemo(void);
 
 void G_RecordDemo(skill_t skill, int numplayers, int episode, int map,