]> git.lizzy.rs Git - minetest.git/blobdiff - src/constants.h
fixed an "unused variable" warning
[minetest.git] / src / constants.h
index c8c210b1307cd03c7076f569386aafc98ba17b1d..cdd61470c322156013d03c76809e0d6a7ebf6484 100644 (file)
@@ -33,6 +33,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #define DEBUGFILE "debug.txt"
 
 #define WATER_ALPHA 160
+//#define WATER_ALPHA 190
 
 // Define for simulating the quirks of sending through internet.
 // Causes the socket class to deliberately drop random packets.
@@ -97,12 +98,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