From e4328b9081dabc78f6115fe2dd916e8e5fe8cca0 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Mon, 30 May 2005 18:41:40 +0000 Subject: Added an `interactive' flag to new_game_desc(), which toggles Mines between on the one hand generating indeterminate game descriptions awaiting the initial click, and on the other hand generating concrete ones which have had their initial click. This makes `mines --generate' do something useful. [originally from svn r5869] --- pattern.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pattern.c') diff --git a/pattern.c b/pattern.c index c5fd9dc..419e4aa 100644 --- a/pattern.c +++ b/pattern.c @@ -475,7 +475,7 @@ struct game_aux_info { }; static char *new_game_desc(game_params *params, random_state *rs, - game_aux_info **aux) + game_aux_info **aux, int interactive) { unsigned char *grid; int i, j, max, rowlen, *rowdata; -- cgit v1.1