~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]
/
bridges.c
diff --git
a/bridges.c
b/bridges.c
index
d56f287
..
1829681
100644
(file)
--- a/
bridges.c
+++ b/
bridges.c
@@
-147,6
+147,11
@@
static void fixup_islands_for_realloc(game_state *state)
}
}
}
}
+static int game_can_format_as_text_now(game_params *params)
+{
+ return TRUE;
+}
+
static char *game_text_format(game_state *state)
{
int x, y, len, nl;
static char *game_text_format(game_state *state)
{
int x, y, len, nl;
@@
-2644,7
+2649,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,