added preprocessor definitions for BD engine start and end element
[rocksndiamonds.git] / src / game_bd / bd_colors.h
index a517d018341b2088e4205f22f90b34aba4196c39..15f1e367b7a7bd4977d0e2c431c39914c810370d 100644 (file)
@@ -38,6 +38,8 @@ typedef enum _color_type
   GD_COLOR_TYPE_UNKNOWN         // should be the last one
 } GdColorType;
 
+#define GD_DEFAULT_COLOR_TYPE                  GD_COLOR_TYPE_RGB
+
 // traditional c64 color indexes.
 #define GD_COLOR_INDEX_BLACK                   0
 #define GD_COLOR_INDEX_WHITE                   1
@@ -79,6 +81,38 @@ typedef enum _color_type
 
 #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
+
+#define GD_DEFAULT_PALETTE_C64                 GD_PALETTE_C64_VICE_NEW
+
+// palette numbers must match pointer array positions in source file
+#define GD_PALETTE_C64DTV_SPIFF                        0
+#define GD_PALETTE_C64DTV_MURRAY               1
+
+#define GD_DEFAULT_PALETTE_C64DTV              GD_PALETTE_C64DTV_SPIFF
+
+// 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
+
+#define GD_DEFAULT_PALETTE_ATARI               GD_PALETTE_ATARI_BUILTIN
+
 
 // color
 GdColor gd_c64_color(int index);