~mdw
/
sgt
/
puzzles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New infrastructure feature. Games are now permitted to be
[sgt/puzzles]
/
filling.c
diff --git
a/filling.c
b/filling.c
index
48874b7
..
a42ffd3
100644
(file)
--- a/
filling.c
+++ b/
filling.c
@@
-275,6
+275,11
@@
static char *board_to_string(int *board, int w, int h) {
return repr;
}
return repr;
}
+static int game_can_format_as_text_now(game_params *params)
+{
+ return TRUE;
+}
+
static char *game_text_format(game_state *state)
{
const int w = state->shared->params.w;
static char *game_text_format(game_state *state)
{
const int w = state->shared->params.w;
@@
-1650,7
+1655,7
@@
const struct game thegame = {
dup_game,
free_game,
TRUE, solve_game,
dup_game,
free_game,
TRUE, solve_game,
- TRUE, game_text_format,
+ TRUE, game_
can_format_as_text_now, game_
text_format,
new_ui,
free_ui,
encode_ui,
new_ui,
free_ui,
encode_ui,