~mdw
/
sgt
/
puzzles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: remove the game_state parameter to game_colours(). No game
[sgt/puzzles]
/
lightup.c
diff --git
a/lightup.c
b/lightup.c
index
0d22131
..
3a23af4
100644
(file)
--- a/
lightup.c
+++ b/
lightup.c
@@
-1956,7
+1956,7
@@
static void game_set_size(drawing *dr, game_drawstate *ds,
ds->crad = 3*(tilesize-1)/8;
}
ds->crad = 3*(tilesize-1)/8;
}
-static float *game_colours(frontend *fe,
game_state *state,
int *ncolours)
+static float *game_colours(frontend *fe, int *ncolours)
{
float *ret = snewn(3 * NCOLOURS, float);
int i;
{
float *ret = snewn(3 * NCOLOURS, float);
int i;
@@
-2254,7
+2254,7
@@
const struct game thegame = {
TRUE, FALSE, game_print_size, game_print,
game_wants_statusbar,
FALSE, game_timing_state,
TRUE, FALSE, game_print_size, game_print,
game_wants_statusbar,
FALSE, game_timing_state,
- 0, /*
mouse_prioritie
s */
+ 0, /*
flag
s */
};
#ifdef STANDALONE_SOLVER
};
#ifdef STANDALONE_SOLVER