COLOR_CHARMAP_CHAR '1 1 1'
// crosshairpicker
-ALPHA_CROSSHAIRPICKER_CROSSHAIR 0.85
+ALPHA_CROSSHAIRPICKER_CROSSHAIR 0.6
COLOR_CROSSHAIRPICKER_CROSSHAIR '1 1 1'
// checkbox
FONTSIZE_NORMAL 12
FONTSIZE_TITLE 16
FONTSIZE_TOOLTIP 12
-HEIGHT_NORMAL 1.5
-HEIGHT_TITLE 1.5
+HEIGHT_NORMAL 1.45
+HEIGHT_TITLE 1.45
HEIGHT_ZOOMEDTITLE -1
// inputbox
COLOR_LISTBOX_SELECTED '0.97 0.56 0.27'
ALPHA_LISTBOX_WAITING 0.8
COLOR_LISTBOX_WAITING '0.73 0.82 0.9'
-ALPHA_LISTBOX_FOCUSED 0.8
-FADEALPHA_LISTBOX_FOCUSED 0.4
+ALPHA_LISTBOX_FOCUSED 0.55
+FADEALPHA_LISTBOX_FOCUSED 0.3
COLOR_LISTBOX_FOCUSED '0.09 0.42 0.69'
// mainmenu
-title Luminos (default)
+title Luminos
author sev
// Colors: 'Red Green Blue'
// font sizes (used for everything)
FONTSIZE_NORMAL 12
-HEIGHT_NORMAL 1.5
+HEIGHT_NORMAL 1.45
FONTSIZE_TITLE 16
-HEIGHT_TITLE 1.5
+HEIGHT_TITLE 1.45
HEIGHT_ZOOMEDTITLE -1
// general
COLOR_LISTBOX_WAITING '1 1 1'
ALPHA_LISTBOX_WAITING 0.5
COLOR_LISTBOX_FOCUSED '0 0.25 0.5'
-ALPHA_LISTBOX_FOCUSED 0.7
+ALPHA_LISTBOX_FOCUSED 0.6
FADEALPHA_LISTBOX_FOCUSED 0.3
// item: map list
COLOR_CHARMAP_CHAR '1 1 1'
// item: crosshairpicker
-ALPHA_CROSSHAIRPICKER_CROSSHAIR 0.85
+ALPHA_CROSSHAIRPICKER_CROSSHAIR 0.6
COLOR_CROSSHAIRPICKER_CROSSHAIR '1 1 1'
// item: radio button
void XonoticSkinList_getSkins(entity me)
{
float glob, buf, i, n, fh;
- string s;
+ string s, name;
buf = buf_create();
glob = search_begin("gfx/menu/*/skinvalues.txt", true, true);
for(i = 0; i < n; ++i)
{
s = search_getfilename(glob, i);
- bufstr_set(buf, i * SKINPARM_COUNT + SKINPARM_NAME, substring(s, 9, strlen(s) - 24)); // the * part
+ name = substring(s, 9, strlen(s) - 24); // the * part
+ bufstr_set(buf, i * SKINPARM_COUNT + SKINPARM_NAME, name);
bufstr_set(buf, i * SKINPARM_COUNT + SKINPARM_TITLE, _("<TITLE>"));
bufstr_set(buf, i * SKINPARM_COUNT + SKINPARM_AUTHOR, _("<AUTHOR>"));
if(draw_PictureSize(strcat("/gfx/menu/", substring(s, 9, strlen(s) - 24), "/skinpreview")) == '0 0 0')
{
// these two are handled by skinlist.qc
if(substring(s, 0, 6) == "title ")
- bufstr_set(buf, i * SKINPARM_COUNT + SKINPARM_TITLE, substring(s, 6, strlen(s) - 6));
+ {
+ if (name == cvar_defstring("menu_skin"))
+ bufstr_set(buf, i * SKINPARM_COUNT + SKINPARM_TITLE, strcat(substring(s, 6, strlen(s) - 6), " (", _("Default"), ")"));
+ else
+ bufstr_set(buf, i * SKINPARM_COUNT + SKINPARM_TITLE, substring(s, 6, strlen(s) - 6));
+ }
else if(substring(s, 0, 7) == "author ")
bufstr_set(buf, i * SKINPARM_COUNT + SKINPARM_AUTHOR, substring(s, 7, strlen(s) - 7));
}