Go to the source code of this file.
◆ makeXonoticGameModelSettingsTab()
entity makeXonoticGameModelSettingsTab |
( |
| ) |
|
◆ XonoticGameModelSettingsTab_fill()
void XonoticGameModelSettingsTab_fill |
( |
entity |
me | ) |
|
Definition at line 20 of file dialog_settings_game_model.qc.
References entity(), and makeXonoticHeaderLabel().
29 me.gotoRC(me, 0, 1); me.setFirstColumn(me, me.currentColumn);
32 me.TD(me, 1, 3, e =
makeXonoticCheckBox(0,
"cl_simple_items", _(
"Use simple 2D images instead of item models")));
39 e.addValue(e,
ZCTX(_(
"GHOITEMS^Black")),
"-1 -1 -1");
40 e.addValue(e,
ZCTX(_(
"GHOITEMS^Dark")),
"0.1 0.1 0.1");
41 e.addValue(e,
ZCTX(_(
"GHOITEMS^Tinted")),
"0.6 0.6 0.6");
42 e.addValue(e,
ZCTX(_(
"GHOITEMS^Normal")),
"1 1 1");
43 e.addValue(e,
ZCTX(_(
"GHOITEMS^Blue")),
"-1 -1 3");
44 e.configureXonoticTextSliderValues(e);
51 me.TD(me, 1, 3, e =
makeXonoticCheckBox(0,
"cl_forceplayermodels", _(
"Force player models to mine")));
55 _(
"Warning: if enabled in team games your team's color may be the same as the enemy team")));
56 e.addValue(e, _(
"Never"),
"0");
57 e.addValue(e, _(
"Except in team games"),
"1");
58 e.addValue(e, _(
"Only in Duel"),
"3");
59 e.addValue(e, _(
"Only in team games"),
"4");
60 e.addValue(e, _(
"In team games and Duel"),
"5");
61 e.addValue(e, _(
"Always"),
"2");
62 e.configureXonoticTextSliderValues(e);
69 e.addValue(e,
ZCTX(_(
"GIBS^None")),
"1");
70 e.addValue(e,
ZCTX(_(
"GIBS^Few")),
"0.75");
71 e.addValue(e,
ZCTX(_(
"GIBS^Many")),
"0.5");
72 e.addValue(e,
ZCTX(_(
"GIBS^Lots")),
"0");
73 e.configureXonoticTextSliderValues(e);
entity makeXonoticHeaderLabel(string theText)
entity makeXonoticTextLabel(float theAlign, string theText)
entity makeXonoticTextSlider_T(string theCvar, string theTooltip)
entity makeXonoticSlider(float theValueMin, float theValueMax, float theValueStep, string theCvar)
entity makeXonoticTextSlider(string theCvar)
entity makeXonoticCheckBox(float isInverted, string theCvar, string theText)
◆ XonoticGameModelSettingsTab_showNotify()
void XonoticGameModelSettingsTab_showNotify |
( |
entity |
me | ) |
|