mirror of
https://github.com/DrBeef/Raze.git
synced 2024-12-01 16:42:50 +00:00
8e5e52f80e
Nam/WW2GI was completed by machine translated texts, this was all simple stuff like item names.
38 lines
972 B
C++
38 lines
972 B
C++
#include "i_interface.h"
|
|
#include "st_start.h"
|
|
#include "gamestate.h"
|
|
#include "startupinfo.h"
|
|
#include "c_cvars.h"
|
|
#include "gstrings.h"
|
|
|
|
static_assert(sizeof(void*) == 8, "32 builds are not supported");
|
|
|
|
// Some global engine variables taken out of the backend code.
|
|
FStartupScreen* StartWindow;
|
|
SystemCallbacks sysCallbacks;
|
|
FString endoomName;
|
|
bool batchrun;
|
|
float menuBlurAmount;
|
|
|
|
bool AppActive = true;
|
|
int chatmodeon;
|
|
gamestate_t gamestate = GS_STARTUP;
|
|
bool ToggleFullscreen;
|
|
int paused;
|
|
bool pauseext;
|
|
|
|
FStartupInfo GameStartupInfo;
|
|
|
|
CVAR(Bool, queryiwad, true, CVAR_ARCHIVE | CVAR_GLOBALCONFIG);
|
|
CVAR(String, defaultiwad, "", CVAR_ARCHIVE | CVAR_GLOBALCONFIG);
|
|
CVAR(Bool, vid_fps, false, 0)
|
|
|
|
EXTERN_CVAR(Bool, ui_generic)
|
|
|
|
CUSTOM_CVAR(String, language, "auto", CVAR_ARCHIVE | CVAR_NOINITCALL /* | CVAR_GLOBALCONFIG*/)
|
|
{
|
|
GStrings.UpdateLanguage(self);
|
|
UpdateGenericUI(ui_generic);
|
|
if (sysCallbacks.LanguageChanged) sysCallbacks.LanguageChanged(self);
|
|
}
|
|
|