g = color[index].g * color_value / 255;
b = color[index].b * color_value / 255;
+ if (index > 5)
+ gfx.has_reduced_color_template = FALSE;
+
if (color_value > 0 && color_value < 255)
gfx.has_extended_color_template = TRUE;
}
void InitColorTemplateImagesIfNeeded(void)
{
+ gfx.has_reduced_color_template = TRUE;
gfx.has_extended_color_template = FALSE;
+
game.InitColorTemplateImagesNeeded = FALSE;
if (program.headless)
int cursor_mode_final;
int mouse_x, mouse_y;
+ boolean has_reduced_color_template;
boolean has_extended_color_template;
};