diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-02-05 14:55:16 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-02-05 14:55:16 +0200 |
commit | ea6740e9002839f79053cf9d8cd78eb3fcae1b47 (patch) | |
tree | dc8a6c8c0df0ef2d50a0874a74549ccd2022e874 /src/constants.h | |
parent | 7f2aa30bf29ed1c8b363bd948916d4c027b0192f (diff) | |
download | minetest-ea6740e9002839f79053cf9d8cd78eb3fcae1b47.tar.gz minetest-ea6740e9002839f79053cf9d8cd78eb3fcae1b47.tar.bz2 minetest-ea6740e9002839f79053cf9d8cd78eb3fcae1b47.zip |
mapgen stuff
Diffstat (limited to 'src/constants.h')
-rw-r--r-- | src/constants.h | 8 |
1 files changed, 6 insertions, 2 deletions
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 |