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] --- nullgame.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nullgame.c') diff --git a/nullgame.c b/nullgame.c index abb6cc5..3ec6b75 100644 --- a/nullgame.c +++ b/nullgame.c @@ -84,7 +84,7 @@ static char *validate_params(game_params *params) } static char *new_game_desc(game_params *params, random_state *rs, - game_aux_info **aux) + game_aux_info **aux, int interactive) { return dupstr("FIXME"); } -- cgit v1.1