projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added checking availability of level specific colors in level editor
[rocksndiamonds.git]
/
src
/
files.c
diff --git
a/src/files.c
b/src/files.c
index 9779f83fb687ab119b1943c09c220d4c28fb0b27..e15996394b425f80a04db6a99e767ecbe97c4c8f 100644
(file)
--- a/
src/files.c
+++ b/
src/files.c
@@
-274,7
+274,7
@@
static struct LevelFileConfigInfo chunk_config_INFO[] =
{
-1, -1,
TYPE_INTEGER, CONF_VALUE_16_BIT(6),
{
-1, -1,
TYPE_INTEGER, CONF_VALUE_16_BIT(6),
- &li.bd_cycle_delay_ms,
20
0
+ &li.bd_cycle_delay_ms,
16
0
},
{
-1, -1,
},
{
-1, -1,
@@
-11064,6
+11064,10
@@
static struct TokenInfo editor_setup_tokens[] =
TYPE_SWITCH,
&setup.editor.show_element_token, "editor.show_element_token"
},
TYPE_SWITCH,
&setup.editor.show_element_token, "editor.show_element_token"
},
+ {
+ TYPE_SWITCH,
+ &setup.editor.fast_game_start, "editor.fast_game_start"
+ },
{
TYPE_SWITCH,
&setup.editor.show_read_only_warning, "editor.show_read_only_warning"
{
TYPE_SWITCH,
&setup.editor.show_read_only_warning, "editor.show_read_only_warning"
@@
-11826,6
+11830,7
@@
static void setSetupInfoToDefaults(struct SetupInfo *si)
si->editor.el_headlines = TRUE;
si->editor.show_element_token = FALSE;
si->editor.el_headlines = TRUE;
si->editor.show_element_token = FALSE;
+ si->editor.fast_game_start = FALSE;
si->editor.show_read_only_warning = TRUE;
si->editor.show_read_only_warning = TRUE;