mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 06:32:00 +00:00
Minor tweak for better ktx support.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6002 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
221d4032af
commit
f75a9cae23
1 changed files with 17 additions and 0 deletions
|
@ -5514,6 +5514,23 @@ void SV_InitLocal (void)
|
|||
extern cvar_t pm_flyfriction;
|
||||
extern cvar_t pm_edgefriction;
|
||||
|
||||
#ifdef VM_Q1 //cvars for pimping ourselves to ktx...
|
||||
static cvar_t qws_name = CVARF("qws_name", DISTRIBUTION, CVAR_NOSET );
|
||||
static cvar_t qws_fullname = CVARF("qws_fullname", FULLENGINENAME, CVAR_NOSET );
|
||||
static cvar_t qws_version = CVARF("qws_version", STRINGIFY(FTE_VER_MAJOR)"."STRINGIFY(FTE_VER_MINOR),CVAR_NOSET );
|
||||
static cvar_t qws_buildnum = CVARF("qws_buildnum", STRINGIFY(SVNREVISION), CVAR_NOSET );
|
||||
static cvar_t qws_platform = CVARF("qws_platform", PLATFORM "-" ARCH_CPU_POSTFIX, CVAR_NOSET );
|
||||
static cvar_t qws_builddate = CVARF("qws_builddate",STRINGIFY(SVNDATE), CVAR_NOSET );
|
||||
static cvar_t qws_homepage = CVARF("qws_homepage", "https://sourceforge.net/projects/fteqw/", CVAR_NOSET );
|
||||
Cvar_Register(&qws_name, "Server Info");
|
||||
Cvar_Register(&qws_fullname, "Server Info");
|
||||
Cvar_Register(&qws_version, "Server Info");
|
||||
Cvar_Register(&qws_buildnum, "Server Info");
|
||||
Cvar_Register(&qws_platform, "Server Info");
|
||||
Cvar_Register(&qws_builddate, "Server Info");
|
||||
Cvar_Register(&qws_homepage, "Server Info");
|
||||
#endif
|
||||
|
||||
SV_InitOperatorCommands ();
|
||||
SV_UserInit ();
|
||||
|
||||
|
|
Loading…
Reference in a new issue