Various things from theoddone. For some reason he can't commit...

This commit is contained in:
Brian Koropoff 2000-05-17 01:52:15 +00:00
parent 881fb9c875
commit e30c17729c
13 changed files with 65 additions and 65 deletions

View file

@ -1190,10 +1190,10 @@ void CL_Init (void)
cl_upspeed = Cvar_Get("cl_upspeed", "200", CVAR_NONE, "None");
/* Cvar_RegisterVariable (&cl_forwardspeed);
CVAR_FIXME */
cl_forwardspeed = Cvar_Get("cl_forwardspeed", "200", CVAR_NONE, "None");
cl_forwardspeed = Cvar_Get("cl_forwardspeed", "200", CVAR_ARCHIVE, "None");
/* Cvar_RegisterVariable (&cl_backspeed);
CVAR_FIXME */
cl_backspeed = Cvar_Get("cl_backspeed", "200", CVAR_NONE, "None");
cl_backspeed = Cvar_Get("cl_backspeed", "200", CVAR_ARCHIVE, "None");
/* Cvar_RegisterVariable (&cl_sidespeed);
CVAR_FIXME */
cl_sidespeed = Cvar_Get("cl_sidespeed", "350", CVAR_NONE, "None");
@ -1214,29 +1214,29 @@ void CL_Init (void)
cl_shownet = Cvar_Get("cl_shownet", "0", CVAR_NONE, "None");
/* Cvar_RegisterVariable (&cl_sbar);
CVAR_FIXME */
cl_sbar = Cvar_Get("cl_sbar", "0", CVAR_NONE, "None");
cl_sbar = Cvar_Get("cl_sbar", "0", CVAR_ARCHIVE, "None");
/* Cvar_RegisterVariable (&cl_hudswap);
CVAR_FIXME */
cl_hudswap = Cvar_Get("cl_hudswap", "0", CVAR_NONE, "None");
cl_hudswap = Cvar_Get("cl_hudswap", "0", CVAR_ARCHIVE, "None");
/* Cvar_RegisterVariable (&cl_maxfps);
CVAR_FIXME */
cl_maxfps = Cvar_Get("cl_maxfps", "0", CVAR_NONE, "None");
cl_maxfps = Cvar_Get("cl_maxfps", "0", CVAR_ARCHIVE, "None");
/* Cvar_RegisterVariable (&cl_timeout);
CVAR_FIXME */
cl_timeout = Cvar_Get("cl_timeout", "60", CVAR_NONE, "None");
cl_timeout = Cvar_Get("cl_timeout", "60", CVAR_ARCHIVE, "None");
/* Cvar_RegisterVariable (&lookspring);
CVAR_FIXME */
lookspring = Cvar_Get("lookspring", "0", CVAR_NONE, "None");
lookspring = Cvar_Get("lookspring", "0", CVAR_ARCHIVE, "None");
/* Cvar_RegisterVariable (&lookstrafe);
CVAR_FIXME */
lookstrafe = Cvar_Get("lookstrafe", "0", CVAR_NONE, "None");
lookstrafe = Cvar_Get("lookstrafe", "0", CVAR_ARCHIVE, "None");
/* Cvar_RegisterVariable (&sensitivity);
CVAR_FIXME */
sensitivity = Cvar_Get("sensitivity", "3", CVAR_NONE, "None");
sensitivity = Cvar_Get("sensitivity", "3", CVAR_ARCHIVE, "None");
/* Cvar_RegisterVariable (&m_pitch);
CVAR_FIXME */
m_pitch = Cvar_Get("m_pitch", "0.022", CVAR_NONE, "None");
m_pitch = Cvar_Get("m_pitch", "0.022", CVAR_ARCHIVE, "None");
/* Cvar_RegisterVariable (&m_yaw);
CVAR_FIXME */
m_yaw = Cvar_Get("m_yaw", "0.022", CVAR_NONE, "None");
@ -1283,34 +1283,34 @@ void CL_Init (void)
//
/* Cvar_RegisterVariable (&name);
CVAR_FIXME */
name = Cvar_Get("name", "unnamed", CVAR_NONE, "None");
name = Cvar_Get("name", "unnamed", CVAR_ARCHIVE|CVAR_SERVERINFO|CVAR_USERINFO, "None");
/* Cvar_RegisterVariable (&password);
CVAR_FIXME */
password = Cvar_Get("password", "", CVAR_NONE, "None");
password = Cvar_Get("password", "", CVAR_SERVERINFO|CVAR_USERINFO, "None");
/* Cvar_RegisterVariable (&spectator);
CVAR_FIXME */
spectator = Cvar_Get("spectator", "", CVAR_NONE, "None");
spectator = Cvar_Get("spectator", "", CVAR_SERVERINFO|CVAR_USERINFO, "None");
/* Cvar_RegisterVariable (&skin);
CVAR_FIXME */
skin = Cvar_Get("skin", "", CVAR_NONE, "None");
skin = Cvar_Get("skin", "", CVAR_ARCHIVE|CVAR_SERVERINFO|CVAR_USERINFO, "None");
/* Cvar_RegisterVariable (&team);
CVAR_FIXME */
team = Cvar_Get("team", "", CVAR_NONE, "None");
team = Cvar_Get("team", "", CVAR_ARCHIVE|CVAR_SERVERINFO|CVAR_USERINFO, "None");
/* Cvar_RegisterVariable (&topcolor);
CVAR_FIXME */
topcolor = Cvar_Get("topcolor", "0", CVAR_NONE, "None");
topcolor = Cvar_Get("topcolor", "0", CVAR_ARCHIVE|CVAR_SERVERINFO|CVAR_USERINFO, "None");
/* Cvar_RegisterVariable (&bottomcolor);
CVAR_FIXME */
bottomcolor = Cvar_Get("bottomcolor", "0", CVAR_NONE, "None");
bottomcolor = Cvar_Get("bottomcolor", "0", CVAR_ARCHIVE|CVAR_SERVERINFO|CVAR_USERINFO, "None");
/* Cvar_RegisterVariable (&rate);
CVAR_FIXME */
rate = Cvar_Get("rate", "2500", CVAR_NONE, "None");
rate = Cvar_Get("rate", "2500", CVAR_ARCHIVE|CVAR_SERVERINFO|CVAR_USERINFO, "None");
/* Cvar_RegisterVariable (&msg);
CVAR_FIXME */
msg = Cvar_Get("msg", "1", CVAR_NONE, "None");
msg = Cvar_Get("msg", "1", CVAR_ARCHIVE|CVAR_SERVERINFO|CVAR_USERINFO, "None");
/* Cvar_RegisterVariable (&noaim);
CVAR_FIXME */
noaim = Cvar_Get("noaim", "0", CVAR_NONE, "None");
noaim = Cvar_Get("noaim", "0", CVAR_ARCHIVE|CVAR_SERVERINFO|CVAR_USERINFO, "None");
Cmd_AddCommand ("version", CL_Version_f);

