1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

minecraft-style water done (but no texture animation or sound)

This commit is contained in:
Perttu Ahola 2011-01-17 21:15:31 +02:00
parent 0fa0e0752a
commit d44abdab17
13 changed files with 770 additions and 65 deletions

View file

@ -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