chiark / gitweb /
Another function pair required for serialisation; these ones save
[sgt-puzzles.git] / cube.c
diff --git a/cube.c b/cube.c
index 4f26df7f1a24f72f151b82f868b19e8532c0582a..57246e4dcbd0a97fbce33b797078c9bd6ac6f5ab 100644 (file)
--- a/cube.c
+++ b/cube.c
@@ -1004,6 +1004,15 @@ static void free_ui(game_ui *ui)
 {
 }
 
+char *encode_ui(game_ui *ui)
+{
+    return NULL;
+}
+
+void decode_ui(game_ui *ui, char *encoding)
+{
+}
+
 static void game_changed_state(game_ui *ui, game_state *oldstate,
                                game_state *newstate)
 {
@@ -1714,6 +1723,8 @@ const struct game thegame = {
     FALSE, game_text_format,
     new_ui,
     free_ui,
+    encode_ui,
+    decode_ui,
     game_changed_state,
     interpret_move,
     execute_move,