mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 08:01:30 -07:00
Infrastructure change which I've been thinking about for a while:
the back end function solve_game() now takes the _current_ game_state in addition to the initial one. [originally from svn r5969]
This commit is contained in:
@ -248,7 +248,8 @@ struct game {
|
||||
game_state *(*dup_game)(game_state *state);
|
||||
void (*free_game)(game_state *state);
|
||||
int can_solve;
|
||||
game_state *(*solve)(game_state *state, game_aux_info *aux, char **error);
|
||||
game_state *(*solve)(game_state *orig, game_state *curr,
|
||||
game_aux_info *aux, char **error);
|
||||
int can_format_as_text;
|
||||
char *(*text_format)(game_state *state);
|
||||
game_ui *(*new_ui)(game_state *state);
|
||||
|
Reference in New Issue
Block a user