summaryrefslogtreecommitdiff
path: root/src/constants.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-02-05 14:55:16 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-02-05 14:55:16 +0200
commitea6740e9002839f79053cf9d8cd78eb3fcae1b47 (patch)
treedc8a6c8c0df0ef2d50a0874a74549ccd2022e874 /src/constants.h
parent7f2aa30bf29ed1c8b363bd948916d4c027b0192f (diff)
downloadminetest-ea6740e9002839f79053cf9d8cd78eb3fcae1b47.tar.gz
minetest-ea6740e9002839f79053cf9d8cd78eb3fcae1b47.tar.bz2
minetest-ea6740e9002839f79053cf9d8cd78eb3fcae1b47.zip
mapgen stuff
Diffstat (limited to 'src/constants.h')
-rw-r--r--src/constants.h8
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