X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fmenu%2Fxonotic%2Fdialog_hudpanel_radar.c;h=6ad57fa1369ddb95c1a7421872608cb3f0f17b21;hb=4fc67130ed952fc5998219d1695cd6aff011e0ba;hp=5a43bbdf60ac1a9ef7286637f25e13fe43e610bb;hpb=8b5335b125ddeb8a0c023ff5cf7f5f28f034f4e3;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_radar.c b/qcsrc/menu/xonotic/dialog_hudpanel_radar.c index 5a43bbdf6..6ad57fa13 100644 --- a/qcsrc/menu/xonotic/dialog_hudpanel_radar.c +++ b/qcsrc/menu/xonotic/dialog_hudpanel_radar.c @@ -7,6 +7,7 @@ CLASS(XonoticHUDRadarDialog) EXTENDS(XonoticRootDialog) ATTRIB(XonoticHUDRadarDialog, rows, float, 15) ATTRIB(XonoticHUDRadarDialog, columns, float, 4) ATTRIB(XonoticHUDRadarDialog, name, string, "HUDradar") + ATTRIB(XonoticHUDRadarDialog, requiresConnection, float, TRUE) ENDCLASS(XonoticHUDRadarDialog) #endif @@ -17,7 +18,7 @@ void XonoticHUDRadarDialog_fill(entity me) string panelname = "radar"; me.TR(me); - me.TD(me, 1, 2, e = makeXonoticTextSlider("hud_panel_radar")); + me.TD(me, 1, 4, e = makeXonoticTextSlider("hud_panel_radar")); e.addValue(e, _("Panel disabled"), "0"); e.addValue(e, _("Panel enabled in teamgames"), "1"); e.addValue(e, _("Panel always enabled"), "2"); @@ -26,7 +27,7 @@ void XonoticHUDRadarDialog_fill(entity me) DIALOG_HUDPANEL_COMMON_NOTOGGLE(); me.TR(me); - me.TD(me, 1, 2, e = makeXonoticTextLabel(0, _("Radar:"))); + me.TD(me, 1, 4, e = makeXonoticTextLabel(0, _("Radar:"))); me.TR(me); me.TDempty(me, 0.2); me.TD(me, 1, 1.2, e = makeXonoticTextLabel(0, _("Alpha:"))); @@ -48,7 +49,7 @@ void XonoticHUDRadarDialog_fill(entity me) me.TR(me); me.TDempty(me, 0.2); me.TD(me, 1, 1.2, e = makeXonoticTextLabel(0, _("Zoom mode:"))); - me.TD(me, 1, 1.6, e = makeXonoticTextSlider("hud_panel_radar_zoommode")); + me.TD(me, 1, 2.6, e = makeXonoticTextSlider("hud_panel_radar_zoommode")); e.addValue(e, _("Zoomed in"), "0"); e.addValue(e, _("Zoomed out"), "1"); e.addValue(e, _("Always zoomed"), "2");