0xe66c00, 0x935f00, 0xff7c64, 0x6c6c6c, 0xa1a1a1, 0xafff4d, 0x9778ff, 0xd8d8d8,
};
-/* make sure that pointeres and names match! */
+// pointer array positions must match palette numbers in header file
static unsigned int *c64_palette_pointers[] =
{
c64_colors_vice_new,
190,133,230,198,145,234,202,153,234,214,157,238,218,161
};
+// pointer array positions must match palette numbers in header file
static const byte *atari_palettes_pointers[] =
{
BuiltIn,
39,185,212,57,208,232,80,225,249,89,238,255,107,255,255,126
};
+// pointer array positions must match palette numbers in header file
static const byte *c64dtv_palettes_pointers[] =
{
Spiff,
#define GD_C64_COLOR(index) ((GD_COLOR_TYPE_C64 << 24) + (index))
+// palette numbers must match pointer array positions in source file
+#define GD_PALETTE_C64_VICE_NEW 0
+#define GD_PALETTE_C64_VICE_OLD 1
+#define GD_PALETTE_C64_VIDE_DEFAULT 2
+#define GD_PALETTE_C64_C64HQ 3
+#define GD_PALETTE_C64_C64S 4
+#define GD_PALETTE_C64_CCS64 5
+#define GD_PALETTE_C64_FRODO 6
+#define GD_PALETTE_C64_GODOT 7
+#define GD_PALETTE_C64_PC64 8
+#define GD_PALETTE_C64_RTADASH 9
+
+// palette numbers must match pointer array positions in source file
+#define GD_PALETTE_C64DTV_SPIFF 0
+#define GD_PALETTE_C64DTV_MURRAY 1
+
+// palette numbers must match pointer array positions in source file
+#define GD_PALETTE_ATARI_BUILTIN 0
+#define GD_PALETTE_ATARI_BUILTIN_CONTRAST 1
+#define GD_PALETTE_ATARI_DEFAULT 2
+#define GD_PALETTE_ATARI_JAKUB 3
+#define GD_PALETTE_ATARI_JAKUB_CONTRAST 4
+#define GD_PALETTE_ATARI_REAL 5
+#define GD_PALETTE_ATARI_REAL_CONTRAST 6
+#define GD_PALETTE_ATARI_XFORMER 7
+
// color
GdColor gd_c64_color(int index);