~mdw
/
sgt
/
puzzles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve speed of grid generation: I've found something simple I can
[sgt/puzzles]
/
pattern.c
diff --git
a/pattern.c
b/pattern.c
index
e9b6f98
..
3f2d65e
100644
(file)
--- a/
pattern.c
+++ b/
pattern.c
@@
-165,7
+165,7
@@
static game_params *custom_params(config_item *cfg)
return ret;
}
return ret;
}
-static char *validate_params(game_params *params)
+static char *validate_params(game_params *params
, int full
)
{
if (params->w <= 0 || params->h <= 0)
return "Width and height must both be greater than zero";
{
if (params->w <= 0 || params->h <= 0)
return "Width and height must both be greater than zero";
@@
-1159,7
+1159,7
@@
static int game_wants_statusbar(void)
return FALSE;
}
return FALSE;
}
-static int game_timing_state(game_state *state)
+static int game_timing_state(game_state *state
, game_ui *ui
)
{
return TRUE;
}
{
return TRUE;
}