chiark
/
gitweb
/
~ian
/
sgt-puzzles.git
/ 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.git]
/
pattern.c
diff --git
a/pattern.c
b/pattern.c
index b88edc5dbac0f07be7b0cee82142019e03db5778..ab5be76c1a51964c7ad90a4b7702ae0d6217e6d9 100644
(file)
--- a/
pattern.c
+++ b/
pattern.c
@@
-833,7
+833,7
@@
struct game_drawstate {
int cur_x, cur_y;
};
-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)
{
button &= ~MOD_MASK;