mirror of
https://git.code.sf.net/p/quake/nuq
synced 2024-11-25 13:31:19 +00:00
nuq-svga and nuq-x11 now run again.
This commit is contained in:
parent
6f396a55ea
commit
41fc6fb942
2 changed files with 4 additions and 0 deletions
|
@ -30,6 +30,7 @@
|
||||||
#define __cmd_h
|
#define __cmd_h
|
||||||
|
|
||||||
#include "qtypes.h"
|
#include "qtypes.h"
|
||||||
|
#include "cvar.h"
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
||||||
|
@ -134,4 +135,6 @@ void Cmd_Print (char *text);
|
||||||
extern char com_token[MAX_COM_TOKEN];
|
extern char com_token[MAX_COM_TOKEN];
|
||||||
char *COM_Parse (char *data);
|
char *COM_Parse (char *data);
|
||||||
|
|
||||||
|
extern struct cvar_s *cl_warncmd;
|
||||||
|
|
||||||
#endif __cmd_h
|
#endif __cmd_h
|
||||||
|
|
|
@ -750,6 +750,7 @@ void CL_Init (void)
|
||||||
//
|
//
|
||||||
// register our commands
|
// register our commands
|
||||||
//
|
//
|
||||||
|
cl_warncmd = Cvar_Get("cl_warncmd", "0", CVAR_NONE, "None");
|
||||||
cl_name = Cvar_Get("_cl_name", "player", CVAR_ARCHIVE, "None");
|
cl_name = Cvar_Get("_cl_name", "player", CVAR_ARCHIVE, "None");
|
||||||
cl_color = Cvar_Get("_cl_color", "0", CVAR_ARCHIVE, "None");
|
cl_color = Cvar_Get("_cl_color", "0", CVAR_ARCHIVE, "None");
|
||||||
cl_upspeed = Cvar_Get("cl_upspeed", "200", CVAR_NONE, "None");
|
cl_upspeed = Cvar_Get("cl_upspeed", "200", CVAR_NONE, "None");
|
||||||
|
|
Loading…
Reference in a new issue