From 6fa4785d987eb1a6cfd36d95151dbb318ab8793e Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Mon, 4 Aug 2003 22:17:34 +0200 Subject: [PATCH] rnd-20030804-1-src --- CHANGES | 3 +++ src/conf_gfx.c | 8 ++++---- src/conftime.h | 2 +- src/files.c | 9 +++++++++ src/game.c | 7 ++++--- 5 files changed, 21 insertions(+), 8 deletions(-) diff --git a/CHANGES b/CHANGES index 389da539..1d74d1aa 100644 --- a/CHANGES +++ b/CHANGES @@ -4,6 +4,9 @@ Release Version 3.0.0 [02 AUG 2003] - custom elements now have lots of configurable properties - advanced custom element settings for powerful new elements - fixed Supaplex gravity tubes + - fixed very nasty bug in SDL_image (and X11) PCX loading routine + - fixed some very nasty bugs in bitmap zoom routine + - fixed very nasty bug in level/artwork tree routine - added new contributed levels from the following players: + Juergen Bonhagen (with complete artwork set) + Andreas Buschbeck (with complete artwork set) diff --git a/src/conf_gfx.c b/src/conf_gfx.c index 84a89352..7b692bfa 100644 --- a/src/conf_gfx.c +++ b/src/conf_gfx.c @@ -580,13 +580,13 @@ struct ConfigInfo image_config[] = { "empty_space.ypos", "0" }, { "empty_space.frames", "1" }, - { "sand", "RocksMore.pcx" }, + { "sand", "RocksElements.pcx" }, { "sand.xpos", "0" }, - { "sand.ypos", "2" }, + { "sand.ypos", "0" }, { "sand.frames", "1" }, - { "sand.CRUMBLED", "RocksMore.pcx" }, + { "sand.CRUMBLED", "RocksElements.pcx" }, { "sand.CRUMBLED.xpos", "1" }, - { "sand.CRUMBLED.ypos", "2" }, + { "sand.CRUMBLED.ypos", "0" }, { "sand.CRUMBLED.frames", "1" }, { "sand.digging.left", "RocksMore.pcx" }, { "sand.digging.left.xpos", "6" }, diff --git a/src/conftime.h b/src/conftime.h index e6451325..249e2ce3 100644 --- a/src/conftime.h +++ b/src/conftime.h @@ -1 +1 @@ -#define COMPILE_DATE_STRING "[2003-08-03 21:10]" +#define COMPILE_DATE_STRING "[2003-08-04 22:16]" diff --git a/src/files.c b/src/files.c index 79118139..3286dd07 100644 --- a/src/files.c +++ b/src/files.c @@ -685,6 +685,10 @@ static void LoadLevel_InitLevel(struct LevelInfo *level, char *filename) if (IS_LEVELCLASS_CONTRIBUTION(leveldir_current) || IS_LEVELCLASS_USER(leveldir_current)) { +#if 0 + printf("::: This level is private or contributed: '%s'\n", filename); +#endif + /* For user contributed and private levels, use the version of the game engine the levels were created for. Since 2.0.1, the game engine version is now directly stored @@ -709,6 +713,11 @@ static void LoadLevel_InitLevel(struct LevelInfo *level, char *filename) } else { +#if 0 + printf("::: ALWAYS USE LATEST ENGINE FOR THIS LEVEL: [%d] '%s'\n", + leveldir_current->sort_priority, filename); +#endif + /* Always use the latest version of the game engine for all but user contributed and private levels; this allows for actual corrections in the game engine to take effect for existing, diff --git a/src/game.c b/src/game.c index 718b1fff..a9256de7 100644 --- a/src/game.c +++ b/src/game.c @@ -3846,9 +3846,10 @@ void StartMoving(int x, int y) return; } -#if 0 - GfxAction[x][y] = ACTION_MOVING; -#endif + /* special case of "moving" animation of waiting elements (FIX THIS !!!); + for all other elements GfxAction will be set by InitMovingField() */ + if (element == EL_BD_BUTTERFLY || element == EL_BD_FIREFLY) + GfxAction[x][y] = ACTION_MOVING; } /* now make next step */ -- 2.34.1