commit adedabdb62dfbccd3d3ec525e17b59aab8d7a244
Author: Turo Lamminen <turol@iki.fi>
AuthorDate: Wed Sep 7 15:19:02 2022 +0300
Commit: Turo Lamminen <turol@iki.fi>
CommitDate: Thu Nov 3 10:18:40 2022 +0200
doom: Move R_ExecuteSetViewSize prototype to r_main.h
---
src/doom/d_main.c | 1 -
src/doom/g_game.c | 1 -
src/doom/r_main.h | 3 +++
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/doom/d_main.c b/src/doom/d_main.c
index 24959cba..d00333bd 100644
--- a/src/doom/d_main.c
+++ b/src/doom/d_main.c
@@ -161,7 +161,6 @@ void D_ProcessEvents (void)
// wipegamestate can be set to -1 to force a wipe on the next draw
gamestate_t wipegamestate = GS_DEMOSCREEN;
-void R_ExecuteSetViewSize (void);
boolean D_Display (void)
{
diff --git a/src/doom/g_game.c b/src/doom/g_game.c
index e1c95cee..9fa97671 100644
--- a/src/doom/g_game.c
+++ b/src/doom/g_game.c
@@ -1569,7 +1569,6 @@ void G_DoWorldDone (void)
// G_InitFromSavegame
// Can be called by the startup code or the menu task.
//
-void R_ExecuteSetViewSize (void);
char savename[256];
diff --git a/src/doom/r_main.h b/src/doom/r_main.h
index f8486dba..f97bd817 100644
--- a/src/doom/r_main.h
+++ b/src/doom/r_main.h
@@ -159,4 +159,7 @@ void R_Init (void);
// Called by M_Responder.
void R_SetViewSize (int blocks, int detail);
+void R_ExecuteSetViewSize(void);
+
+
#endif