mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-19 23:21:31 -07:00
Dominosa: use new move_cursor() features
This commit is contained in:
@ -2830,11 +2830,8 @@ static char *interpret_move(const game_state *state, game_ui *ui,
|
||||
sprintf(buf, "%c%d,%d", (int)(button == RIGHT_BUTTON ? 'E' : 'D'), d1, d2);
|
||||
return dupstr(buf);
|
||||
} else if (IS_CURSOR_MOVE(button)) {
|
||||
ui->cur_visible = true;
|
||||
|
||||
move_cursor(button, &ui->cur_x, &ui->cur_y, 2*w-1, 2*h-1, false, NULL);
|
||||
|
||||
return MOVE_UI_UPDATE;
|
||||
return move_cursor(button, &ui->cur_x, &ui->cur_y, 2*w-1, 2*h-1, false,
|
||||
&ui->cur_visible);
|
||||
} else if (IS_CURSOR_SELECT(button)) {
|
||||
int d1, d2;
|
||||
|
||||
|
Reference in New Issue
Block a user