diff options
| author | Simon Tatham <anakin@pobox.com> | 2005-06-17 18:54:58 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2005-06-17 18:54:58 +0000 |
| commit | f01f82105e5feb2586a2ca257947d76e9b982d04 (patch) | |
| tree | f1a99cc46e8a333c750616969d740dd540f0f44b /twiddle.c | |
| parent | 32111ef901daba8b9168736f9a52bec8f6e95c98 (diff) | |
| download | puzzles-f01f82105e5feb2586a2ca257947d76e9b982d04.zip puzzles-f01f82105e5feb2586a2ca257947d76e9b982d04.tar.gz puzzles-f01f82105e5feb2586a2ca257947d76e9b982d04.tar.bz2 puzzles-f01f82105e5feb2586a2ca257947d76e9b982d04.tar.xz | |
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]
Diffstat (limited to 'twiddle.c')
| -rw-r--r-- | twiddle.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -546,8 +546,8 @@ static int compare_int(const void *av, const void *bv) return 0; } -static game_state *solve_game(game_state *state, game_aux_info *aux, - char **error) +static game_state *solve_game(game_state *state, game_state *currstate, + game_aux_info *aux, char **error) { game_state *ret = dup_game(state); int i; |