diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-01-24 13:42:13 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-01-24 13:42:13 +0200 |
commit | 7274b82ef4a19a87b794fd0642a34a18eb9a4b96 (patch) | |
tree | 07be6d0d5ce2a44ac0e118ea3d4b34628944e533 | |
parent | daacaf4e026be41c6a1f611457b085ff9f7abe1a (diff) | |
download | minetest-7274b82ef4a19a87b794fd0642a34a18eb9a4b96.tar.gz minetest-7274b82ef4a19a87b794fd0642a34a18eb9a4b96.tar.bz2 minetest-7274b82ef4a19a87b794fd0642a34a18eb9a4b96.zip |
commented out old water stuff
-rw-r--r-- | src/voxel.cpp | 3 | ||||
-rw-r--r-- | src/voxel.h | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/voxel.cpp b/src/voxel.cpp index 7ba4e21c6..c045c949c 100644 --- a/src/voxel.cpp +++ b/src/voxel.cpp @@ -264,6 +264,7 @@ void VoxelManipulator::clearFlag(u8 flags) <<volume<<" nodes"<<std::endl;*/ } +#if 0 int VoxelManipulator::getWaterPressure(v3s16 p, s16 &highest_y, int recur_count) { m_flags[m_area.index(p)] |= VOXELFLAG_CHECKED2; @@ -894,6 +895,6 @@ void VoxelManipulator::flowWater( <<", updateareawaterpressure_time: "<<updateareawaterpressure_time <<std::endl;*/ } - +#endif //END diff --git a/src/voxel.h b/src/voxel.h index ed7fba089..c377dfe7a 100644 --- a/src/voxel.h +++ b/src/voxel.h @@ -396,7 +396,8 @@ public: */ void clearFlag(u8 flag); - + +#if 0 // VOXELFLAG_CHECKED2s must usually be cleared before calling // -1: dead end, 0-255: pressure // highest_y: Highest found water y is stored here. @@ -450,6 +451,7 @@ public: bool debugprint=false, u32 timelimit=50 ); +#endif /* Virtual functions |