mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 08:01:30 -07:00
Forgot to add the new 'const' in the unfinished subdirectory. Oops.
[originally from svn r9659]
This commit is contained in:
@ -1213,8 +1213,8 @@ static int find_in_sequence(digit *seq, int len, digit n)
|
||||
return -1;
|
||||
}
|
||||
|
||||
static char *interpret_move(game_state *state, game_ui *ui, game_drawstate *ds,
|
||||
int x, int y, int button)
|
||||
static char *interpret_move(game_state *state, game_ui *ui,
|
||||
const game_drawstate *ds, int x, int y, int button)
|
||||
{
|
||||
int w = state->par.w;
|
||||
int tx, ty;
|
||||
|
@ -718,8 +718,8 @@ struct game_drawstate {
|
||||
int FIXME;
|
||||
};
|
||||
|
||||
static char *interpret_move(game_state *state, game_ui *ui, game_drawstate *ds,
|
||||
int x, int y, int button)
|
||||
static char *interpret_move(game_state *state, game_ui *ui,
|
||||
const game_drawstate *ds, int x, int y, int button)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
@ -1242,8 +1242,8 @@ struct game_drawstate {
|
||||
int started;
|
||||
};
|
||||
|
||||
static char *interpret_move(game_state *state, game_ui *ui, game_drawstate *ds,
|
||||
int x, int y, int button)
|
||||
static char *interpret_move(game_state *state, game_ui *ui,
|
||||
const game_drawstate *ds, int x, int y, int button)
|
||||
{
|
||||
int w = state->w, h = state->h, wh = w*h;
|
||||
int tx, ty, i, j;
|
||||
|
@ -1041,8 +1041,8 @@ int move_type(game_state *state, int dx, int dy)
|
||||
}
|
||||
}
|
||||
|
||||
static char *interpret_move(game_state *state, game_ui *ui, game_drawstate *ds,
|
||||
int x, int y, int button)
|
||||
static char *interpret_move(game_state *state, game_ui *ui,
|
||||
const game_drawstate *ds, int x, int y, int button)
|
||||
{
|
||||
int dx=0, dy=0;
|
||||
char *move;
|
||||
|
Reference in New Issue
Block a user