mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 08:01:30 -07:00
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]
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user