foxygit / doom Log in
commit 15441903978d686a6c1032c550c5fcfeb61c8008
Author:     Turo Lamminen <turol@iki.fi>
AuthorDate: Sat Sep 17 16:26:30 2022 +0300
Commit:     Turo Lamminen <turol@iki.fi>
CommitDate: Wed Sep 28 11:13:50 2022 +0300

    strife: Move setsizeneeded extern declaration to r_main.h
---
 src/strife/d_main.c | 1 -
 src/strife/g_game.c | 1 -
 src/strife/r_main.h | 1 +
 3 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/strife/d_main.c b/src/strife/d_main.c
index fff711b9..bc497ba0 100644
--- a/src/strife/d_main.c
+++ b/src/strife/d_main.c
@@ -199,7 +199,6 @@ void D_ProcessEvents (void)
 // * 20110206: Start wipegamestate at GS_UNKNOWN (STRIFE-TODO: rename?)
 //
 gamestate_t     wipegamestate = GS_UNKNOWN;
-extern  boolean setsizeneeded;
 //extern  int             showMessages; [STRIFE] no such variable
 void R_ExecuteSetViewSize (void);

diff --git a/src/strife/g_game.c b/src/strife/g_game.c
index 49af47cf..7cfb9242 100644
--- a/src/strife/g_game.c
+++ b/src/strife/g_game.c
@@ -1659,7 +1659,6 @@ void G_ReadCurrent(const char *path)
 // 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/strife/r_main.h b/src/strife/r_main.h
index c05a9a01..5c40de33 100644
--- a/src/strife/r_main.h
+++ b/src/strife/r_main.h
@@ -35,6 +35,7 @@ extern fixed_t		viewsin;
 extern int		viewwindowx;
 extern int		viewwindowy;

+extern boolean setsizeneeded;


 extern int		centerx;