~mdw
/
sgt
/
puzzles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Keyboard interface for Filling, from James H.
[sgt/puzzles]
/
galaxies.c
diff --git
a/galaxies.c
b/galaxies.c
index
45d1835
..
5858806
100644
(file)
--- a/
galaxies.c
+++ b/
galaxies.c
@@
-335,6
+335,11
@@
static struct space *sp2dot(game_state *state, int x, int y)
#define IS_VERTICAL_EDGE(x) ((x % 2) == 0)
#define IS_VERTICAL_EDGE(x) ((x % 2) == 0)
+static int game_can_format_as_text_now(game_params *params)
+{
+ return TRUE;
+}
+
static char *game_text_format(game_state *state)
{
int maxlen = (state->sx+1)*state->sy, x, y;
static char *game_text_format(game_state *state)
{
int maxlen = (state->sx+1)*state->sy, x, y;
@@
-3425,7
+3430,7
@@
const struct game thegame = {
#else
TRUE, solve_game,
#endif
#else
TRUE, solve_game,
#endif
- 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,