~mdw
/
sgt
/
puzzles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New rule: interpret_move() is passed a pointer to the game_drawstate
[sgt/puzzles]
/
samegame.c
diff --git
a/samegame.c
b/samegame.c
index
49dd64e
..
65ebef7
100644
(file)
--- a/
samegame.c
+++ b/
samegame.c
@@
-1267,7
+1267,7
@@
struct game_drawstate {
int *tiles; /* contains colour and SELECTED. */
};
int *tiles; /* contains colour and SELECTED. */
};
-static char *interpret_move(game_state *state, game_ui *ui, game_drawstate *ds,
+static char *interpret_move(game_state *state, game_ui *ui,
const
game_drawstate *ds,
int x, int y, int button)
{
int tx, ty;
int x, int y, int button)
{
int tx, ty;