From 0564211167adbea5a5ad1c83ad6f244956ed5b72 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Mon, 7 Apr 2008 17:13:29 +0000 Subject: Revise the printing colour framework so that we can explicitly request either of hatching or halftoning, and also choose which to supply as a fallback when printing in colour. [originally from svn r7976] --- map.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'map.c') diff --git a/map.c b/map.c index da3c4ba..4e9bdd6 100644 --- a/map.c +++ b/map.c @@ -2977,8 +2977,9 @@ static void game_print(drawing *dr, game_state *state, int tilesize) ink = print_mono_colour(dr, 0); for (i = 0; i < FOUR; i++) - c[i] = print_rgb_colour(dr, map_hatching[i], map_colours[i][0], - map_colours[i][1], map_colours[i][2]); + c[i] = print_rgb_hatched_colour(dr, map_colours[i][0], + map_colours[i][1], map_colours[i][2], + map_hatching[i]); coordsize = 0; coords = NULL; -- cgit v1.1