]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Add a checkbox in the menu for showing text instead of icons
authorMario <mario@smbclan.net>
Sat, 10 Feb 2018 02:53:16 +0000 (12:53 +1000)
committerMario <mario@smbclan.net>
Sat, 10 Feb 2018 02:53:16 +0000 (12:53 +1000)
qcsrc/menu/xonotic/dialog_settings_game_hud.qc

index e16693675b91cafa32da4601b4436a30e0698626..88fba8dd0250345442b73809800aeb9eb46f708d 100644 (file)
@@ -88,6 +88,10 @@ void XonoticGameHUDSettingsTab_fill(entity me)
                me.TDempty(me, 0.2);
                me.TD(me, 1, 2.8, e = makeXonoticCheckBoxEx(0.25, 1, "g_waypointsprite_crosshairfadealpha", _("Fade when near the crosshair")));
                        setDependent(e, "cl_hidewaypoints", 0, 0);
+       me.TR(me);
+               me.TDempty(me, 0.2);
+               me.TD(me, 1, 2.8, e = makeXonoticCheckBox(0, "g_waypointsprite_text", _("Display names instead of icons")));
+                       setDependent(e, "cl_hidewaypoints", 0, 0);
 
        #if 0
        me.TR(me);