ref: 57f691b78bf128bfc0726183abe4cf1724861112
parent: 422d7fbcf03c6abbfe3b8c013933d307a9f21e0b
author: Turo Lamminen <turol@iki.fi>
date: Wed Sep 7 11:06:16 EDT 2022
doom: Move setsizeneeded extern declaration 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;
-extern boolean setsizeneeded;
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.
//
-extern boolean setsizeneeded;
void R_ExecuteSetViewSize (void);
char savename[256];
--- a/src/doom/r_main.h
+++ b/src/doom/r_main.h
@@ -49,6 +49,8 @@
extern int linecount;
extern int loopcount;
+extern boolean setsizeneeded;
+
//
// Lighting LUT.