~mdw
/
sgt
/
puzzles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move definition of PI into puzzles.h. If nothing else, the definition in cube.c
[sgt/puzzles]
/
rect.c
diff --git
a/rect.c
b/rect.c
index
c1eaa2c
..
9e4204d
100644
(file)
--- a/
rect.c
+++ b/
rect.c
@@
-2178,9
+2178,8
@@
static void ui_draw_rect(game_state *state, game_ui *ui,
}
}
}
}
-static game_state *make_move(game_state *from, game_ui *ui,
- int x, int y, int button)
-{
+static game_state *make_move(game_state *from, game_ui *ui, game_drawstate *ds,
+ int x, int y, int button) {
int xc, yc;
int startdrag = FALSE, enddrag = FALSE, active = FALSE;
game_state *ret;
int xc, yc;
int startdrag = FALSE, enddrag = FALSE, active = FALSE;
game_state *ret;