mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-29 12:40:58 +00:00
Rob requested new NiGHTS link colours, his wish is my command. (This is only vaguely appropriate for this branch, but the boat sailed on a specific Reduced_Palette branch a while ago.)
This commit is contained in:
parent
8b333f5933
commit
a6f4178023
1 changed files with 12 additions and 4 deletions
|
@ -890,11 +890,19 @@ static void ST_drawFirstPersonHUD(void)
|
||||||
V_NOSCALESTART|V_OFFSET|V_TRANSLUCENT, p);
|
V_NOSCALESTART|V_OFFSET|V_TRANSLUCENT, p);
|
||||||
}
|
}
|
||||||
|
|
||||||
// [21:42] <+Rob> Beige - Lavender - Steel Blue - Peach - Orange - Purple - Silver - Yellow - Pink - Red - Blue - Green - Cyan - Gold
|
// 2.0-1: [21:42] <+Rob> Beige - Lavender - Steel Blue - Peach - Orange - Purple - Silver - Yellow - Pink - Red - Blue - Green - Cyan - Gold
|
||||||
static skincolors_t linkColor[14] =
|
/*#define NUMLINKCOLORS 14
|
||||||
|
static skincolors_t linkColor[NUMLINKCOLORS] =
|
||||||
{SKINCOLOR_BEIGE, SKINCOLOR_LAVENDER, SKINCOLOR_AZURE, SKINCOLOR_PEACH, SKINCOLOR_ORANGE,
|
{SKINCOLOR_BEIGE, SKINCOLOR_LAVENDER, SKINCOLOR_AZURE, SKINCOLOR_PEACH, SKINCOLOR_ORANGE,
|
||||||
SKINCOLOR_MAGENTA, SKINCOLOR_SILVER, SKINCOLOR_SUPERGOLD4, SKINCOLOR_PINK, SKINCOLOR_RED,
|
SKINCOLOR_MAGENTA, SKINCOLOR_SILVER, SKINCOLOR_SUPERGOLD4, SKINCOLOR_PINK, SKINCOLOR_RED,
|
||||||
SKINCOLOR_BLUE, SKINCOLOR_GREEN, SKINCOLOR_CYAN, SKINCOLOR_GOLD};
|
SKINCOLOR_BLUE, SKINCOLOR_GREEN, SKINCOLOR_CYAN, SKINCOLOR_GOLD};*/
|
||||||
|
|
||||||
|
// 2.2+: (unix time 1470866042) <Rob> Emerald, Aqua, Cyan, Blue, Pastel, Purple, Magenta, Rosy, Red, Orange, Gold, Yellow, Peridot
|
||||||
|
#define NUMLINKCOLORS 13
|
||||||
|
static skincolors_t linkColor[NUMLINKCOLORS] =
|
||||||
|
{SKINCOLOR_EMERALD, SKINCOLOR_AQUA, SKINCOLOR_CYAN, SKINCOLOR_BLUE, SKINCOLOR_PASTEL,
|
||||||
|
SKINCOLOR_PURPLE, SKINCOLOR_MAGENTA, SKINCOLOR_ROSY, SKINCOLOR_RED, SKINCOLOR_ORANGE,
|
||||||
|
SKINCOLOR_GOLD, SKINCOLOR_YELLOW, SKINCOLOR_PERIDOT};
|
||||||
|
|
||||||
static void ST_drawNightsRecords(void)
|
static void ST_drawNightsRecords(void)
|
||||||
{
|
{
|
||||||
|
@ -994,7 +1002,7 @@ static void ST_drawNiGHTSHUD(void)
|
||||||
#endif
|
#endif
|
||||||
stplyr->linkcount > minlink)
|
stplyr->linkcount > minlink)
|
||||||
{
|
{
|
||||||
skincolors_t colornum = linkColor[((stplyr->linkcount-1) / 5) % (sizeof(linkColor) / sizeof(skincolors_t))];
|
skincolors_t colornum = linkColor[((stplyr->linkcount-1) / 5) % NUMLINKCOLORS];
|
||||||
if (stplyr->powers[pw_nights_linkfreeze])
|
if (stplyr->powers[pw_nights_linkfreeze])
|
||||||
colornum = SKINCOLOR_WHITE;
|
colornum = SKINCOLOR_WHITE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue