#define OPENPANELCOLORS coloroffset = CMS_CONTROL_COLORS; #define FOR_PANEL_COLORS(x) OPENPANELCOLORS x; CLOSEPANELCOLORS #define CLOSEPANELCOLORS coloroffset = 0; extern int use_color; #define SDI_COLOR_DEPTH (use_color ? 8 : 1) extern int num_colors; extern int color0, color1, color2, color3, color4, color5, color6, color7, color8; #define NUM_SDI_COLORS (num_colors) #define BLUE (coloroffset+color0) #define GREEN (coloroffset+color1) #define ORANGERED (coloroffset+color2) #define GREY (coloroffset+color3) #define DIMGREY (coloroffset+color4) #define DARKGREY (coloroffset+color5) #define ORANGE (coloroffset+color6) #define BROWN (coloroffset+color7) #define BLACK (coloroffset+color8) #define BACKGROUND SKY #define FOREGROUND BLACK #define SKY BLUE #define GRASS GREEN #define MISSILE_ACTIVE ORANGERED #define CITY_BASE DIMGREY #define CITY_MELTED BROWN #define LASERKILL_COLOR ORANGE #define MISSILE_TRACK BACKGROUND #define BOOM_COLOR MISSILE_ACTIVE #define LASERBLAST_COLOR LASERKILL_COLOR #define CITYKILL_COLOR MISSILE_ACTIVE #define BLASTKILL_COLOR MISSILE_ACTIVE #define LITTLEROCK_COLOR BROWN #define BIGROCK_COLOR BROWN #define RED MISSILE_ACTIVE