x = OPTPADDING; y = OPTPADDING; CTab_Draw(&options_tab, x, y, w, h); } // MAIN TAB setting settgeneral_arr[] = { ADDSET_BOOL ("Advanced Options", menu_advanced), ADDSET_ACTION ("Go To Console", Con_ToggleConsole_f, "Opens the console."), ADDSET_SEPARATOR("Basic Setup"), ADDSET_STRING ("Name", name), ADDSET_NUMBER ("View Size (fov)", scr_fov, 40, 140, 2), ADDSET_NAMED ("HUD Type", scr_newHud, hud_enum), ADDSET_NUMBER ("Crosshair", crosshair, 0, 7, 1), ADDSET_NUMBER ("Gamma", v_gamma, 0, 3, 0.05), ADDSET_NUMBER ("Mouse Sensitivity", sensitivity, 1, 20, 0.25), // My sens is 16, so maybe some people have it up to 20? ADDSET_CUSTOM ("Invert Mouse", InvertMouseRead, InvertMouseToggle, "Inverts the Y axis."), //Sound & Volume ADDSET_SEPARATOR("Sound & Volume"), ADDSET_NUMBER ("Primary Volume", s_volume, 0, 1, 0.05), ADDSET_ADVANCED_SECTION(), ADDSET_BOOL ("Self Volume Levels", cl_chatsound), ADDSET_NUMBER ("Chat Volume", con_sound_mm1_volume, 0, 1, 0.1), ADDSET_NUMBER ("Team Chat Volume", con_sound_mm2_volume, 0, 1, 0.1), ADDSET_NUMBER ("Spectator Volume", con_sound_spec_volume, 0, 1, 0.1), ADDSET_NUMBER ("Other Volume", con_sound_other_volume, 0, 1, 0.1), ADDSET_BOOL ("Static Sounds", cl_staticsounds),
extern cvar_t scr_scaleMenu; extern int menuwidth; extern int menuheight; const char* sb_showproxies_labels[] = { "hide", "show", "exclusively" }; static settings_page sbsettings; static setting sbsettings_arr[] = { ADDSET_SEPARATOR("Server Filters"), ADDSET_BOOL ("Hide Empty", sb_hideempty), ADDSET_BOOL ("Hide Full", sb_hidefull), ADDSET_BOOL ("Hide Not Empty", sb_hidenotempty), ADDSET_BOOL ("Hide Dead", sb_hidedead), ADDSET_BOOL ("Hide High Ping", sb_hidehighping), ADDSET_NAMED ("Show Proxies", sb_showproxies, sb_showproxies_labels), ADDSET_SEPARATOR("Display Columns"), ADDSET_BOOL ("Show Ping", sb_showping), ADDSET_BOOL ("Show Map", sb_showmap), ADDSET_BOOL ("Show Gamedir", sb_showgamedir), ADDSET_BOOL ("Show Players", sb_showplayers), ADDSET_BOOL ("Show Timelimit", sb_showtimelimit), ADDSET_BOOL ("Show Fraglimit", sb_showfraglimit), ADDSET_BOOL ("Show Server Address", sb_showaddress), ADDSET_SEPARATOR("Display"), ADDSET_BOOL ("Server Status", sb_status), ADDSET_SEPARATOR("Network Filters"), ADDSET_NUMBER ("Ping Timeout", sb_pingtimeout, 50, 1000, 50),
ADDSET_COLOR ("Pants Color", bottomcolor), ADDSET_ADVANCED_SECTION(), ADDSET_BOOL ("Fullbright Skins", r_fullbrightSkins), ADDSET_ENUM ("Ruleset", ruleset, ruleset_enum), ADDSET_BASIC_SECTION(), ADDSET_SEPARATOR("Weapon Handling"), ADDSET_CUSTOM ("Gun Autoswitch", AutoSWRead, AutoSWToggle, "Switches to the weapon picked up if it is more powerful than what you're currently holding."), ADDSET_BOOL ("Gun Preselect", cl_weaponpreselect), ADDSET_BOOL ("Gun Auto Hide", cl_weaponhide), ADDSET_SEPARATOR("Movement"), ADDSET_CUSTOM ("Always Run", AlwaysRunRead, AlwaysRunToggle, "Maximum forward speed at all times."), ADDSET_ADVANCED_SECTION(), ADDSET_BOOL ("Smart Jump", cl_smartjump), ADDSET_NAMED ("Movement Scripts", allow_scripts, allowscripts_enum), ADDSET_BASIC_SECTION(), ADDSET_SEPARATOR("Team Skin & Colors"), ADDSET_COLOR ("Shirt Color", cl_teamtopcolor), ADDSET_COLOR ("Pants Color", cl_teambottomcolor), ADDSET_ADVANCED_SECTION(), ADDSET_SKIN ("Skin", cl_teamskin), ADDSET_NAMED ("Force Skins", teamforceskins, teamforceskins_enum), ADDSET_SKIN ("Quad Skin", cl_teamquadskin), ADDSET_SKIN ("Pent Skin", cl_teampentskin), ADDSET_SKIN ("Quad+Pent Skin", cl_teambothskin), ADDSET_BASIC_SECTION(), ADDSET_SEPARATOR("Enemy Skin & Colors"), ADDSET_COLOR ("Shirt Color", cl_enemytopcolor),