From: Holger Schemel Date: Sat, 6 Feb 2021 10:42:04 +0000 (+0100) Subject: changed color of unselected tree info nodes from yellow to green X-Git-Tag: 4.2.3.0~19 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=3c812299839bfafcdf7765b35f7e4683f8553b69;p=rocksndiamonds.git changed color of unselected tree info nodes from yellow to green --- diff --git a/src/libgame/setup.c b/src/libgame/setup.c index 31c92c8e..4cee439f 100644 --- a/src/libgame/setup.c +++ b/src/libgame/setup.c @@ -43,14 +43,13 @@ static char *levelclass_desc[NUM_LEVELCLASS_DESC] = "DX Boulderdash" }; - #define LEVELCOLOR(n) (IS_LEVELCLASS_TUTORIAL(n) ? FC_BLUE : \ IS_LEVELCLASS_CLASSICS(n) ? FC_RED : \ - IS_LEVELCLASS_BD(n) ? FC_YELLOW : \ - IS_LEVELCLASS_EM(n) ? FC_YELLOW : \ - IS_LEVELCLASS_SP(n) ? FC_YELLOW : \ - IS_LEVELCLASS_DX(n) ? FC_YELLOW : \ - IS_LEVELCLASS_SB(n) ? FC_YELLOW : \ + IS_LEVELCLASS_BD(n) ? FC_GREEN : \ + IS_LEVELCLASS_EM(n) ? FC_GREEN : \ + IS_LEVELCLASS_SP(n) ? FC_GREEN : \ + IS_LEVELCLASS_DX(n) ? FC_GREEN : \ + IS_LEVELCLASS_SB(n) ? FC_GREEN : \ IS_LEVELCLASS_CONTRIB(n) ? FC_GREEN : \ IS_LEVELCLASS_PRIVATE(n) ? FC_RED : \ FC_BLUE) @@ -69,7 +68,7 @@ static char *levelclass_desc[NUM_LEVELCLASS_DESC] = #define ARTWORKCOLOR(n) (IS_ARTWORKCLASS_CLASSICS(n) ? FC_RED : \ IS_ARTWORKCLASS_CONTRIB(n) ? FC_GREEN : \ IS_ARTWORKCLASS_PRIVATE(n) ? FC_RED : \ - IS_ARTWORKCLASS_LEVEL(n) ? FC_YELLOW : \ + IS_ARTWORKCLASS_LEVEL(n) ? FC_GREEN : \ FC_BLUE) #define ARTWORKSORTING(n) (IS_ARTWORKCLASS_CLASSICS(n) ? 0 : \