chiark / gitweb /
Another function pair required for serialisation; these ones save
[sgt-puzzles.git] / netslide.c
index b329d8d56a62b5b990e7315c6e752bbd21f41686..b2b50e84c2029ff19a6bd219a90984d5b3ae77aa 100644 (file)
@@ -1005,6 +1005,15 @@ static void free_ui(game_ui *ui)
     sfree(ui);
 }
 
+char *encode_ui(game_ui *ui)
+{
+    return NULL;
+}
+
+void decode_ui(game_ui *ui, char *encoding)
+{
+}
+
 /* ----------------------------------------------------------------------
  * Process a move.
  */
@@ -1822,6 +1831,8 @@ const struct game thegame = {
     FALSE, game_text_format,
     new_ui,
     free_ui,
+    encode_ui,
+    decode_ui,
     game_changed_state,
     interpret_move,
     execute_move,