From: Holger Schemel Date: Sat, 12 Jun 2004 21:36:15 +0000 (+0200) Subject: rnd-20040612-4-src X-Git-Tag: 3.1.1^2~89 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=be3e04a40de491eba75821258bd84a4b9a08ac87;p=rocksndiamonds.git rnd-20040612-4-src * fixed blocking delay of last field for EM and SP style block delay * fixed bug where the player had to wait for the usual move delay after unsuccessfully trying to move, when he directly could move after that * the last two changes should make original Supaplex level 93 solvable * improved use of random number generator to make it less predictable --- diff --git a/ChangeLog b/ChangeLog index 4cd0933a..7604d7f5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,11 @@ 2004-06-12 * fixed bug when pressing "stop, pause, stop, play" on tape recorder * internal change of how the player blocks the last field when moving + * fixed blocking delay of last field for EM and SP style block delay + * fixed bug where the player had to wait for the usual move delay after + unsuccessfully trying to move, when he directly could move after that + * the last two changes should make original Supaplex level 93 solvable + * improved use of random number generator to make it less predictable 2004-06-11 * fixed bug with wrong door state after trying to quickload empty tape diff --git a/src/conftime.h b/src/conftime.h index 95f18fba..71dbf466 100644 --- a/src/conftime.h +++ b/src/conftime.h @@ -1 +1 @@ -#define COMPILE_DATE_STRING "[2004-06-12 22:29]" +#define COMPILE_DATE_STRING "[2004-06-12 23:32]" diff --git a/src/events.c b/src/events.c index fdb4b6ce..f3207c51 100644 --- a/src/events.c +++ b/src/events.c @@ -873,6 +873,11 @@ void HandleKey(Key key, int key_status) printf("ScrollStepSize == %d (1/1)\n", ScrollStepSize); break; + case KSYM_v: + printf("::: currently using game engine version %d\n", + game.engine_version); + break; + #if 0 case KSYM_z: diff --git a/src/game.c b/src/game.c index 19678381..244aef5e 100644 --- a/src/game.c +++ b/src/game.c @@ -9158,6 +9158,12 @@ void GameActions() local_player->show_envelope = 0; } #endif + +#if 1 + /* use random number generator in every frame to make it less predictable */ + if (game.engine_version >= VERSION_IDENT(3,1,1,0)) + RND(1); +#endif } static boolean AllPlayersInSight(struct PlayerInfo *player, int x, int y)