From: Mario Date: Sat, 10 Feb 2018 02:53:16 +0000 (+1000) Subject: Add a checkbox in the menu for showing text instead of icons X-Git-Tag: xonotic-v0.8.5~2328^2~3 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f286da41beec04ed5526c0b1d87ee274021c8ff5;p=xonotic%2Fxonotic-data.pk3dir.git Add a checkbox in the menu for showing text instead of icons --- diff --git a/qcsrc/menu/xonotic/dialog_settings_game_hud.qc b/qcsrc/menu/xonotic/dialog_settings_game_hud.qc index e16693675..88fba8dd0 100644 --- a/qcsrc/menu/xonotic/dialog_settings_game_hud.qc +++ b/qcsrc/menu/xonotic/dialog_settings_game_hud.qc @@ -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);