sfree(state);
}
-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;
}
return state; /* UI activity has occurred */
} else if (button == 'a' || button == 's' || button == 'd' ||
- button == 'A' || button == 'S' || button == 'D') {
+ button == 'A' || button == 'S' || button == 'D' ||
+ button == CURSOR_SELECT) {
tx = ui->cur_x;
ty = ui->cur_y;
- if (button == 'a' || button == 'A')
+ if (button == 'a' || button == 'A' || button == CURSOR_SELECT)
button = LEFT_BUTTON;
else if (button == 's' || button == 'S')
button = MIDDLE_BUTTON;