cvar doc patches from Misty

This commit is contained in:
Bill Currie 2000-12-07 03:02:13 +00:00
parent 81b848977a
commit 75971a4fed

View file

@ -85,36 +85,33 @@ entity_t *cl_visedicts[MAX_VISEDICTS];
void void
CL_InitCvars(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 // Misty: I like to be able to see the time when I play
show_time = Cvar_Get("show_time", "0", CVAR_NONE, show_time = Cvar_Get("show_time", "0", CVAR_NONE,
"display the current time"); "display the current time");
cl_warncmd = Cvar_Get("cl_warncmd", "0", CVAR_NONE, "None"); cl_warncmd = Cvar_Get("cl_warncmd", "0", CVAR_NONE, "inform when execing a command");
cl_name = Cvar_Get("_cl_name", "player", CVAR_ARCHIVE, "None"); cl_name = Cvar_Get("_cl_name", "player", CVAR_ARCHIVE, "Player name");
cl_color = Cvar_Get("_cl_color", "0", CVAR_ARCHIVE, "None"); cl_color = Cvar_Get("_cl_color", "0", CVAR_ARCHIVE, "Player color");
cl_upspeed = Cvar_Get("cl_upspeed", "200", CVAR_NONE, "None"); cl_upspeed = Cvar_Get("cl_upspeed", "200", CVAR_NONE, "swim/fly up/down speed");
cl_forwardspeed = Cvar_Get("cl_forwardspeed", "200", CVAR_ARCHIVE, "None"); cl_forwardspeed = Cvar_Get("cl_forwardspeed", "200", CVAR_ARCHIVE, "forward speed");
cl_backspeed = Cvar_Get("cl_backspeed", "200", CVAR_ARCHIVE, "None"); cl_backspeed = Cvar_Get("cl_backspeed", "200", CVAR_ARCHIVE, "backward speed");
cl_sidespeed = Cvar_Get("cl_sidespeed", "350", CVAR_NONE, "None"); cl_sidespeed = Cvar_Get("cl_sidespeed", "350", CVAR_NONE, "strafe speed");
cl_movespeedkey = Cvar_Get("cl_movespeedkey", "2.0", CVAR_NONE, "None"); cl_movespeedkey = Cvar_Get("cl_movespeedkey", "2.0", CVAR_NONE, "move `run' speed multiplier");
cl_yawspeed = Cvar_Get("cl_yawspeed", "140", CVAR_NONE, "None"); cl_yawspeed = Cvar_Get("cl_yawspeed", "140", CVAR_NONE, "turning speed");
cl_pitchspeed = Cvar_Get("cl_pitchspeed", "150", CVAR_NONE, "None"); cl_pitchspeed = Cvar_Get("cl_pitchspeed", "150", CVAR_NONE, "look up/down speed");
cl_anglespeedkey = Cvar_Get("cl_anglespeedkey", "1.5", CVAR_NONE, "None"); cl_anglespeedkey = Cvar_Get("cl_anglespeedkey", "1.5", CVAR_NONE, "turn `run' speed multiplier");
cl_shownet = Cvar_Get("cl_shownet", "0", CVAR_NONE, "can be 0, 1, or 2"); 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, "None"); 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_sbar = Cvar_Get ("cl_sbar", "1", CVAR_ARCHIVE, "Use old status bar"); cl_hudswap = Cvar_Get ("cl_hudswap", "0", CVAR_ARCHIVE, "new HUD on left side?");
cl_hudswap = Cvar_Get ("cl_hudswap", "0", CVAR_ARCHIVE, "HUD on left side?");
cl_freelook = Cvar_Get("freelook", "0", CVAR_ARCHIVE, "force +mlook"); cl_freelook = Cvar_Get("freelook", "0", CVAR_ARCHIVE, "force +mlook");
lookspring = Cvar_Get("lookspring", "0", 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, "None"); lookstrafe = Cvar_Get("lookstrafe", "0", CVAR_ARCHIVE, "when mlook/klook on player will strafe");
sensitivity = Cvar_Get("sensitivity", "3", CVAR_ARCHIVE, "None"); 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_pitch = Cvar_Get("m_pitch", "0.022", CVAR_ARCHIVE, "None"); m_yaw = Cvar_Get("m_yaw", "0.022", CVAR_ARCHIVE, "mouse yaw (left/right) multipiler");
m_yaw = Cvar_Get("m_yaw", "0.022", CVAR_ARCHIVE, "None"); m_forward = Cvar_Get("m_forward", "1", CVAR_ARCHIVE, "mouse forward/back speed");
m_forward = Cvar_Get("m_forward", "1", CVAR_ARCHIVE, "None"); m_side = Cvar_Get("m_side", "0.8", CVAR_ARCHIVE, "mouse strafe speed");
m_side = Cvar_Get("m_side", "0.8", CVAR_ARCHIVE, "None");
} }
/* /*