chiark
/
gitweb
/
~ian
/
sgt-puzzles.git
/ 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.git]
/
tents.c
diff --git
a/tents.c
b/tents.c
index de203004e5c583ad92c3f68e99e1a23b6b37c4ef..bc07b4bfebfcc3e3f9408d70c177502171cb375f 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,