diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-01-17 21:15:31 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-01-17 21:15:31 +0200 |
commit | d44abdab17f6ad7a05ddc08d418af35e9cabddef (patch) | |
tree | e20567656ca78a53bec39228f8feba54aa54475d /src/constants.h | |
parent | 0fa0e0752a28eeb43195f2288c018d5c0b24520b (diff) | |
download | minetest-d44abdab17f6ad7a05ddc08d418af35e9cabddef.tar.gz minetest-d44abdab17f6ad7a05ddc08d418af35e9cabddef.tar.bz2 minetest-d44abdab17f6ad7a05ddc08d418af35e9cabddef.zip |
minecraft-style water done (but no texture animation or sound)
Diffstat (limited to 'src/constants.h')
-rw-r--r-- | src/constants.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/constants.h b/src/constants.h index fc8007602..3cb285065 100644 --- a/src/constants.h +++ b/src/constants.h @@ -97,7 +97,11 @@ with this program; if not, write to the Free Software Foundation, Inc., */ #define MAX_OBJECTDATA_SIZE 450 -#define WATER_LEVEL (0) +/* + This is good to be a bit different than 0 so that water level + is not between to MapBlocks +*/ +#define WATER_LEVEL 3 // Length of cracking animation in count of images #define CRACK_ANIMATION_LENGTH 5 |