~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]
/
samegame.c
diff --git
a/samegame.c
b/samegame.c
index
387216d
..
08ac758
100644
(file)
--- a/
samegame.c
+++ b/
samegame.c
@@
-1362,7
+1362,7
@@
static void game_compute_size(game_params *params, int tilesize,
*y = TILE_SIZE * params->h + 2 * BORDER - TILE_GAP;
}
*y = TILE_SIZE * params->h + 2 * BORDER - TILE_GAP;
}
-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);
{
float *ret = snewn(3 * NCOLOURS, float);