- moved IWAD CVARs to backend.

This commit is contained in:
Christoph Oelckers 2022-10-02 14:42:26 +02:00
parent c596095fe0
commit 75afc69306
2 changed files with 7 additions and 2 deletions

View file

@ -2,6 +2,7 @@
#include "st_start.h"
#include "gamestate.h"
#include "startupinfo.h"
#include "c_cvars.h"
static_assert(sizeof(void*) == 8, "32 builds are not supported");
@ -18,3 +19,7 @@ gamestate_t gamestate = GS_STARTUP;
bool ToggleFullscreen;
FStartupInfo GameStartupInfo;
CVAR(Bool, queryiwad, true, CVAR_ARCHIVE | CVAR_GLOBALCONFIG);
CVAR(String, defaultiwad, "", CVAR_ARCHIVE | CVAR_GLOBALCONFIG);

View file

@ -49,8 +49,8 @@
#include "findfile.h"
#include "i_interface.h"
CVAR (Bool, queryiwad, true, CVAR_ARCHIVE|CVAR_GLOBALCONFIG);
CVAR (String, defaultiwad, "", CVAR_ARCHIVE|CVAR_GLOBALCONFIG);
EXTERN_CVAR(Bool, queryiwad);
EXTERN_CVAR(Bool, defaultiwad);
//==========================================================================
//