From aba7132846c7990e309ef14704956b93b30ee597 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sat, 13 Jul 2019 15:47:43 +0300 Subject: [PATCH] - cleaned up language detection leftovers --- src/posix/cocoa/i_system.mm | 5 ----- src/posix/sdl/i_system.cpp | 3 --- src/win32/i_system.cpp | 2 -- 3 files changed, 10 deletions(-) diff --git a/src/posix/cocoa/i_system.mm b/src/posix/cocoa/i_system.mm index ab17268e4d..f394caa170 100644 --- a/src/posix/cocoa/i_system.mm +++ b/src/posix/cocoa/i_system.mm @@ -51,11 +51,6 @@ #include "atterm.h" -EXTERN_CVAR(String, language) - -uint32_t LanguageIDs[4]; - - void I_Tactile(int /*on*/, int /*off*/, int /*total*/) { } diff --git a/src/posix/sdl/i_system.cpp b/src/posix/sdl/i_system.cpp index b59725e7bf..8598fc8f14 100644 --- a/src/posix/sdl/i_system.cpp +++ b/src/posix/sdl/i_system.cpp @@ -55,8 +55,6 @@ #include "gameconfigfile.h" -EXTERN_CVAR (String, language) - extern "C" { double SecondsPerCycle = 1e-8; @@ -72,7 +70,6 @@ int I_PickIWad_Cocoa (WadStuff *wads, int numwads, bool showwin, int defaultiwad #endif double PerfToSec, PerfToMillisec; -uint32_t LanguageIDs[4]; void I_Tactile (int /*on*/, int /*off*/, int /*total*/) { diff --git a/src/win32/i_system.cpp b/src/win32/i_system.cpp index fc3ce169b2..8250ee3d42 100644 --- a/src/win32/i_system.cpp +++ b/src/win32/i_system.cpp @@ -116,7 +116,6 @@ static void DestroyCustomCursor(); // EXTERNAL DATA DECLARATIONS ---------------------------------------------- -EXTERN_CVAR(String, language); EXTERN_CVAR (Bool, queryiwad); // Used on welcome/IWAD screen. EXTERN_CVAR (Bool, disableautoload) @@ -137,7 +136,6 @@ CVAR (String, queryiwad_key, "shift", CVAR_GLOBALCONFIG|CVAR_ARCHIVE); CVAR (Bool, con_debugoutput, false, 0); double PerfToSec, PerfToMillisec; -uint32_t LanguageIDs[4]; UINT TimerPeriod;