From: Sahil Singhal Date: Sun, 13 Jun 2010 01:10:48 +0000 (-0400) Subject: Some radar dialog fixes. X-Git-Tag: xonotic-v0.1.0preview~541^2~57 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d4d8c0886b7c693d4da771334d464c71f1c84d0b;p=xonotic%2Fxonotic-data.pk3dir.git Some radar dialog fixes. --- diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_radar.c b/qcsrc/menu/xonotic/dialog_hudpanel_radar.c index 09ebabfb65..0ed16f4126 100644 --- a/qcsrc/menu/xonotic/dialog_hudpanel_radar.c +++ b/qcsrc/menu/xonotic/dialog_hudpanel_radar.c @@ -23,6 +23,26 @@ void fillXonoticHUDRadarDialog(entity me) me.TR(me); me.TD(me, 1, 2, e = makeXonoticTextLabel(0, "Background Alpha:")); me.TD(me, 1, 2, e = makeXonoticSlider(0, 1, 0.01, "hud_radar_bg_alpha")); + me.TR(me); + me.TD(me, 1, 2, e = makeXonoticTextLabel(0, "Foreground Alpha:")); + me.TD(me, 1, 2, e = makeXonoticSlider(0, 1, 0.01, "hud_radar_foreground_alpha")); + me.TR(me); + me.TD(me, 1, 1, e = makeXonoticTextLabel(0, "Rotation:")); + me.TD(me, 1, 2, e = makeXonoticTextSlider("hud_radar_rotation")); + e.addValue(e, "Player", "0"); + e.addValue(e, "West", "1"); + e.addValue(e, "South", "2"); + e.addValue(e, "East", "3"); + e.addValue(e, "North", "4"); + e.configureXonoticTextSliderValues(e); + me.TR(me); + me.TD(me, 1, 1, e = makeXonoticTextLabel(0, "Zoom:")); + me.TD(me, 1, 2, e = makeXonoticTextSlider("hud_radar_zoommode")); + e.addValue(e, "Default", "0"); + e.addValue(e, "Zoomed", "1"); + e.addValue(e, "Always Zoomed", "2"); + e.addValue(e, "Zoomed Out", "3"); + e.configureXonoticTextSliderValues(e); me.TR(me); //me.gotoRC(me, me.rows - 1, 0); //me.TD(me, 1, me.columns, e = makeXonoticCommandButton("Exit Setup", '0 0 0', "_hud_configure 0", 1));