~mdw
/
sgt
/
puzzles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revamp of the Windows command-line parsing and puzzle-loading code.
[sgt/puzzles]
/
inertia.c
diff --git
a/inertia.c
b/inertia.c
index
74fc3c1
..
eb850ac
100644
(file)
--- a/
inertia.c
+++ b/
inertia.c
@@
-1534,7
+1534,7
@@
struct game_drawstate {
#define COORD(x) ( (x) * TILESIZE + BORDER )
#define FROMCOORD(x) ( ((x) - BORDER + TILESIZE) / TILESIZE - 1 )
#define COORD(x) ( (x) * TILESIZE + BORDER )
#define FROMCOORD(x) ( ((x) - BORDER + TILESIZE) / TILESIZE - 1 )
-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 /*, wh = w*h */;
int x, int y, int button)
{
int w = state->p.w, h = state->p.h /*, wh = w*h */;