X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/05e50a969fafb13b74b48c08bc1f1deb2f3425fc..ca58cbd15a357784d0877d64a62b4c227610db50:/map.c?ds=sidebyside diff --git a/map.c b/map.c index ef17efb..b06e664 100644 --- a/map.c +++ b/map.c @@ -2240,7 +2240,15 @@ static char *game_text_format(game_state *state) } struct game_ui { - int drag_colour; /* -1 means no drag active */ + /* + * drag_colour: + * + * - -2 means no drag currently active. + * - >=0 means we're dragging a solid colour. + * - -1 means we're dragging a blank space, and drag_pencil + * might or might not add some pencil-mark stipples to that. + */ + int drag_colour; int drag_pencil; int dragx, dragy; int show_numbers;