From: Samual Date: Thu, 19 Jan 2012 16:38:59 +0000 (-0500) Subject: Finish model dialog X-Git-Tag: xonotic-v0.6.0~125 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=af2ec2cf7a5a3429fa4b0fe06dd3ac4fc206f6bd;p=xonotic%2Fxonotic-data.pk3dir.git Finish model dialog --- diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_playersetup_model.c b/qcsrc/menu/xonotic/dialog_multiplayer_playersetup_model.c index fefbb9fab..750a94206 100644 --- a/qcsrc/menu/xonotic/dialog_multiplayer_playersetup_model.c +++ b/qcsrc/menu/xonotic/dialog_multiplayer_playersetup_model.c @@ -6,7 +6,7 @@ CLASS(XonoticModelDialog) EXTENDS(XonoticDialog) ATTRIB(XonoticModelDialog, title, string, _("Model settings")) ATTRIB(XonoticModelDialog, color, vector, SKINCOLOR_DIALOG_MODEL) ATTRIB(XonoticModelDialog, intendedWidth, float, 0.5) - ATTRIB(XonoticModelDialog, rows, float, 12) + ATTRIB(XonoticModelDialog, rows, float, 8) ATTRIB(XonoticModelDialog, columns, float, 3) ENDCLASS(XonoticModelDialog) #endif @@ -24,6 +24,9 @@ void XonoticModelDialog_fill(entity me) { entity e; + me.TR(me); + me.TD(me, 1, 1, e = makeXonoticTextLabel(0, _("Body fading:"))); + me.TD(me, 1, 2, e = makeXonoticSlider(0, 2, 0.2, "cl_deathglow")); me.TR(me); me.TD(me, 1, 1, e = makeXonoticTextLabel(0, _("Gibs:"))); me.TD(me, 1, 2, e = makeXonoticTextSlider("cl_nogibs")); @@ -33,12 +36,15 @@ void XonoticModelDialog_fill(entity me) e.addValue(e, ZCTX(_("GIBS^Lots")), "0"); e.configureXonoticTextSliderValues(e); setDependent(e, "cl_gentle", 0, 0); + me.TR(me); + me.TD(me, 1, 1, e = makeXonoticTextLabel(0, _("Playermodel LOD:"))); + me.TD(me, 1, 2, e = makeXonoticSlider(0, 10, 1, "cl_playerdetailreduction")); 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.TR(me); me.gotoRC(me, me.rows - 1, 0); me.TD(me, 1, me.columns, e = makeXonoticButton(_("OK"), '0 0 0'));