From a29a1b0a59cdcc0e2e925ef2cffddafc99590317 Mon Sep 17 00:00:00 2001 From: polluks Date: Mon, 31 Jan 2022 02:18:01 +0100 Subject: [PATCH] Added more purple (rain) --- include/apple2.h | 1 + include/atari.h | 2 ++ include/c128.h | 2 ++ include/lynx.h | 3 +++ include/nes.h | 20 ++++++++++++++++++++ include/pce.h | 1 + 6 files changed, 29 insertions(+) diff --git a/include/apple2.h b/include/apple2.h index 57d7086ce..41b45f58f 100644 --- a/include/apple2.h +++ b/include/apple2.h @@ -59,6 +59,7 @@ #define TGI_COLOR_BLACK 0x00 #define TGI_COLOR_GREEN 0x01 #define TGI_COLOR_VIOLET 0x02 +#define TGI_COLOR_PURPLE TGI_COLOR_VIOLET #define TGI_COLOR_WHITE 0x03 #define TGI_COLOR_BLACK2 0x04 #define TGI_COLOR_ORANGE 0x05 diff --git a/include/atari.h b/include/atari.h index 86c7b9706..ab3ce81e6 100644 --- a/include/atari.h +++ b/include/atari.h @@ -393,6 +393,7 @@ extern void atrx15p2_tgi[]; #define COLOR_RED GTIA_COLOR_RED #define COLOR_CYAN GTIA_COLOR_CYAN #define COLOR_VIOLET GTIA_COLOR_VIOLET +#define COLOR_PURPLE COLOR_VIOLET #define COLOR_GREEN GTIA_COLOR_GREEN #define COLOR_BLUE GTIA_COLOR_BLUE #define COLOR_YELLOW GTIA_COLOR_YELLOW @@ -411,6 +412,7 @@ extern void atrx15p2_tgi[]; #define TGI_COLOR_RED COLOR_RED #define TGI_COLOR_CYAN COLOR_CYAN #define TGI_COLOR_VIOLET COLOR_VIOLET +#define TGI_COLOR_PURPLE TGI_COLOR_VIOLET #define TGI_COLOR_GREEN COLOR_GREEN #define TGI_COLOR_BLUE COLOR_BLUE #define TGI_COLOR_YELLOW COLOR_YELLOW diff --git a/include/c128.h b/include/c128.h index fe1dd4317..623e5f99d 100644 --- a/include/c128.h +++ b/include/c128.h @@ -61,6 +61,7 @@ #define COLOR_RED 0x02 #define COLOR_CYAN 0x03 #define COLOR_VIOLET 0x04 +#define COLOR_PURPLE COLOR_VIOLET #define COLOR_GREEN 0x05 #define COLOR_BLUE 0x06 #define COLOR_YELLOW 0x07 @@ -79,6 +80,7 @@ #define TGI_COLOR_RED COLOR_RED #define TGI_COLOR_CYAN COLOR_CYAN #define TGI_COLOR_VIOLET COLOR_VIOLET +#define TGI_COLOR_PURPLE TGI_COLOR_VIOLET #define TGI_COLOR_GREEN COLOR_GREEN #define TGI_COLOR_BLUE COLOR_BLUE #define TGI_COLOR_YELLOW COLOR_YELLOW diff --git a/include/lynx.h b/include/lynx.h index 4b0390a13..cf8f32b59 100644 --- a/include/lynx.h +++ b/include/lynx.h @@ -65,6 +65,7 @@ #define COLOR_GREEN 0x0A #define COLOR_DARKBROWN 0x0B #define COLOR_VIOLET 0x0C +#define COLOR_PURPLE COLOR_VIOLET #define COLOR_BLUE 0x0D #define COLOR_LIGHTBLUE 0x0E #define COLOR_WHITE 0x0F @@ -77,12 +78,14 @@ #define TGI_COLOR_GREY COLOR_GREY #define TGI_COLOR_DARKGREY COLOR_DARKGREY #define TGI_COLOR_BROWN COLOR_BROWN +#define TGI_COLOR_ORANGE COLOR_BROWN #define TGI_COLOR_PEACH COLOR_PEACH #define TGI_COLOR_YELLOW COLOR_YELLOW #define TGI_COLOR_LIGHTGREEN COLOR_LIGHTGREEN #define TGI_COLOR_GREEN COLOR_GREEN #define TGI_COLOR_DARKBROWN COLOR_DARKBROWN #define TGI_COLOR_VIOLET COLOR_VIOLET +#define TGI_COLOR_PURPLE TGI_COLOR_VIOLET #define TGI_COLOR_BLUE COLOR_BLUE #define TGI_COLOR_LIGHTBLUE COLOR_LIGHTBLUE #define TGI_COLOR_WHITE COLOR_WHITE diff --git a/include/nes.h b/include/nes.h index 217a90779..0724418b2 100644 --- a/include/nes.h +++ b/include/nes.h @@ -70,6 +70,7 @@ #define COLOR_RED 0x02 #define COLOR_CYAN 0x03 #define COLOR_VIOLET 0x04 +#define COLOR_PURPLE COLOR_VIOLET #define COLOR_GREEN 0x05 #define COLOR_BLUE 0x06 #define COLOR_YELLOW 0x07 @@ -82,6 +83,25 @@ #define COLOR_LIGHTBLUE 0x0E #define COLOR_GRAY3 0x0F +/* TGI color defines (default palette) */ +#define TGI_COLOR_BLACK COLOR_BLACK +#define TGI_COLOR_RED COLOR_RED +#define TGI_COLOR_PINK COLOR_LIGHTRED +#define TGI_COLOR_LIGHTGREY COLOR_GRAY1 +#define TGI_COLOR_GREY COLOR_GRAY2 +#define TGI_COLOR_DARKGREY COLOR_GRAY3 +#define TGI_COLOR_BROWN COLOR_BROWN +#define TGI_COLOR_PEACH COLOR_CYAN +#define TGI_COLOR_YELLOW COLOR_YELLOW +#define TGI_COLOR_LIGHTGREEN COLOR_LIGHTGREEN +#define TGI_COLOR_GREEN COLOR_GREEN +#define TGI_COLOR_DARKBROWN COLOR_ORANGE +#define TGI_COLOR_VIOLET COLOR_VIOLET +#define TGI_COLOR_PURPLE TGI_COLOR_VIOLET +#define TGI_COLOR_BLUE COLOR_BLUE +#define TGI_COLOR_LIGHTBLUE COLOR_LIGHTBLUE +#define TGI_COLOR_WHITE COLOR_WHITE + /* Masks for joy_read */ #define JOY_UP_MASK 0x10 #define JOY_DOWN_MASK 0x20 diff --git a/include/pce.h b/include/pce.h index d7cf0a695..8ab5b363f 100644 --- a/include/pce.h +++ b/include/pce.h @@ -57,6 +57,7 @@ #define COLOR_RED 0x02 #define COLOR_CYAN 0x03 #define COLOR_VIOLET 0x04 +#define COLOR_PURPLE COLOR_VIOLET #define COLOR_GREEN 0x05 #define COLOR_BLUE 0x06 #define COLOR_YELLOW 0x07