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]
/
towers.c
diff --git
a/towers.c
b/towers.c
index be0a7306d7a36abe9a507cadefb8e73f501f39fe..bd395549e3b371b2e8ba91fee16f71e8a84e64c0 100644
(file)
--- a/
towers.c
+++ b/
towers.c
@@
-1255,7
+1255,7
@@
static int check_errors(game_state *state, int *errors)
return errs;
}
-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->par.w;