commit 57f691b78bf128bfc0726183abe4cf1724861112
Author: Turo Lamminen <turol@iki.fi>
AuthorDate: Wed Sep 7 15:06:16 2022 +0300
Commit: Turo Lamminen <turol@iki.fi>
CommitDate: Thu Nov 3 10:18:40 2022 +0200
doom: Move setsizeneeded extern declaration to r_main.h
---
src/doom/d_main.c | 1 -
src/doom/g_game.c | 1 -
src/doom/r_main.h | 2 ++
3 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/doom/d_main.c b/src/doom/d_main.c
index f2b05012..24959cba 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;
-extern boolean setsizeneeded;
void R_ExecuteSetViewSize (void);
boolean D_Display (void)
diff --git a/src/doom/g_game.c b/src/doom/g_game.c
index 9f190ea9..e1c95cee 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.
//
-extern boolean setsizeneeded;
void R_ExecuteSetViewSize (void);
char savename[256];
diff --git a/src/doom/r_main.h b/src/doom/r_main.h
index c05a9a01..f8486dba 100644
--- a/src/doom/r_main.h
+++ b/src/doom/r_main.h
@@ -49,6 +49,8 @@ extern int validcount;
extern int linecount;
extern int loopcount;
+extern boolean setsizeneeded;
+
//
// Lighting LUT.