~mdw
/
sgt
/
puzzles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Copy-to-clipboard for Rectangles.
[sgt/puzzles]
/
pattern.c
diff --git
a/pattern.c
b/pattern.c
index
cbedbf6
..
6dda1f4
100644
(file)
--- a/
pattern.c
+++ b/
pattern.c
@@
-648,6
+648,11
@@
static void free_game(game_state *state)
sfree(state);
}
sfree(state);
}
+static char *game_text_format(game_state *state)
+{
+ return NULL;
+}
+
struct game_ui {
int dragging;
int drag_start_x;
struct game_ui {
int dragging;
int drag_start_x;
@@
-1015,21
+1020,21
@@
static int game_wants_statusbar(void)
#endif
const struct game thegame = {
#endif
const struct game thegame = {
- "Pattern", "games.pattern",
TRUE,
+ "Pattern", "games.pattern",
default_params,
game_fetch_preset,
decode_params,
encode_params,
free_params,
dup_params,
default_params,
game_fetch_preset,
decode_params,
encode_params,
free_params,
dup_params,
- game_configure,
- custom_params,
+ TRUE, game_configure, custom_params,
validate_params,
new_game_seed,
validate_seed,
new_game,
dup_game,
free_game,
validate_params,
new_game_seed,
validate_seed,
new_game,
dup_game,
free_game,
+ FALSE, game_text_format,
new_ui,
free_ui,
make_move,
new_ui,
free_ui,
make_move,