mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-25 22:34:24 +00:00
Add waf related files to gitignore. Restore cl_trace_messages
This commit is contained in:
parent
ac1c8594b7
commit
c8b83385df
4
.gitignore
vendored
4
.gitignore
vendored
@ -307,3 +307,7 @@ build-*
|
|||||||
|
|
||||||
# Android
|
# Android
|
||||||
*.apk
|
*.apk
|
||||||
|
|
||||||
|
# Waf
|
||||||
|
.waf-*
|
||||||
|
.lock-waf*
|
||||||
|
@ -67,6 +67,7 @@ convar_t *cl_interp;
|
|||||||
convar_t *cl_dlmax;
|
convar_t *cl_dlmax;
|
||||||
convar_t *cl_lw;
|
convar_t *cl_lw;
|
||||||
convar_t *cl_charset;
|
convar_t *cl_charset;
|
||||||
|
convar_t *cl_trace_messages;
|
||||||
convar_t *hud_utf8;
|
convar_t *hud_utf8;
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -2540,6 +2541,8 @@ void CL_InitLocal( void )
|
|||||||
rcon_client_password = Cvar_Get( "rcon_password", "", 0, "remote control client password" );
|
rcon_client_password = Cvar_Get( "rcon_password", "", 0, "remote control client password" );
|
||||||
rcon_address = Cvar_Get( "rcon_address", "", 0, "remote control address" );
|
rcon_address = Cvar_Get( "rcon_address", "", 0, "remote control address" );
|
||||||
|
|
||||||
|
cl_trace_messages = Cvar_Get( "cl_trace_messages", "0", FCVAR_ARCHIVE|FCVAR_CHEAT, "enable message names tracing (good for developers)");
|
||||||
|
|
||||||
// userinfo
|
// userinfo
|
||||||
cl_nopred = Cvar_Get( "cl_nopred", "0", FCVAR_ARCHIVE|FCVAR_USERINFO, "disable client movement prediction" );
|
cl_nopred = Cvar_Get( "cl_nopred", "0", FCVAR_ARCHIVE|FCVAR_USERINFO, "disable client movement prediction" );
|
||||||
name = Cvar_Get( "name", Sys_GetCurrentUser(), FCVAR_USERINFO|FCVAR_ARCHIVE|FCVAR_PRINTABLEONLY, "player name" );
|
name = Cvar_Get( "name", Sys_GetCurrentUser(), FCVAR_USERINFO|FCVAR_ARCHIVE|FCVAR_PRINTABLEONLY, "player name" );
|
||||||
|
@ -2160,6 +2160,12 @@ void CL_ParseUserMessage( sizebuf_t *msg, int svc_num )
|
|||||||
// parse user message into buffer
|
// parse user message into buffer
|
||||||
MSG_ReadBytes( msg, pbuf, iSize );
|
MSG_ReadBytes( msg, pbuf, iSize );
|
||||||
|
|
||||||
|
if( cl_trace_messages->value )
|
||||||
|
{
|
||||||
|
MsgDev( D_INFO, "^3USERMSG %s SIZE %i SVC_NUM %i\n",
|
||||||
|
clgame.msg[i].name, iSize, clgame.msg[i].number );
|
||||||
|
}
|
||||||
|
|
||||||
if( clgame.msg[i].func )
|
if( clgame.msg[i].func )
|
||||||
{
|
{
|
||||||
clgame.msg[i].func( clgame.msg[i].name, iSize, pbuf );
|
clgame.msg[i].func( clgame.msg[i].name, iSize, pbuf );
|
||||||
|
@ -701,6 +701,7 @@ extern convar_t *cl_bmodelinterp;
|
|||||||
extern convar_t *cl_righthand;
|
extern convar_t *cl_righthand;
|
||||||
extern convar_t *cl_lw; // local weapons
|
extern convar_t *cl_lw; // local weapons
|
||||||
extern convar_t *cl_charset;
|
extern convar_t *cl_charset;
|
||||||
|
extern convar_t *cl_trace_messages;
|
||||||
extern convar_t *hud_utf8;
|
extern convar_t *hud_utf8;
|
||||||
extern convar_t *cl_showevents;
|
extern convar_t *cl_showevents;
|
||||||
extern convar_t *scr_centertime;
|
extern convar_t *scr_centertime;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user