Introduce a new game backend function (there seem to have been a lot
[sgt/puzzles] / sixteen.c
index feab05d..9a347fa 100644 (file)
--- a/sixteen.c
+++ b/sixteen.c
@@ -578,6 +578,11 @@ static void free_ui(game_ui *ui)
 {
 }
 
+static void game_changed_state(game_ui *ui, game_state *oldstate,
+                               game_state *newstate)
+{
+}
+
 static game_state *make_move(game_state *from, game_ui *ui, game_drawstate *ds,
                              int x, int y, int button) {
     int cx, cy;
@@ -1006,6 +1011,7 @@ const struct game thegame = {
     TRUE, game_text_format,
     new_ui,
     free_ui,
+    game_changed_state,
     make_move,
     game_size,
     game_colours,