From f286da41beec04ed5526c0b1d87ee274021c8ff5 Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 10 Feb 2018 12:53:16 +1000 Subject: [PATCH] Add a checkbox in the menu for showing text instead of icons --- qcsrc/menu/xonotic/dialog_settings_game_hud.qc | 4 ++++ 1 file changed, 4 insertions(+) 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); -- 2.39.2