Introduced a new function in every game which formats a game_state
[sgt/puzzles] / cube.c
diff --git a/cube.c b/cube.c
index 33144b6..d2ef882 100644 (file)
--- a/cube.c
+++ b/cube.c
@@ -979,6 +979,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;
@@ -1545,6 +1550,7 @@ const struct game thegame = {
     new_game,
     dup_game,
     free_game,
+    NULL, game_text_format,
     new_ui,
     free_ui,
     make_move,