From: terencehill Date: Thu, 30 Dec 2010 20:56:35 +0000 (+0100) Subject: Remove obsolete cvars and fix some of them in tooltips.db and menu X-Git-Tag: xonotic-v0.5.0~331 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c7963d830f81ac976fd10bd23812cfa24474e007;p=xonotic%2Fxonotic-data.pk3dir.git Remove obsolete cvars and fix some of them in tooltips.db and menu --- diff --git a/defaultXonotic.cfg b/defaultXonotic.cfg index 126efc41e..06726fc5c 100644 --- a/defaultXonotic.cfg +++ b/defaultXonotic.cfg @@ -1431,7 +1431,7 @@ seta hud_panel_physics_topspeed_time 4 "how many seconds the top speed takes to seta hud_panel_physics_acceleration_max 2 "acceleration progressbar gets filled up completely by this value" seta hud_panel_physics_acceleration_z 0 "include the acceleration on the Z-axis" -seta hud_showbinds 1 "the way to show the keys to press in HUD messages: 0 displays commands, 1 bound keys, 2 both" +seta hud_showbinds 1 "what to show in the HUD to indicate certain keys to press: 0 display commands, 1 bound keys, 2 both" seta hud_showbinds_limit 2 "maximum number of bound keys to show for a command. 0 for unlimited" seta hud_colorflash_alpha 0.5 "starting alpha of the color flash" diff --git a/qcsrc/menu/xonotic/dialog_settings_input.c b/qcsrc/menu/xonotic/dialog_settings_input.c index df3bd084a..705c570d1 100644 --- a/qcsrc/menu/xonotic/dialog_settings_input.c +++ b/qcsrc/menu/xonotic/dialog_settings_input.c @@ -66,12 +66,10 @@ void XonoticInputSettingsTab_fill(entity me) me.TD(me, 1, 3, e = makeXonoticCheckBox(0, "con_closeontoggleconsole", "\"enter console\" also closes")); me.TR(me); me.TD(me, 1, 1, e = makeXonoticTextLabel(0, "Show binds:")); - me.TD(me, 1, 2, e = makeXonoticTextSlider("sbar_showbinds")); - e.addValue(e, "Actions", "0"); + me.TD(me, 1, 2, e = makeXonoticTextSlider("hud_showbinds")); + e.addValue(e, "Commands", "0"); e.addValue(e, "Bound keys", "1"); e.addValue(e, "Both", "2"); e.configureXonoticTextSliderValues(e); - me.TR(me); - me.TD(me, 1, 3, e = makeXonoticCheckBoxEx(2, 0, "cl_showpressedkeys", "Show pressed keys")); } #endif diff --git a/tooltips.db b/tooltips.db index e8aa0f6cd..6b52738e5 100644 --- a/tooltips.db +++ b/tooltips.db @@ -63,12 +63,10 @@ \cl_gunalign\Position of the weapon model; requires reconnect \crosshair_per_weapon\Set a different crosshair for each weapon, good if you play without weapon models -\crosshair_color_override\Also set the color of the crosshair depending on the weapon you are currently holding +\crosshair_color_per_weapon\Set the color of the crosshair depending on the weapon you are currently holding \crosshair_size\Adjust the size of the crosshair -\crosshair_color_alpha\Adjust the opacity of the crosshair -\crosshair_color_red\Red color component of the crosshair color -\crosshair_color_green\Green color component of the crosshair color -\crosshair_color_blue\Blue color component of the crosshair color +\crosshair_alpha\Adjust the opacity of the crosshair +\crosshair_color\Adjust the crosshair color \sbar_hudselector\Use the old HUD layout \XonoticMultiplayerDialog/Radar, HUD & Waypoints...\Adjust the radar, HUD and waypoints \_cl_name\Name under which you will appear in the game @@ -96,8 +94,6 @@ \m_pitch\Invert mouse movement on the Y-axis \vid_dgamouse\Make use of DGA mouse input \con_closeontoggleconsole\Allow the console toggling bind to also close the console -\sbar_showbinds\Display actions / bound keys in the strings shown during the game -\cl_showpressedkeys\Show which movement keys the player is pressing \XonoticSettingsDialog/Video\Video settings \vid_width\Screen resolution @@ -190,29 +186,13 @@ \showtime\Show current time of day, useful on screenshots \showdate\Show current date, useful on screenshots \showfps\Show your rendered frames per second -\cl_showspeed\Show the speed of the player -\cl_showspeed_unit\Select the unit used by the speedometer. qu/s = in/s -\cl_showacceleration\Show the acceleration of the player -\cl_showacceleration_scale\Excaggerate the accelerometer by this scale multiplier \XonoticSettingsDialog/Advanced settings...\Advanced settings where you can tweak every single variable of the game \g_friendlyfire\Percentage of damage dealt to teammates \g_mirrordamage\Percentage of teamdamage that will be mirrored to you \g_tdm_teams_override\Override the default amount of teams in teamgames -\cl_teamradar_position\- -\cl_teamradar_size\- -\cl_teamradar_zoommode\- -\cl_teamradar_rotation\- -\cl_teamradar_scale\- -\cl_teamradar_foreground_alpha\- -\cl_teamradar_background_alpha\Opacity value of the radar background \viewsize\Enable/disable the HUD background -\sbar_alpha_bg\Opacity value of the HUD background -\sbar_color_bg_r\Red color component of the HUD background -\sbar_color_bg_g\Green color component of the HUD background -\sbar_color_bg_b\Blue color component of the HUD background -\sbar_color_bg_team\Team color saturation of the HUD background \cl_hidewaypoints\Show various gametype specific waypoints \g_waypointsprite_scale\Scale multiplier of the waypoints \g_waypointsprite_alpha\Control transparency of the waypoints