{
-1, -1,
-1, -1,
- NULL, -1,
- },
+ NULL, -1
+ }
};
static struct LevelFileConfigInfo chunk_config_ELEM[] =
{
-1, -1,
-1, -1,
- NULL, -1,
- },
+ NULL, -1
+ }
};
static struct LevelFileConfigInfo chunk_config_NOTE[] =
{
-1, -1,
-1, -1,
- NULL, -1,
- },
+ NULL, -1
+ }
};
static struct LevelFileConfigInfo chunk_config_CUSX_base[] =
-1, -1,
NULL, -1,
NULL
- },
+ }
};
static struct LevelFileConfigInfo chunk_config_CUSX_change[] =
{
-1, -1,
-1, -1,
- NULL, -1,
- },
+ NULL, -1
+ }
};
static struct LevelFileConfigInfo chunk_config_GRPX[] =
{
-1, -1,
-1, -1,
- NULL, -1,
- },
+ NULL, -1
+ }
};
static struct LevelFileConfigInfo chunk_config_CONF[] = /* (OBSOLETE) */
{
-1, -1,
-1, -1,
- NULL, -1,
- },
+ NULL, -1
+ }
};
static struct
int element = i;
struct ElementInfo *ei = &element_info[element];
+ /* never initialize clipboard elements after the very first time */
+ /* (to be able to use clipboard elements between several levels) */
+ if (IS_CLIPBOARD_ELEMENT(element) && clipboard_elements_initialized)
+ continue;
+
if (IS_ENVELOPE(element))
{
int envelope_nr = element - EL_ENVELOPE_1;
}
#endif
- /* never initialize clipboard elements after the very first time */
- /* (to be able to use clipboard elements between several levels) */
- if (IS_CLIPBOARD_ELEMENT(element) && clipboard_elements_initialized)
- continue;
-
setElementChangePages(ei, 1);
setElementChangeInfoToDefaults(ei->change);
#define SETUP_TOKEN_EDITOR_EL_HEADLINES 10
#define SETUP_TOKEN_EDITOR_EL_USER_DEFINED 11
#define SETUP_TOKEN_EDITOR_EL_DYNAMIC 12
-#define SETUP_TOKEN_EDITOR_SHOW_ELEMENT_TOKEN 13
+#define SETUP_TOKEN_EDITOR_EL_BY_GAME 13
+#define SETUP_TOKEN_EDITOR_EL_BY_TYPE 14
+#define SETUP_TOKEN_EDITOR_SHOW_ELEMENT_TOKEN 15
-#define NUM_EDITOR_SETUP_TOKENS 14
+#define NUM_EDITOR_SETUP_TOKENS 16
/* editor cascade setup */
#define SETUP_TOKEN_EDITOR_CASCADE_BD 0
{ TYPE_SWITCH, &sei.el_headlines, "editor.el_headlines" },
{ TYPE_SWITCH, &sei.el_user_defined, "editor.el_user_defined" },
{ TYPE_SWITCH, &sei.el_dynamic, "editor.el_dynamic" },
+ { TYPE_SWITCH, &sei.el_by_game, "editor.el_by_game" },
+ { TYPE_SWITCH, &sei.el_by_type, "editor.el_by_type" },
{ TYPE_SWITCH, &sei.show_element_token,"editor.show_element_token" },
};