From ac7013523c34d097708ef0f26d9c644db67bcef8 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Sun, 14 Jan 2007 22:41:58 +0100 Subject: [PATCH] rnd-20070114-2-src * changed maximum value for endless loop detection to a higher value (some levels really used very deep recursion without being endless) * added growing steel walls for newly supported Diamond Caves II levels * added snappable land mine for newly supported Diamond Caves II levels --- ChangeLog | 8 ++++++++ src/conftime.h | 2 +- src/game.c | 4 ++-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9c970c36..60165cbd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2007-01-14 + * changed maximum value for endless loop detection to a higher value + (some levels really used very deep recursion without being endless) + +2007-01-13 + * added growing steel walls for newly supported Diamond Caves II levels + * added snappable land mine for newly supported Diamond Caves II levels + 2007-01-08 * added steel text elements for newly supported Diamond Caves II levels diff --git a/src/conftime.h b/src/conftime.h index d1a2c5bc..8cc63e99 100644 --- a/src/conftime.h +++ b/src/conftime.h @@ -1 +1 @@ -#define COMPILE_DATE_STRING "[2007-01-14 02:11]" +#define COMPILE_DATE_STRING "[2007-01-14 22:38]" diff --git a/src/game.c b/src/game.c index 84395636..feaa557e 100644 --- a/src/game.c +++ b/src/game.c @@ -381,8 +381,8 @@ static int getInvisibleFromInvisibleActiveElement(int); static struct GadgetInfo *game_gadget[NUM_GAME_BUTTONS]; /* for detection of endless loops, caused by custom element programming */ -/* (using "MAX_PLAYFIELD_WIDTH" here is just a rough approximation...) */ -#define MAX_ELEMENT_CHANGE_RECURSION_DEPTH (MAX_PLAYFIELD_WIDTH) +/* (using maximal playfield width x 10 is just a rough approximation) */ +#define MAX_ELEMENT_CHANGE_RECURSION_DEPTH (MAX_PLAYFIELD_WIDTH * 10) #define RECURSION_LOOP_DETECTION_START(e, rc) \ { \ -- 2.34.1