mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 16:05:44 -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;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static char *interpret_move(game_state *state, game_ui *ui, game_drawstate *ds,
|
static char *interpret_move(game_state *state, game_ui *ui,
|
||||||
int x, int y, int button)
|
const game_drawstate *ds, int x, int y, int button)
|
||||||
{
|
{
|
||||||
int w = state->par.w;
|
int w = state->par.w;
|
||||||
int tx, ty;
|
int tx, ty;
|
||||||
|
@ -718,8 +718,8 @@ struct game_drawstate {
|
|||||||
int FIXME;
|
int FIXME;
|
||||||
};
|
};
|
||||||
|
|
||||||
static char *interpret_move(game_state *state, game_ui *ui, game_drawstate *ds,
|
static char *interpret_move(game_state *state, game_ui *ui,
|
||||||
int x, int y, int button)
|
const game_drawstate *ds, int x, int y, int button)
|
||||||
{
|
{
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
@ -1242,8 +1242,8 @@ struct game_drawstate {
|
|||||||
int started;
|
int started;
|
||||||
};
|
};
|
||||||
|
|
||||||
static char *interpret_move(game_state *state, game_ui *ui, game_drawstate *ds,
|
static char *interpret_move(game_state *state, game_ui *ui,
|
||||||
int x, int y, int button)
|
const game_drawstate *ds, int x, int y, int button)
|
||||||
{
|
{
|
||||||
int w = state->w, h = state->h, wh = w*h;
|
int w = state->w, h = state->h, wh = w*h;
|
||||||
int tx, ty, i, j;
|
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,
|
static char *interpret_move(game_state *state, game_ui *ui,
|
||||||
int x, int y, int button)
|
const game_drawstate *ds, int x, int y, int button)
|
||||||
{
|
{
|
||||||
int dx=0, dy=0;
|
int dx=0, dy=0;
|
||||||
char *move;
|
char *move;
|
||||||
|
Reference in New Issue
Block a user