~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]
/
tents.c
diff --git
a/tents.c
b/tents.c
index
cfdcdc3
..
ef5debc
100644
(file)
--- a/
tents.c
+++ b/
tents.c
@@
-1520,7
+1520,7
@@
static int drag_xform(game_ui *ui, int x, int y, int v)
return v;
}
-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 w = state->p.w, h = state->p.h;