From 75971a4feda3b18ab067c8b0d60c35396a9194f8 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Thu, 7 Dec 2000 03:02:13 +0000 Subject: [PATCH] cvar doc patches from Misty --- source/cl_main.c | 49 +++++++++++++++++++++++------------------------- 1 file changed, 23 insertions(+), 26 deletions(-) diff --git a/source/cl_main.c b/source/cl_main.c index 3989706..b13516f 100644 --- a/source/cl_main.c +++ b/source/cl_main.c @@ -85,36 +85,33 @@ entity_t *cl_visedicts[MAX_VISEDICTS]; void CL_InitCvars(void) { - show_fps = Cvar_Get("show_fps", "0", CVAR_NONE, "None"); + show_fps = Cvar_Get("show_fps", "0", CVAR_NONE, "display realtime frames per second"); // Misty: I like to be able to see the time when I play show_time = Cvar_Get("show_time", "0", CVAR_NONE, "display the current time"); - cl_warncmd = Cvar_Get("cl_warncmd", "0", CVAR_NONE, "None"); - cl_name = Cvar_Get("_cl_name", "player", CVAR_ARCHIVE, "None"); - cl_color = Cvar_Get("_cl_color", "0", CVAR_ARCHIVE, "None"); - cl_upspeed = Cvar_Get("cl_upspeed", "200", CVAR_NONE, "None"); - cl_forwardspeed = Cvar_Get("cl_forwardspeed", "200", CVAR_ARCHIVE, "None"); - cl_backspeed = Cvar_Get("cl_backspeed", "200", CVAR_ARCHIVE, "None"); - cl_sidespeed = Cvar_Get("cl_sidespeed", "350", CVAR_NONE, "None"); - cl_movespeedkey = Cvar_Get("cl_movespeedkey", "2.0", CVAR_NONE, "None"); - cl_yawspeed = Cvar_Get("cl_yawspeed", "140", CVAR_NONE, "None"); - cl_pitchspeed = Cvar_Get("cl_pitchspeed", "150", CVAR_NONE, "None"); - cl_anglespeedkey = Cvar_Get("cl_anglespeedkey", "1.5", CVAR_NONE, "None"); - cl_shownet = Cvar_Get("cl_shownet", "0", CVAR_NONE, "can be 0, 1, or 2"); - cl_nolerp = Cvar_Get("cl_nolerp", "0", CVAR_NONE, "None"); - - cl_sbar = Cvar_Get ("cl_sbar", "1", CVAR_ARCHIVE, "Use old status bar"); - cl_hudswap = Cvar_Get ("cl_hudswap", "0", CVAR_ARCHIVE, "HUD on left side?"); - + cl_warncmd = Cvar_Get("cl_warncmd", "0", CVAR_NONE, "inform when execing a command"); + cl_name = Cvar_Get("_cl_name", "player", CVAR_ARCHIVE, "Player name"); + cl_color = Cvar_Get("_cl_color", "0", CVAR_ARCHIVE, "Player color"); + cl_upspeed = Cvar_Get("cl_upspeed", "200", CVAR_NONE, "swim/fly up/down speed"); + cl_forwardspeed = Cvar_Get("cl_forwardspeed", "200", CVAR_ARCHIVE, "forward speed"); + cl_backspeed = Cvar_Get("cl_backspeed", "200", CVAR_ARCHIVE, "backward speed"); + cl_sidespeed = Cvar_Get("cl_sidespeed", "350", CVAR_NONE, "strafe speed"); + cl_movespeedkey = Cvar_Get("cl_movespeedkey", "2.0", CVAR_NONE, "move `run' speed multiplier"); + cl_yawspeed = Cvar_Get("cl_yawspeed", "140", CVAR_NONE, "turning speed"); + cl_pitchspeed = Cvar_Get("cl_pitchspeed", "150", CVAR_NONE, "look up/down speed"); + cl_anglespeedkey = Cvar_Get("cl_anglespeedkey", "1.5", CVAR_NONE, "turn `run' speed multiplier"); + cl_shownet = Cvar_Get("cl_shownet", "0", CVAR_NONE, "show network packets. 0=off, 1=basic, 2=verbose"); + cl_nolerp = Cvar_Get("cl_nolerp", "0", CVAR_NONE, "linear motion interpolation"); + cl_sbar = Cvar_Get ("cl_sbar", "0", CVAR_ARCHIVE, "status bar mode"); + cl_hudswap = Cvar_Get ("cl_hudswap", "0", CVAR_ARCHIVE, "new HUD on left side?"); cl_freelook = Cvar_Get("freelook", "0", CVAR_ARCHIVE, "force +mlook"); - lookspring = Cvar_Get("lookspring", "0", CVAR_ARCHIVE, "None"); - lookstrafe = Cvar_Get("lookstrafe", "0", CVAR_ARCHIVE, "None"); - sensitivity = Cvar_Get("sensitivity", "3", CVAR_ARCHIVE, "None"); - - m_pitch = Cvar_Get("m_pitch", "0.022", CVAR_ARCHIVE, "None"); - m_yaw = Cvar_Get("m_yaw", "0.022", CVAR_ARCHIVE, "None"); - m_forward = Cvar_Get("m_forward", "1", CVAR_ARCHIVE, "None"); - m_side = Cvar_Get("m_side", "0.8", CVAR_ARCHIVE, "None"); + lookspring = Cvar_Get("lookspring", "0", CVAR_ARCHIVE, "Snap view to center when moving and no mlook/klook"); + lookstrafe = Cvar_Get("lookstrafe", "0", CVAR_ARCHIVE, "when mlook/klook on player will strafe"); + sensitivity = Cvar_Get("sensitivity", "3", CVAR_ARCHIVE, "mouse sensitivity multiplier"); + m_pitch = Cvar_Get("m_pitch", "0.022", CVAR_ARCHIVE, "mouse pitch (up/down) multipier"); + m_yaw = Cvar_Get("m_yaw", "0.022", CVAR_ARCHIVE, "mouse yaw (left/right) multipiler"); + m_forward = Cvar_Get("m_forward", "1", CVAR_ARCHIVE, "mouse forward/back speed"); + m_side = Cvar_Get("m_side", "0.8", CVAR_ARCHIVE, "mouse strafe speed"); } /*