~mdw
/
sgt
/
puzzles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Introduced a new function in every game which formats a game_state
[sgt/puzzles]
/
pattern.c
diff --git
a/pattern.c
b/pattern.c
index
61f15ff
..
6dda1f4
100644
(file)
--- a/
pattern.c
+++ b/
pattern.c
@@
-648,6
+648,11
@@
static void free_game(game_state *state)
sfree(state);
}
+static char *game_text_format(game_state *state)
+{
+ return NULL;
+}
+
struct game_ui {
int dragging;
int drag_start_x;
@@
-1029,6
+1034,7
@@
const struct game thegame = {
new_game,
dup_game,
free_game,
+ FALSE, game_text_format,
new_ui,
free_ui,
make_move,