More conversion

This commit is contained in:
iikorni
2026-08-29 19:17:46 -05:00
parent 0404d430dc
commit 70e5c02355
72 changed files with 13308 additions and 14309 deletions
+8 -8
View File
@@ -25,9 +25,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
edict_t *sv_player;
extern cvar_t sv_friction;
cvar_t sv_edgefriction = {"edgefriction", "2", CVAR_NONE};
extern cvar_t sv_stopspeed;
extern convar sv_friction;
convar sv_edgefriction{"edgefriction", "2"};
extern convar sv_stopspeed;
static vec3_t forward, right, up;
@@ -40,8 +40,8 @@ qboolean onground;
usercmd_t cmd;
cvar_t sv_idealpitchscale = {"sv_idealpitchscale","0.8",CVAR_NONE};
cvar_t sv_altnoclip = {"sv_altnoclip","1",CVAR_ARCHIVE}; //johnfitz
convar sv_idealpitchscale{"sv_idealpitchscale","0.8"};
convar sv_altnoclip{"sv_altnoclip","1",{.archive = true}}; //johnfitz
/*
===============
@@ -163,8 +163,8 @@ void SV_UserFriction (void)
SV_Accelerate
==============
*/
cvar_t sv_maxspeed = {"sv_maxspeed", "320", CVAR_NOTIFY|CVAR_SERVERINFO};
cvar_t sv_accelerate = {"sv_accelerate", "10", CVAR_NONE};
convar sv_maxspeed{"sv_maxspeed", "320", {.notify = true,. server_info = true}};
convar sv_accelerate{"sv_accelerate", "10"};
void SV_Accelerate (float wishspeed, const vec3_t wishdir)
{
int i;
@@ -570,7 +570,7 @@ nextmsg:
ret = 1;
if (ret == 1)
Cmd_ExecuteString (s, src_client);
command::execute_string (s, command::source::client);
else
Con_DPrintf("%s tried to %s\n", host_client->name, s);
break;