summaryrefslogtreecommitdiffstats
path: root/src/Simulator/FluidSimulator.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-07-21Style: Normalized spaces after if, for and while.madmaxoft1-3/+3
2014-07-17Fixed tabs used for alignment.madmaxoft1-1/+1
2014-07-17Normalized comments.madmaxoft1-8/+8
This was mostly done automatically and then visually inspected for obvious errors. All //-style comments should have a 2-space separation from the code, and 1 space after the comment sign.
2014-06-19Nullify deleted pointers.archshift1-1/+3
2014-04-18Did some static analysis, fixed some bugs and optimized a lot of codejfhumann1-1/+1
2014-03-28Some fixes to lilypadsTiger Wang1-0/+1
* Fixed placement on lava * Fixed placement on side of blocks * Fixed placement through blocks + Added washing-away of pads + Added ice as a block that fully occupies its voxel
2014-02-03Removed unused lookupsTycho1-2/+0
2013-12-09Fix Unused Variable Warning at FluidSimulator.cpp line 169 and 176worktycho1-4/+3
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-04-06Cobwebs are now washed away by water and can be broken by swords and shears, giving string.madmaxoft@gmail.com1-0/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1363 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-17Fluid simulator: fixed an out-of-bounds read when determining fluid directionmadmaxoft@gmail.com1-2/+5
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1280 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-28Converted simulators to take cWorld reference instead of a pointermadmaxoft@gmail.com1-8/+8
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1228 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-19Fluids will wash away crops and sugarcane.madmaxoft@gmail.com1-0/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@980 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-18Fixed a few bugs in fluid placement - fluid into other fluid, fluid into washable blocks.madmaxoft@gmail.com1-5/+9
git-svn-id: http://mc-server.googlecode.com/svn/trunk@977 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-16More blocks can be washed away by fluids.madmaxoft@gmail.com1-0/+4
git-svn-id: http://mc-server.googlecode.com/svn/trunk@971 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-14Initial Floody fluid simulator.madmaxoft@gmail.com1-7/+48
Can spread, cannot dry. git-svn-id: http://mc-server.googlecode.com/svn/trunk@963 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-13Better split of the fluid simulator functionality; removed the old LavaSimulator and WaterSimulator files.madmaxoft@gmail.com1-0/+138
git-svn-id: http://mc-server.googlecode.com/svn/trunk@958 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-13Preparation for multiple fluid simulators.madmaxoft@gmail.com1-0/+19
Moved all simulators into a subfolder. Replaced cWaterSimulator and cLavaSimulator with a generic cFluidSimulator. Moved original fluid simulation into cClassicFluidSimulator. Fluid simulator parameters (MaxHeight, Falloff) are read from the world.ini file (can have nether-like lava with lower falloff) git-svn-id: http://mc-server.googlecode.com/svn/trunk@956 0a769ca7-a7f5-676a-18bf-c427514a06d6