changed saving artwork info cache only if it has changed
[rocksndiamonds.git] / src / files.c
index 0218bbf4c62641f7692b0a6971300b1bd9604bab..39c0321ac51ad81576d56661450db81803a48ed9 100644 (file)
@@ -1075,6 +1075,18 @@ static struct LevelFileConfigInfo chunk_config_CUSX_base[] =
     &xx_ei.move_delay_random,          0,
     &yy_ei.move_delay_random
   },
+  {
+    -1,                                        -1,
+    TYPE_INTEGER,                      CONF_VALUE_16_BIT(16),
+    &xx_ei.step_delay_fixed,           0,
+    &yy_ei.step_delay_fixed
+  },
+  {
+    -1,                                        -1,
+    TYPE_INTEGER,                      CONF_VALUE_16_BIT(17),
+    &xx_ei.step_delay_random,          0,
+    &yy_ei.step_delay_random
+  },
 
   {
     -1,                                        -1,
@@ -8543,6 +8555,10 @@ static struct TokenInfo global_setup_tokens[] =
     TYPE_SWITCH,
     &setup.auto_play_next_level,               "auto_play_next_level"
   },
+  {
+    TYPE_SWITCH,
+    &setup.count_score_after_game,             "count_score_after_game"
+  },
   {
     TYPE_SWITCH,
     &setup.show_scores_after_game,             "show_scores_after_game"
@@ -9264,6 +9280,7 @@ static void setSetupInfoToDefaults(struct SetupInfo *si)
   si->skip_levels = TRUE;
   si->increment_levels = TRUE;
   si->auto_play_next_level = TRUE;
+  si->count_score_after_game = TRUE;
   si->show_scores_after_game = TRUE;
   si->time_limit = TRUE;
   si->fullscreen = FALSE;