mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-02 22:11:22 +00:00
Let menuqc detect engine more easily, so it can tailor available cvar values for specific engines. This is probably a bad thing but I don't see any other sane way around it. With it being a cvar, the user can at least override it/lie to fake forked engines.
This commit is contained in:
parent
06fd012dfe
commit
f4f0e9516a
1 changed files with 2 additions and 0 deletions
|
@ -80,6 +80,7 @@ cvar_t pausable = {"pausable","1",CVAR_NONE};
|
|||
|
||||
cvar_t developer = {"developer","0",CVAR_NONE};
|
||||
|
||||
static cvar_t pr_engine = {"pr_engine", ENGINE_NAME_AND_VER, CVAR_NONE};
|
||||
cvar_t temp1 = {"temp1","0",CVAR_NONE};
|
||||
|
||||
cvar_t devstats = {"devstats","0",CVAR_NONE}; //johnfitz -- track developer statistics that vary every frame
|
||||
|
@ -283,6 +284,7 @@ void Host_InitLocal (void)
|
|||
|
||||
Host_InitCommands ();
|
||||
|
||||
Cvar_RegisterVariable (&pr_engine);
|
||||
Cvar_RegisterVariable (&host_framerate);
|
||||
Cvar_RegisterVariable (&host_speeds);
|
||||
Cvar_RegisterVariable (&host_maxfps); //johnfitz
|
||||
|
|
Loading…
Reference in a new issue