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

Merge pull request #482 from proller/liquid

finite liquid
This commit is contained in:
kwolekr 2013-02-25 20:52:24 -08:00
commit 979ca23f1e
10 changed files with 384 additions and 8 deletions

View file

@ -67,10 +67,15 @@ enum LightBank
#define LIQUID_LEVEL_MASK 0x07
#define LIQUID_FLOW_DOWN_MASK 0x08
//#define LIQUID_LEVEL_MASK 0x3f // better finite water
//#define LIQUID_FLOW_DOWN_MASK 0x40 // not used when finite water
/* maximum amount of liquid in a block */
#define LIQUID_LEVEL_MAX LIQUID_LEVEL_MASK
#define LIQUID_LEVEL_SOURCE (LIQUID_LEVEL_MAX+1)
#define LIQUID_INFINITY_MASK 0x80 //0b10000000
/*
This is the stuff what the whole world consists of.
*/