From 79279780a5dc2e8e0d08d15ddcf9b61cad40336a Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Sun, 19 Feb 2017 22:15:32 +0000 Subject: [PATCH] More of the previous commit, because VS can be frustrating. git-svn-id: https://svn.eduke32.com/eduke32@6064 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/duke3d/src/cmdline.cpp | 1 + source/duke3d/src/config.cpp | 1 + source/duke3d/src/game.h | 1 - source/duke3d/src/startwin.game.cpp | 3 +-- 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/duke3d/src/cmdline.cpp b/source/duke3d/src/cmdline.cpp index 12039a7af..dc682480b 100644 --- a/source/duke3d/src/cmdline.cpp +++ b/source/duke3d/src/cmdline.cpp @@ -24,6 +24,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #include "demo.h" #include "screens.h" #include "renderlayer.h" +#include "cmdline.h" #ifdef LUNATIC char const * const * g_argv; diff --git a/source/duke3d/src/config.cpp b/source/duke3d/src/config.cpp index 7e9ffd03a..709298a1e 100644 --- a/source/duke3d/src/config.cpp +++ b/source/duke3d/src/config.cpp @@ -24,6 +24,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #include "scriplib.h" #include "osdcmds.h" #include "renderlayer.h" +#include "cmdline.h" #ifdef __ANDROID__ #include "android.h" diff --git a/source/duke3d/src/game.h b/source/duke3d/src/game.h index 6d21524cf..7d5d8eb42 100644 --- a/source/duke3d/src/game.h +++ b/source/duke3d/src/game.h @@ -272,7 +272,6 @@ extern int32_t g_doQuickSave; extern int32_t g_forceWeaponChoice; extern int32_t g_fakeMultiMode; extern int32_t g_levelTextTime; -extern int32_t g_noSetup; extern int32_t g_quitDeadline; extern int32_t g_restorePalette; extern int32_t hud_glowingquotes; diff --git a/source/duke3d/src/startwin.game.cpp b/source/duke3d/src/startwin.game.cpp index 94847c9b6..a84eacc12 100644 --- a/source/duke3d/src/startwin.game.cpp +++ b/source/duke3d/src/startwin.game.cpp @@ -55,6 +55,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #include "game.h" #include "common_game.h" +#include "cmdline.h" #define TAB_CONFIG 0 // #define TAB_GAME 1 @@ -98,8 +99,6 @@ static inline int32_t getfilenames(char const *path) #define POPULATE_GAME 4 #define POPULATE_GAMEDIRS 8 -extern int32_t g_noSetup; - #ifdef INPUT_MOUSE #undef INPUT_MOUSE #endif