~mdw
/
sgt
/
puzzles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Patch from James H to make new-Loopy port more easily.
[sgt/puzzles]
/
tents.c
diff --git
a/tents.c
b/tents.c
index
de20300
..
bc07b4b
100644
(file)
--- a/
tents.c
+++ b/
tents.c
@@
-1369,6
+1369,11
@@
static char *solve_game(game_state *state, game_state *currstate,
}
}
}
}
+static int game_can_format_as_text_now(game_params *params)
+{
+ return TRUE;
+}
+
static char *game_text_format(game_state *state)
{
int w = state->p.w, h = state->p.h;
static char *game_text_format(game_state *state)
{
int w = state->p.w, h = state->p.h;
@@
-2068,7
+2073,7
@@
const struct game thegame = {
dup_game,
free_game,
TRUE, solve_game,
dup_game,
free_game,
TRUE, solve_game,
- FALSE, game_text_format,
+ FALSE, game_
can_format_as_text_now, game_
text_format,
new_ui,
free_ui,
encode_ui,
new_ui,
free_ui,
encode_ui,