~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]
/
galaxies.c
diff --git
a/galaxies.c
b/galaxies.c
index
b9eb603
..
db89700
100644
(file)
--- a/
galaxies.c
+++ b/
galaxies.c
@@
-2369,7
+2369,7
@@
static void coord_round_to_edge(float x, float y, int *xr, int *yr)
#endif
#ifdef EDITOR
#endif
#ifdef EDITOR
-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)
{
char buf[80];
int x, int y, int button)
{
char buf[80];
@@
-2404,7
+2404,7
@@
static char *interpret_move(game_state *state, game_ui *ui, game_drawstate *ds,
return NULL;
}
#else
return NULL;
}
#else
-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)
{
/* UI operations (play mode):
int x, int y, int button)
{
/* UI operations (play mode):