/* player was faster than monsters in (pre-)1.0 levels */
level.double_speed = TRUE;
}
+
+ /* Default behaviour for EM style gems was "slippery" only in 2.0.1 */
+ if (level.game_version == VERSION_IDENT(2,0,1))
+ level.em_slippery_gems = TRUE;
}
else
{
{
static int ep_em_slippery_wall[] =
{
+ EL_BETON, /* dummy entry; may be overwritten with EL_MAUERND */
EL_BETON,
EL_MAUERWERK,
EL_MAUER_LEBT,
sizeof(ep_em_slippery_wall) / sizeof(int);
#endif
+#if 1
+ printf("level %d: level version == %06d\n", level_nr, level.game_version);
+ printf(" tape version == %06d\n", tape.game_version);
+ printf(" => game.version == %06d\n", game.version);
+
/*
printf("level %d: game.version == %06d\n", level_nr, level.game_version);
printf(" file_version == %06d\n", level.file_version);
*/
+#endif
+
+ if (game.version > VERSION_IDENT(2,0,1))
+ ep_em_slippery_wall[0] = EL_MAUERND;
+ else
+ ep_em_slippery_wall[0] = EL_BETON; /* dummy entry */
+
+ Elementeigenschaften2[EL_MAUERND] &= ~EP_BIT_EM_SLIPPERY_WALL;
for (i=0; i<ep_em_slippery_wall_num; i++)
{
Elementeigenschaften2[ep_em_slippery_wall[i]] &=
~EP_BIT_EM_SLIPPERY_WALL;
}
+
+ if (IS_EM_SLIPPERY_WALL(EL_MAUERND))
+ printf("IS_EM_SLIPPERY_WALL(EL_MAUERND)\n");
+ else
+ printf("! IS_EM_SLIPPERY_WALL(EL_MAUERND)\n");
}
if (BorderElement == EL_LEERRAUM)
else
setTreeInfoToDefaults(leveldir_new, TREE_TYPE_LEVEL_DIR);
+ leveldir_new->filename = getStringCopy(directory_name);
+
checkSetupFileListIdentifier(setup_file_list, getCookie("LEVELINFO"));
/* set all structure fields according to the token/value pairs */
if (leveldir_new->name_sorting == NULL)
leveldir_new->name_sorting = getStringCopy(leveldir_new->name);
- leveldir_new->filename = getStringCopy(directory_name);
-
if (node_parent == NULL) /* top level group */
{
leveldir_new->basepath = level_directory;
#define SETUP 8
#define PROGRAM_VERSION_MAJOR 2
-#define PROGRAM_VERSION_MINOR 0
-#define PROGRAM_VERSION_PATCH 2
+#define PROGRAM_VERSION_MINOR 1
+#define PROGRAM_VERSION_PATCH 0
#define PROGRAM_VERSION_STRING "2.1.0"
#define PROGRAM_TITLE_STRING "Rocks'n'Diamonds"