~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]
/
blackbox.c
diff --git
a/blackbox.c
b/blackbox.c
index
3a85bd7
..
1546d91
100644
(file)
--- a/
blackbox.c
+++ b/
blackbox.c
@@
-879,7
+879,7
@@
struct game_drawstate {
int flash_laserno, isflash;
};
int flash_laserno, isflash;
};
-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 gx = -1, gy = -1, rangeno = -1, wouldflash = 0;
int x, int y, int button)
{
int gx = -1, gy = -1, rangeno = -1, wouldflash = 0;