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 for showing (only) undo/redo game buttons
[rocksndiamonds.git]
/
src
/
files.c
diff --git
a/src/files.c
b/src/files.c
index 0d4eb7fe9ced85533ce8bbaa2b2129d74c6b6bcd..1200be3a81e2c70477d0d031efb0e7998924f8ba 100644
(file)
--- a/
src/files.c
+++ b/
src/files.c
@@
-9681,6
+9681,10
@@
static struct TokenInfo global_setup_tokens[] =
TYPE_SWITCH,
&setup.show_snapshot_buttons, "show_snapshot_buttons"
},
TYPE_SWITCH,
&setup.show_snapshot_buttons, "show_snapshot_buttons"
},
+ {
+ TYPE_SWITCH,
+ &setup.show_undo_redo_buttons, "show_undo_redo_buttons"
+ },
{
TYPE_SWITCH,
&setup.only_show_local_scores, "only_show_local_scores"
{
TYPE_SWITCH,
&setup.only_show_local_scores, "only_show_local_scores"
@@
-10361,6
+10365,7
@@
static void setSetupInfoToDefaults(struct SetupInfo *si)
si->sp_show_border_elements = FALSE;
si->small_game_graphics = FALSE;
si->show_snapshot_buttons = FALSE;
si->sp_show_border_elements = FALSE;
si->small_game_graphics = FALSE;
si->show_snapshot_buttons = FALSE;
+ si->show_undo_redo_buttons = FALSE;
si->only_show_local_scores = FALSE;
si->graphics_set = getStringCopy(GFX_CLASSIC_SUBDIR);
si->only_show_local_scores = FALSE;
si->graphics_set = getStringCopy(GFX_CLASSIC_SUBDIR);