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:
@ -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;
|
||||
|
Reference in New Issue
Block a user