chiark / gitweb /
First cut at a game timer. Yet another backend function which
[sgt-puzzles.git] / pattern.c
index df67c832ec68a65cc55147483a210506ea783393..c5fd9dcc68e17d3f63ba2d6a963eba2ee9f35703 100644 (file)
--- a/pattern.c
+++ b/pattern.c
@@ -1105,6 +1105,11 @@ static int game_wants_statusbar(void)
     return FALSE;
 }
 
+static int game_timing_state(game_state *state)
+{
+    return TRUE;
+}
+
 #ifdef COMBINED
 #define thegame pattern
 #endif
@@ -1138,6 +1143,7 @@ const struct game thegame = {
     game_anim_length,
     game_flash_length,
     game_wants_statusbar,
+    FALSE, game_timing_state,
 };
 
 #ifdef STANDALONE_SOLVER