From 6e42ddd31b5ca71f48c6260b01fc49b2451d0a56 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Mon, 3 May 2004 08:51:31 +0000 Subject: Implement selection of game seeds, by reusing the config box mechanism I've just invented (the midend handles the standard game selection configuration). Each game is now required to validate its own seed data before attempting to base a game on it and potentially confusing itself. [originally from svn r4186] --- nullgame.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'nullgame.c') diff --git a/nullgame.c b/nullgame.c index 42682e2..bc0c386 100644 --- a/nullgame.c +++ b/nullgame.c @@ -81,6 +81,11 @@ char *new_game_seed(game_params *params) return dupstr("FIXME"); } +char *validate_seed(game_params *params, char *seed) +{ + return NULL; +} + game_state *new_game(game_params *params, char *seed) { game_state *state = snew(game_state); -- cgit v1.1