ref: c400ea6705faf51e932708f0c0e2e28a05f40675
parent: 749e8c369546207b098266556b9370bb88e8cc7d
author: Turo Lamminen <[email protected]>
date: Sat Sep 10 15:35:08 EDT 2022
hexen: Move G_CheckDemoStatus prototype to h2def.h
--- a/src/hexen/d_net.c
+++ b/src/hexen/d_net.c
@@ -36,8 +36,6 @@
ticcmd_t *netcmds;
-extern boolean G_CheckDemoStatus(void);
-
// Called when a player leaves the game
--- a/src/hexen/g_game.c
+++ b/src/hexen/g_game.c
@@ -37,7 +37,6 @@
// Functions
-boolean G_CheckDemoStatus(void);
void G_ReadDemoTiccmd(ticcmd_t * cmd);
void G_WriteDemoTiccmd(ticcmd_t * cmd);
--- a/src/hexen/h2def.h
+++ b/src/hexen/h2def.h
@@ -785,6 +785,8 @@
void H2_DoAdvanceDemo(void);
+boolean G_CheckDemoStatus(void);
+
void G_RecordDemo(skill_t skill, int numplayers, int episode, int map,
const char *name);
// only called by startup code
--- a/src/hexen/mn_menu.c
+++ b/src/hexen/mn_menu.c
@@ -1149,7 +1149,6 @@
int i;
MenuItem_t *item;
extern void H2_StartTitle(void);
- extern void G_CheckDemoStatus(void);
char *textBuffer;
// In testcontrols mode, none of the function keys should do anything