]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Working on model dialog
authorSamual <samual@xonotic.org>
Thu, 19 Jan 2012 15:31:27 +0000 (10:31 -0500)
committerSamual <samual@xonotic.org>
Thu, 19 Jan 2012 15:31:27 +0000 (10:31 -0500)
qcsrc/menu/xonotic/dialog_multiplayer_playersetup_model.c

index 71c71345444cc63b15d1039c8ff777e2a6463add..fefbb9fabba3554183bfc5e0ceb0391d60be0b0a 100644 (file)
@@ -24,7 +24,21 @@ void XonoticModelDialog_fill(entity me)
 {
        entity e;
        
-
+       me.TR(me);
+               me.TD(me, 1, 1, e = makeXonoticTextLabel(0, _("Gibs:")));
+               me.TD(me, 1, 2, e = makeXonoticTextSlider("cl_nogibs"));
+                       e.addValue(e, ZCTX(_("GIBS^None")), "1");
+                       e.addValue(e, ZCTX(_("GIBS^Few")), "0.75");
+                       e.addValue(e, ZCTX(_("GIBS^Many")), "0.5");
+                       e.addValue(e, ZCTX(_("GIBS^Lots")), "0");
+                       e.configureXonoticTextSliderValues(e);
+                       setDependent(e, "cl_gentle", 0, 0);
+       me.TR(me);
+       me.TR(me);
+               me.TD(me, 1, 1.5, e = makeXonoticCheckBox(0, "cl_forceplayermodels", _("Force player models to mine")));
+       me.TR(me);
+               me.TD(me, 1, 1.5, e = makeXonoticCheckBox(0, "cl_forceplayercolors", _("Force player colors to mine")));
+               
                
        me.gotoRC(me, me.rows - 1, 0);
                me.TD(me, 1, me.columns, e = makeXonoticButton(_("OK"), '0 0 0'));