orientations as well as the order!
git-svn-id: svn://svn.tartarus.org/sgt/puzzles@5733
cda61777-01e9-0310-a592-
d414129be87e
char **error)
{
game_state *ret = dup_game(state);
char **error)
{
game_state *ret = dup_game(state);
/*
* Simply replace the grid with a solved one. For this game,
/*
* Simply replace the grid with a solved one. For this game,
* which to practise manoeuvres.
*/
qsort(ret->grid, ret->w*ret->h, sizeof(int), compare_int);
* which to practise manoeuvres.
*/
qsort(ret->grid, ret->w*ret->h, sizeof(int), compare_int);
+ for (i = 0; i < ret->w*ret->h; i++)
+ ret->grid[i] &= ~3;
ret->used_solve = ret->just_used_solve = TRUE;
ret->completed = ret->movecount;
ret->used_solve = ret->just_used_solve = TRUE;
ret->completed = ret->movecount;