chiark / gitweb /
Introduced a new function in every game which formats a game_state
[sgt-puzzles.git] / twiddle.c
index 0bfdabe24dc6a37012b544d094bd9d25b4c7512e..4bfd30cd78549d2955646cd76b016611252a45d1 100644 (file)
--- a/twiddle.c
+++ b/twiddle.c
@@ -452,6 +452,11 @@ static void free_game(game_state *state)
     sfree(state);
 }
 
+static char *game_text_format(game_state *state)
+{
+    return NULL;
+}
+
 static game_ui *new_ui(game_state *state)
 {
     return NULL;
@@ -942,6 +947,7 @@ const struct game thegame = {
     new_game,
     dup_game,
     free_game,
+    FALSE, game_text_format,
     new_ui,
     free_ui,
     make_move,