From ea6740e9002839f79053cf9d8cd78eb3fcae1b47 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sat, 5 Feb 2011 14:55:16 +0200 Subject: mapgen stuff --- src/constants.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/constants.h') diff --git a/src/constants.h b/src/constants.h index c8c210b13..3c37fca87 100644 --- a/src/constants.h +++ b/src/constants.h @@ -97,12 +97,16 @@ with this program; if not, write to the Free Software Foundation, Inc., /* This is good to be a bit different than 0 so that water level - is not between to MapBlocks + is not between two MapBlocks */ -#define WATER_LEVEL 3 +#define WATER_LEVEL 1 // Length of cracking animation in count of images #define CRACK_ANIMATION_LENGTH 5 +// Some stuff needed by old code moved to here from heightmap.h +#define GROUNDHEIGHT_NOTFOUND_SETVALUE (-10e6) +#define GROUNDHEIGHT_VALID_MINVALUE ( -9e6) + #endif -- cgit v1.2.3