diff options
author | kwolekr <mirrorisim@gmail.com> | 2013-02-25 20:52:24 -0800 |
---|---|---|
committer | kwolekr <mirrorisim@gmail.com> | 2013-02-25 20:52:24 -0800 |
commit | 979ca23f1eae1adeb8b0083dffe7203c54d87395 (patch) | |
tree | 689ce00fbfe55861f4df39e1801fc9bc990b141f /src/mapnode.h | |
parent | 9b5f182642416add39aab7782b1d155dafead160 (diff) | |
parent | b90e431fc785961e7913023999d1f570ad7ca151 (diff) | |
download | minetest-979ca23f1eae1adeb8b0083dffe7203c54d87395.tar.gz minetest-979ca23f1eae1adeb8b0083dffe7203c54d87395.tar.bz2 minetest-979ca23f1eae1adeb8b0083dffe7203c54d87395.zip |
Merge pull request #482 from proller/liquid
finite liquid
Diffstat (limited to 'src/mapnode.h')
-rw-r--r-- | src/mapnode.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mapnode.h b/src/mapnode.h index d70764e0e..1c8c5c49c 100644 --- a/src/mapnode.h +++ b/src/mapnode.h @@ -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. */ |