CVARD(Bool,cl_autosave,true,CVAR_ARCHIVE,"enable/disable autosaves")// Not implemented for Blood (but looks like the other games never check it either.)
CVARD(Bool,cl_autosavedeletion,true,CVAR_ARCHIVE,"enable/disable automatic deletion of autosaves")// Not implemented for Blood
CVARD(Int,cl_maxautosaves,8,CVAR_ARCHIVE,"number of autosaves to keep before deleting the oldest")// Not implemented for Blood
CVARD_NAMED(Bool,demorec_diffcompress,demorec_diffcompress_cvar,true,CVAR_ARCHIVE|CVAR_GLOBALCONFIG,"Compression for diffs")
CVARD_NAMED(Bool,demorec_synccompress,demorec_synccompress_cvar,true,CVAR_ARCHIVE|CVAR_GLOBALCONFIG,"Compression for input")
CVARD_NAMED(Bool,demorec_seeds,demorec_seeds_cvar,true,CVAR_ARCHIVE|CVAR_GLOBALCONFIG,"enable/disable recording of random seed for later sync checking")
CVARD_NAMED(Bool,demorec_diffs,demorec_diffs_cvar,true,CVAR_ARCHIVE|CVAR_GLOBALCONFIG,"enable/disable diff recording in demos")
CVARD(Bool,snd_tryformats,true,CVAR_ARCHIVE|CVAR_GLOBALCONFIG,"enables/disables automatic discovery of replacement sounds and music in .flac and .ogg formats")
CVARD(Bool,snd_doppler,false,CVAR_ARCHIVE|CVAR_GLOBALCONFIG,"enable/disable 3d sound")
CVARD(Bool,mus_restartonload,false,CVAR_ARCHIVE|CVAR_GLOBALCONFIG,"restart the music when loading a saved game with the same map or not")// only implemented for Blood - todo: generalize
CVARD(Bool,mus_redbook,false,CVAR_ARCHIVE|CVAR_GLOBALCONFIG,"enables/disables redbook audio (Blood only!)")// only Blood has assets for this.
CUSTOM_CVARD(Bool,snd_reversestereo,false,CVAR_ARCHIVE|CVAR_GLOBALCONFIG|CVAR_NOINITCALL,"reverses the stereo channels")
{
FX_SetReverseStereo(self);
}
CUSTOM_CVARD(Int,snd_fxvolume,255,CVAR_ARCHIVE|CVAR_GLOBALCONFIG,"controls volume for sound effects")
{"r_showfps","show the frame rate counter",(void*)&ud.showfps,CVAR_INT,0,3},
{"r_showfpsperiod","time in seconds before averaging min and max stats for r_showfps 2+",(void*)&ud.frameperiod,CVAR_INT,0,5},
{"r_shadows","enable/disable sprite and model shadows",(void*)&ud.shadows,CVAR_BOOL,0,1},
{"r_size","change size of viewable area",(void*)&ud.screen_size,CVAR_INT|CVAR_FUNCPTR,0,64},
{"r_rotatespritenowidescreen","pass bit 1024 to all CON rotatesprite calls",(void*)&g_rotatespriteNoWidescreen,CVAR_BOOL|CVAR_FUNCPTR,0,1},
{"r_upscalefactor","increase performance by rendering at upscalefactor less than the screen resolution and upscale to the full resolution in the software renderer",(void*)&ud.detail,CVAR_INT|CVAR_FUNCPTR,1,16},
{"r_precache","enable/disable the pre-level caching routine",(void*)&ud.config.useprecache,CVAR_BOOL,0,1},
{"r_ambientlight","sets the global map light level",(void*)&r_ambientlight,CVAR_FLOAT|CVAR_FUNCPTR,0,10},
{"r_maxfps","limit the frame rate",(void*)&r_maxfps,CVAR_INT|CVAR_FUNCPTR,0,1000},
{"r_maxfpsoffset","menu-controlled offset for r_maxfps",(void*)&r_maxfpsoffset,CVAR_INT|CVAR_FUNCPTR,-10,10},
{"sensitivity","changes the mouse sensitivity",(void*)&CONTROL_MouseSensitivity,CVAR_FLOAT|CVAR_FUNCPTR,0,25},
{"skill","changes the game skill setting",(void*)&ud.m_player_skill,CVAR_INT|CVAR_FUNCPTR|CVAR_NOSAVE/*|CVAR_NOMULTI*/,0,5},
{"team","change team in multiplayer",(void*)&ud.team,CVAR_INT|CVAR_MULTI,0,3},
{"vid_gamma","adjusts gamma component of gamma ramp",(void*)&g_videoGamma,CVAR_FLOAT|CVAR_FUNCPTR,0,10},
{"vid_contrast","adjusts contrast component of gamma ramp",(void*)&g_videoContrast,CVAR_FLOAT|CVAR_FUNCPTR,0,10},
{"vid_brightness","adjusts brightness component of gamma ramp",(void*)&g_videoBrightness,CVAR_FLOAT|CVAR_FUNCPTR,0,10},
{"r_showfps","show the frame rate counter",(void*)&ud.showfps,CVAR_INT,0,3},
{"r_showfpsperiod","time in seconds before averaging min and max stats for r_showfps 2+",(void*)&ud.frameperiod,CVAR_INT,0,5},
{"r_shadows","enable/disable sprite and model shadows",(void*)&ud.shadows,CVAR_BOOL,0,1},
{"r_size","change size of viewable area",(void*)&ud.screen_size,CVAR_INT|CVAR_FUNCPTR,0,64},
{"r_rotatespritenowidescreen","pass bit 1024 to all CON rotatesprite calls",(void*)&g_rotatespriteNoWidescreen,CVAR_BOOL|CVAR_FUNCPTR,0,1},
{"r_upscalefactor","increase performance by rendering at upscalefactor less than the screen resolution and upscale to the full resolution in the software renderer",(void*)&ud.detail,CVAR_INT|CVAR_FUNCPTR,1,16},
{"r_precache","enable/disable the pre-level caching routine",(void*)&ud.config.useprecache,CVAR_BOOL,0,1},
{"r_ambientlight","sets the global map light level",(void*)&r_ambientlight,CVAR_FLOAT|CVAR_FUNCPTR,0,10},
{"r_maxfps","limit the frame rate",(void*)&r_maxfps,CVAR_INT|CVAR_FUNCPTR,0,1000},
{"r_maxfpsoffset","menu-controlled offset for r_maxfps",(void*)&r_maxfpsoffset,CVAR_INT|CVAR_FUNCPTR,-10,10},
{"sensitivity","changes the mouse sensitivity",(void*)&CONTROL_MouseSensitivity,CVAR_FLOAT|CVAR_FUNCPTR,0,25},
{"skill","changes the game skill setting",(void*)&ud.m_player_skill,CVAR_INT|CVAR_FUNCPTR|CVAR_NOSAVE/*|CVAR_NOMULTI*/,0,5},
{"team","change team in multiplayer",(void*)&ud.team,CVAR_INT|CVAR_MULTI,0,3},
{"vid_gamma","adjusts gamma component of gamma ramp",(void*)&g_videoGamma,CVAR_FLOAT|CVAR_FUNCPTR,0,10},
{"vid_contrast","adjusts contrast component of gamma ramp",(void*)&g_videoContrast,CVAR_FLOAT|CVAR_FUNCPTR,0,10},
{"vid_brightness","adjusts brightness component of gamma ramp",(void*)&g_videoBrightness,CVAR_FLOAT|CVAR_FUNCPTR,0,10},
{"r_showfps","show the frame rate counter",(void*)&gShowFps,CVAR_INT,0,3},
{"r_showfpsperiod","time in seconds before averaging min and max stats for r_showfps 2+",(void*)&gFramePeriod,CVAR_INT,0,5},
// { "r_shadows", "enable/disable sprite and model shadows", (void *)&ud.shadows, CVAR_BOOL, 0, 1 },
{"r_size","change size of viewable area",(void*)&gViewSize,CVAR_INT|CVAR_FUNCPTR,0,7},
// { "r_rotatespritenowidescreen", "pass bit 1024 to all CON rotatesprite calls", (void *)&g_rotatespriteNoWidescreen, CVAR_BOOL|CVAR_FUNCPTR, 0, 1 },
{"r_upscalefactor","increase performance by rendering at upscalefactor less than the screen resolution and upscale to the full resolution in the software renderer",(void*)&gUpscaleFactor,CVAR_INT|CVAR_FUNCPTR,1,16},
{"r_precache","enable/disable the pre-level caching routine",(void*)&useprecache,CVAR_BOOL,0,1},
//
{"r_ambientlight","sets the global map light level",(void*)&r_ambientlight,CVAR_FLOAT|CVAR_FUNCPTR,0,10},
{"r_maxfps","limit the frame rate",(void*)&r_maxfps,CVAR_INT|CVAR_FUNCPTR,0,1000},
{"r_maxfpsoffset","menu-controlled offset for r_maxfps",(void*)&r_maxfpsoffset,CVAR_INT|CVAR_FUNCPTR,-10,10},
{"sensitivity","changes the mouse sensitivity",(void*)&CONTROL_MouseSensitivity,CVAR_FLOAT|CVAR_FUNCPTR,0,25},
//
// { "skill","changes the game skill setting", (void *)&ud.m_player_skill, CVAR_INT|CVAR_FUNCPTR|CVAR_NOSAVE/*|CVAR_NOMULTI*/, 0, 5 },