projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added setup option to disable counting score after the game
[rocksndiamonds.git]
/
src
/
files.c
diff --git
a/src/files.c
b/src/files.c
index 0218bbf4c62641f7692b0a6971300b1bd9604bab..409ede257fb8e6dc9322ec7b6943bb928b087b56 100644
(file)
--- a/
src/files.c
+++ b/
src/files.c
@@
-8543,6
+8543,10
@@
static struct TokenInfo global_setup_tokens[] =
TYPE_SWITCH,
&setup.auto_play_next_level, "auto_play_next_level"
},
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"
{
TYPE_SWITCH,
&setup.show_scores_after_game, "show_scores_after_game"
@@
-9264,6
+9268,7
@@
static void setSetupInfoToDefaults(struct SetupInfo *si)
si->skip_levels = TRUE;
si->increment_levels = TRUE;
si->auto_play_next_level = TRUE;
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;
si->show_scores_after_game = TRUE;
si->time_limit = TRUE;
si->fullscreen = FALSE;