6 me.configureXonoticColorButton(me, theGroup, theColor, theValue);
14 case 1: theValue = 10;
break;
15 case 2: theValue = 4;
break;
16 case 3: theValue = 1;
break;
17 case 4: theValue = 14;
break;
18 case 5: theValue = 12;
break;
19 case 6: theValue = 7;
break;
20 case 7: theValue = 3;
break;
21 case 8: theValue = 2;
break;
22 case 9: theValue = 6;
break;
23 case 10: theValue = 5;
break;
24 case 11: theValue = 13;
break;
25 case 12: theValue = 11;
break;
26 case 13: theValue = 8;
break;
27 case 14: theValue = 9;
break;
32 me.controlledCvar =
"_cl_color";
33 me.cvarValueFloat = theValue;
34 me.cvarPart = theColor;
36 me.configureRadioButton(me,
string_null, me.fontSize, me.image, theGroup, 0);
48 if (!me.controlledCvar)
55 me.checked = (
cvar(me.controlledCvar) & 240) == me.cvarValueFloat * 16;
57 me.checked = (
cvar(me.controlledCvar) & 15) == me.cvarValueFloat;
61 if (!me.controlledCvar)
67 cvar_set(me.controlledCvar,
ftos((
cvar(me.controlledCvar) & 15) + me.cvarValueFloat * 16));
69 cvar_set(me.controlledCvar,
ftos((
cvar(me.controlledCvar) & 240) + me.cvarValueFloat));
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
#define colormapPaletteColor(c, isPants)