ref: 15441903978d686a6c1032c550c5fcfeb61c8008
parent: 007578b98a5915c528730a7cfdaef7d8780523d8
author: Turo Lamminen <turol@iki.fi>
date: Sat Sep 17 12:26:30 EDT 2022
strife: Move setsizeneeded extern declaration to r_main.h
--- a/src/strife/d_main.c
+++ b/src/strife/d_main.c
@@ -199,7 +199,6 @@
// * 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);
--- a/src/strife/g_game.c
+++ b/src/strife/g_game.c
@@ -1659,7 +1659,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/strife/r_main.h
+++ b/src/strife/r_main.h
@@ -35,6 +35,7 @@
extern int viewwindowx;
extern int viewwindowy;
+extern boolean setsizeneeded;
extern int centerx;