View file

@ -469,7 +469,7 @@ SCR_Init
void SCR_InitCvars (void)
{
scr_fov = Cvar_Get("fov", "90", CVAR_NONE, "None");
scr_viewsize = Cvar_Get("viewsize", "100", CVAR_NONE, "None");
scr_viewsize = Cvar_Get("viewsize", "100", CVAR_ARCHIVE, "None");
scr_conspeed = Cvar_Get("scr_conspeed", "300", CVAR_NONE, "None");
scr_showram = Cvar_Get("showram", "1", CVAR_NONE, "None");
scr_showturtle = Cvar_Get("showturtle", "0", CVAR_NONE, "None");
@ -477,7 +477,7 @@ void SCR_InitCvars (void)
scr_centertime = Cvar_Get("scr_centertime", "2", CVAR_NONE, "None");
scr_printspeed = Cvar_Get("scr_printspeed", "8", CVAR_NONE, "None");
scr_allowsnap = Cvar_Get("scr_allowsnap", "1", CVAR_NONE, "None");
gl_triplebuffer = Cvar_Get("gl_triplebuffer", "1", CVAR_NONE, "None");
gl_triplebuffer = Cvar_Get("gl_triplebuffer", "1", CVAR_ARCHIVE, "None");
}
void

View file

@ -822,7 +822,7 @@ void IN_Init(void)
{
/* Cvar_RegisterVariable (&_windowed_mouse);
CVAR_FIXME */
_windowed_mouse = Cvar_Get("_windowed_mouse", "0", CVAR_NONE, "None");
_windowed_mouse = Cvar_Get("_windowed_mouse", "0", CVAR_ARCHIVE, "None");
/* Cvar_RegisterVariable (&m_filter);
CVAR_FIXME */
m_filter = Cvar_Get("m_filter", "0", CVAR_NONE, "None");

View file

@ -1631,28 +1631,28 @@ void VID_Init (unsigned char *palette)
vid_wait = Cvar_Get("vid_wait", "0", CVAR_NONE, "None");
/* Cvar_RegisterVariable (&vid_nopageflip);
CVAR_FIXME */
vid_nopageflip = Cvar_Get("vid_nopageflip", "0", CVAR_NONE, "None");
vid_nopageflip = Cvar_Get("vid_nopageflip", "0", CVAR_ARCHIVE, "None");
/* Cvar_RegisterVariable (&_vid_wait_override);
CVAR_FIXME */
_vid_wait_override = Cvar_Get("_vid_wait_override", "0", CVAR_NONE, "None");
_vid_wait_override = Cvar_Get("_vid_wait_override", "0", CVAR_ARCHIVE, "None");
/* Cvar_RegisterVariable (&_vid_default_mode);
CVAR_FIXME */
_vid_default_mode = Cvar_Get("_vid_default_mode", "0", CVAR_NONE, "None");
_vid_default_mode = Cvar_Get("_vid_default_mode", "0", CVAR_ARCHIVE, "None");
/* Cvar_RegisterVariable (&_vid_default_mode_win);
CVAR_FIXME */
_vid_default_mode_win = Cvar_Get("_vid_default_mode_win", "3", CVAR_NONE, "None");
_vid_default_mode_win = Cvar_Get("_vid_default_mode_win", "3", CVAR_ARCHIVE, "None");
/* Cvar_RegisterVariable (&vid_config_x);
CVAR_FIXME */
vid_config_x = Cvar_Get("vid_config_x", "800", CVAR_NONE, "None");
vid_config_x = Cvar_Get("vid_config_x", "800", CVAR_ARCHIVE, "None");
/* Cvar_RegisterVariable (&vid_config_y);
CVAR_FIXME */
vid_config_y = Cvar_Get("vid_config_y", "600", CVAR_NONE, "None");
vid_config_y = Cvar_Get("vid_config_y", "600", CVAR_ARCHIVE, "None");
/* Cvar_RegisterVariable (&vid_stretch_by_2);
CVAR_FIXME */
vid_stretch_by_2 = Cvar_Get("vid_stretch_by_2", "1", CVAR_NONE, "None");
vid_stretch_by_2 = Cvar_Get("vid_stretch_by_2", "1", CVAR_ARCHIVE, "None");
/* Cvar_RegisterVariable (&_windowed_mouse);
CVAR_FIXME */
_windowed_mouse = Cvar_Get("_windowed_mouse", "0", CVAR_NONE, "None");
_windowed_mouse = Cvar_Get("_windowed_mouse", "0", CVAR_ARCHIVE, "None");
/* Cvar_RegisterVariable (&gl_ztrick);
CVAR_FIXME */
gl_ztrick = Cvar_Get("gl_ztrick", "1", CVAR_NONE, "None");

View file

@ -541,7 +541,7 @@ void IN_Init (void)
// joystick variables
/* Cvar_RegisterVariable (&in_joystick);
CVAR_FIXME */
in_joystick = Cvar_Get("joystick", "0", CVAR_NONE, "None");
in_joystick = Cvar_Get("joystick", "0", CVAR_ARCHIVE, "None");
/* Cvar_RegisterVariable (&joy_name);
CVAR_FIXME */
joy_name = Cvar_Get("joyname", "joystick", CVAR_NONE, "None");

View file

@ -66,7 +66,7 @@ void Mod_Init (void)
{
/* Cvar_RegisterVariable (&gl_subdivide_size);
CVAR_FIXME */
gl_subdivide_size = Cvar_Get("gl_subdivide_size", "128", CVAR_NONE, "None");
gl_subdivide_size = Cvar_Get("gl_subdivide_size", "128", CVAR_ARCHIVE, "None");
memset (mod_novis, 0xff, sizeof(mod_novis));
}

View file

@ -973,16 +973,16 @@ void V_Init (void)
v_idlescale = Cvar_Get("v_idlescale", "0", CVAR_NONE, "None");
/* Cvar_RegisterVariable (&crosshaircolor);
CVAR_FIXME */
crosshaircolor = Cvar_Get("crosshaircolor", "79", CVAR_NONE, "None");
crosshaircolor = Cvar_Get("crosshaircolor", "79", CVAR_ARCHIVE, "None");
/* Cvar_RegisterVariable (&crosshair);
CVAR_FIXME */
crosshair = Cvar_Get("crosshair", "0", CVAR_NONE, "None");
crosshair = Cvar_Get("crosshair", "0", CVAR_ARCHIVE, "None");
/* Cvar_RegisterVariable (&cl_crossx);
CVAR_FIXME */
cl_crossx = Cvar_Get("cl_crossx", "0", CVAR_NONE, "None");
cl_crossx = Cvar_Get("cl_crossx", "0", CVAR_ARCHIVE, "None");
/* Cvar_RegisterVariable (&cl_crossy);
CVAR_FIXME */
cl_crossy = Cvar_Get("cl_crossy", "0", CVAR_NONE, "None");
cl_crossy = Cvar_Get("cl_crossy", "0", CVAR_ARCHIVE, "None");
/* Cvar_RegisterVariable (&cl_rollspeed);
CVAR_FIXME */

View file

@ -423,7 +423,7 @@ void SCR_InitCvars (void)
scr_fov = Cvar_Get("fov", "90", CVAR_NONE, "None");
/* Cvar_RegisterVariable (&scr_viewsize);
CVAR_FIXME */
scr_viewsize = Cvar_Get("viewsize", "100", CVAR_NONE, "None");
scr_viewsize = Cvar_Get("viewsize", "100", CVAR_ARCHIVE, "None");
/* Cvar_RegisterVariable (&scr_conspeed);
CVAR_FIXME */
scr_conspeed = Cvar_Get("scr_conspeed", "300", CVAR_NONE, "None");

View file

@ -221,7 +221,7 @@ void S_Init (void)
nosound = Cvar_Get("nosound", "0", CVAR_NONE, "None");
/* Cvar_RegisterVariable(&volume);
CVAR_FIXME */
volume = Cvar_Get("volume", "0.7", CVAR_NONE, "None");
volume = Cvar_Get("volume", "0.7", CVAR_ARCHIVE, "None");
/* Cvar_RegisterVariable(&precache);
CVAR_FIXME */
precache = Cvar_Get("precache", "1", CVAR_NONE, "None");
@ -230,7 +230,7 @@ void S_Init (void)
loadas8bit = Cvar_Get("loadas8bit", "0", CVAR_NONE, "None");
/* Cvar_RegisterVariable(&bgmvolume);
CVAR_FIXME */
bgmvolume = Cvar_Get("bgmvolume", "1", CVAR_NONE, "None");
bgmvolume = Cvar_Get("bgmvolume", "1", CVAR_ARCHIVE, "None");
/* Cvar_RegisterVariable(&bgmbuffer);
CVAR_FIXME */
bgmbuffer = Cvar_Get("bgmbuffer", "4096", CVAR_NONE, "None");
@ -248,7 +248,7 @@ void S_Init (void)
snd_show = Cvar_Get("snd_show", "0", CVAR_NONE, "None");
/* Cvar_RegisterVariable(&_snd_mixahead);
CVAR_FIXME */
_snd_mixahead = Cvar_Get("_snd_mixahead", "0.1", CVAR_NONE, "None");
_snd_mixahead = Cvar_Get("_snd_mixahead", "0.1", CVAR_ARCHIVE, "None");
if (host_parms.memsize < 0x800000)
{

View file

@ -1455,28 +1455,28 @@ void SV_InitLocal (void)
timelimit = Cvar_Get("timelimit", "0", CVAR_NONE|CVAR_USERINFO|CVAR_SERVERINFO, "None");
/* Cvar_RegisterVariable (&teamplay);
CVAR_FIXME */
teamplay = Cvar_Get("teamplay", "0", CVAR_NONE|CVAR_USERINFO|CVAR_SERVERINFO, "None");
teamplay = Cvar_Get("teamplay", "0", CVAR_USERINFO|CVAR_SERVERINFO, "None");
/* Cvar_RegisterVariable (&samelevel);
CVAR_FIXME */
samelevel = Cvar_Get("samelevel", "0", CVAR_NONE, "None");
samelevel = Cvar_Get("samelevel", "0", CVAR_USERINFO|CVAR_SERVERINFO, "None");
/* Cvar_RegisterVariable (&maxclients);
CVAR_FIXME */
maxclients = Cvar_Get("maxclients", "8", CVAR_NONE, "None");
maxclients = Cvar_Get("maxclients", "8", CVAR_USERINFO|CVAR_SERVERINFO, "None");
/* Cvar_RegisterVariable (&maxspectators);
CVAR_FIXME */
maxspectators = Cvar_Get("maxspectators", "8", CVAR_NONE, "None");
maxspectators = Cvar_Get("maxspectators", "8", CVAR_USERINFO|CVAR_SERVERINFO, "None");
/* Cvar_RegisterVariable (&hostname);
CVAR_FIXME */
hostname = Cvar_Get("hostname", "unnamed", CVAR_NONE, "None");
hostname = Cvar_Get("hostname", "unnamed", CVAR_USERINFO|CVAR_SERVERINFO, "None");
/* Cvar_RegisterVariable (&deathmatch);
CVAR_FIXME */
deathmatch = Cvar_Get("deathmatch", "1", CVAR_NONE, "None");
deathmatch = Cvar_Get("deathmatch", "1", CVAR_USERINFO|CVAR_SERVERINFO, "None");
/* Cvar_RegisterVariable (&spawn);
CVAR_FIXME */
spawn = Cvar_Get("spawn", "0", CVAR_NONE, "None");
spawn = Cvar_Get("spawn", "0", CVAR_USERINFO|CVAR_SERVERINFO, "None");
/* Cvar_RegisterVariable (&watervis);
CVAR_FIXME */
watervis = Cvar_Get("watervis", "0", CVAR_NONE, "None");
watervis = Cvar_Get("watervis", "0", CVAR_USERINFO|CVAR_SERVERINFO, "None");
/* Cvar_RegisterVariable (&developer);
CVAR_FIXME */

View file

@ -701,7 +701,7 @@ void VID_Init(unsigned char *palette)
gl_ztrick = Cvar_Get("gl_ztrick", "1", CVAR_NONE, "None");
/* Cvar_RegisterVariable (&_windowed_mouse);
CVAR_FIXME */
_windowed_mouse = Cvar_Get("_windowed_mouse", "0", CVAR_NONE, "None");
_windowed_mouse = Cvar_Get("_windowed_mouse", "0", CVAR_ARCHIVE, "None");
vid.maxwarpwidth = WARP_WIDTH;
vid.maxwarpheight = WARP_HEIGHT;

View file

@ -2181,43 +2181,43 @@ void VID_Init (unsigned char *palette)
vid_wait = Cvar_Get("vid_wait", "0", CVAR_NONE, "None");
/* Cvar_RegisterVariable (&vid_nopageflip);
CVAR_FIXME */
vid_nopageflip = Cvar_Get("vid_nopageflip", "0", CVAR_NONE, "None");
vid_nopageflip = Cvar_Get("vid_nopageflip", "0", CVAR_ARCHIVE, "None");
/* Cvar_RegisterVariable (&_vid_wait_override);
CVAR_FIXME */
_vid_wait_override = Cvar_Get("_vid_wait_override", "0", CVAR_NONE, "None");
_vid_wait_override = Cvar_Get("_vid_wait_override", "0", CVAR_ARCHIVE, "None");
/* Cvar_RegisterVariable (&_vid_default_mode);
CVAR_FIXME */
_vid_default_mode = Cvar_Get("_vid_default_mode", "0", CVAR_NONE, "None");
_vid_default_mode = Cvar_Get("_vid_default_mode", "0", CVAR_ARCHIVE, "None");
/* Cvar_RegisterVariable (&_vid_default_mode_win);
CVAR_FIXME */
_vid_default_mode_win = Cvar_Get("_vid_default_mode_win", "3", CVAR_NONE, "None");
_vid_default_mode_win = Cvar_Get("_vid_default_mode_win", "3", CVAR_ARCHIVE, "None");
/* Cvar_RegisterVariable (&vid_config_x);
CVAR_FIXME */
vid_config_x = Cvar_Get("vid_config_x", "800", CVAR_NONE, "None");
vid_config_x = Cvar_Get("vid_config_x", "800", CVAR_ARCHIVE, "None");
/* Cvar_RegisterVariable (&vid_config_y);
CVAR_FIXME */
vid_config_y = Cvar_Get("vid_config_y", "600", CVAR_NONE, "None");
vid_config_y = Cvar_Get("vid_config_y", "600", CVAR_ARCHIVE, "None");
/* Cvar_RegisterVariable (&vid_stretch_by_2);
CVAR_FIXME */
vid_stretch_by_2 = Cvar_Get("vid_stretch_by_2", "1", CVAR_NONE, "None");
vid_stretch_by_2 = Cvar_Get("vid_stretch_by_2", "1", CVAR_ARCHIVE, "None");
/* Cvar_RegisterVariable (&_windowed_mouse);
CVAR_FIXME */
_windowed_mouse = Cvar_Get("_windowed_mouse", "0", CVAR_NONE, "None");
_windowed_mouse = Cvar_Get("_windowed_mouse", "0", CVAR_ARCHIVE, "None");
/* Cvar_RegisterVariable (&vid_fullscreen_mode);
CVAR_FIXME */
vid_fullscreen_mode = Cvar_Get("vid_fullscreen_mode", "3", CVAR_NONE, "None");
vid_fullscreen_mode = Cvar_Get("vid_fullscreen_mode", "3", CVAR_ARCHIVE, "None");
/* Cvar_RegisterVariable (&vid_windowed_mode);
CVAR_FIXME */
vid_windowed_mode = Cvar_Get("vid_windowed_mode", "0", CVAR_NONE, "None");
vid_windowed_mode = Cvar_Get("vid_windowed_mode", "0", CVAR_ARCHIVE, "None");
/* Cvar_RegisterVariable (&block_switch);
CVAR_FIXME */
block_switch = Cvar_Get("block_switch", "0", CVAR_NONE, "None");
block_switch = Cvar_Get("block_switch", "0", CVAR_ARCHIVE, "None");
/* Cvar_RegisterVariable (&vid_window_x);
CVAR_FIXME */
vid_window_x = Cvar_Get("vid_window_x", "0", CVAR_NONE, "None");
vid_window_x = Cvar_Get("vid_window_x", "0", CVAR_ARCHIVE, "None");
/* Cvar_RegisterVariable (&vid_window_y);
CVAR_FIXME */
vid_window_y = Cvar_Get("vid_window_y", "0", CVAR_NONE, "None");
vid_window_y = Cvar_Get("vid_window_y", "0", CVAR_ARCHIVE, "None");
Cmd_AddCommand ("vid_testmode", VID_TestMode_f);
Cmd_AddCommand ("vid_nummodes", VID_NumModes_f);

View file

@ -1079,10 +1079,10 @@ void IN_Init (void)
{
/* Cvar_RegisterVariable (&_windowed_mouse);
CVAR_FIXME */
_windowed_mouse = Cvar_Get("_windowed_mouse", "0", CVAR_NONE, "None");
_windowed_mouse = Cvar_Get("_windowed_mouse", "0", CVAR_ARCHIVE, "None");
/* Cvar_RegisterVariable (&m_filter);
CVAR_FIXME */
m_filter = Cvar_Get("m_filter", "0", CVAR_NONE, "None");
m_filter = Cvar_Get("m_filter", "0", CVAR_ARCHIVE, "None");
if ( COM_CheckParm ("-nomouse") )
return;
mouse_x = mouse_y = 0.0;