shithub: choc

Download patch

ref: adedabdb62dfbccd3d3ec525e17b59aab8d7a244
parent: 57f691b78bf128bfc0726183abe4cf1724861112
author: Turo Lamminen <turol@iki.fi>
date: Wed Sep 7 11:19:02 EDT 2022

doom: Move R_ExecuteSetViewSize prototype to r_main.h

--- a/src/doom/d_main.c
+++ b/src/doom/d_main.c
@@ -161,7 +161,6 @@
 
 // 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)
 {
--- a/src/doom/g_game.c
+++ b/src/doom/g_game.c
@@ -1569,7 +1569,6 @@
 // G_InitFromSavegame
 // Can be called by the startup code or the menu task. 
 //
-void R_ExecuteSetViewSize (void);
 
 char	savename[256];
 
--- a/src/doom/r_main.h
+++ b/src/doom/r_main.h
@@ -159,4 +159,7 @@
 // Called by M_Responder.
 void R_SetViewSize (int blocks, int detail);
 
+void R_ExecuteSetViewSize(void);
+
+
 #endif