summaryrefslogtreecommitdiffstats
path: root/source/Simulator (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Floody fluid simulator has been converted to use direct chunk accessmadmaxoft@gmail.com2013-03-025-135/+218
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1236 0a769ca7-a7f5-676a-18bf-c427514a06d6
* New fire simulator, fully rewritten to the new scheme of things, directly accessing chunk data.madmaxoft@gmail.com2013-03-014-91/+313
| | | | | | http://forum.mc-server.org/showthread.php?tid=617&pid=6626#pid6626 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1233 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Converted simulators to take cWorld reference instead of a pointermadmaxoft@gmail.com2013-02-2818-129/+160
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1228 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Simulators now have direct access to the cChunk object in the WakeUp() callmadmaxoft@gmail.com2013-02-2814-49/+69
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1227 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Removed all E_ITEM_ symbols equivalent to E_BLOCK_, and all obsolete item and block symbols.madmaxoft@gmail.com2013-02-161-1/+1
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1218 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added the HOOK_BLOCK_TO_PICKUPS hook that fires when a block is dug up and should be converted to pickups.madmaxoft@gmail.com2013-01-272-3/+3
| | | | | | Note that cItems is used in the function signature but not yet exported in the API, TODO! git-svn-id: http://mc-server.googlecode.com/svn/trunk@1176 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Floody fluid simulator can create sourceblocks (configurable in World.ini)madmaxoft@gmail.com2013-01-042-4/+74
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1119 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Dispensers can dispense items and liquids nowluksor111@gmail.com2012-12-262-0/+38
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1105 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Fixed a crash in redstone simulator when destroying blocks in Y < 2madmaxoft@gmail.com2012-12-201-0/+4
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1084 0a769ca7-a7f5-676a-18bf-c427514a06d6
* RedstoneSimulator refactoring to use cWorld::GetBlockTypeMeta() as much as possiblemadmaxoft@gmail.com2012-12-162-299/+389
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1076 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Levers (patch contributed by Keyboard)madmaxoft@gmail.com2012-12-162-12/+95
| | | | | | http://forum.mc-server.org/showthread.php?tid=649 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1075 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Fixed boolean comparison.madmaxoft@gmail.com2012-11-161-4/+4
| | | | | | Don't compare booleans to false / true, use them directly. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1048 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Fixed more valgrind issuesmadmaxoft@gmail.com2012-10-272-19/+14
| | | | | | ( http://forum.mc-server.org/showthread.php?tid=598&pid=5139#pid5139 ) git-svn-id: http://mc-server.googlecode.com/svn/trunk@1013 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Removed excessive debug loggin in Floody fluid simulator.madmaxoft@gmail.com2012-10-201-1/+1
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@987 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Fluids will wash away crops and sugarcane.madmaxoft@gmail.com2012-10-191-0/+2
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@980 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Fixed a few bugs in fluid placement - fluid into other fluid, fluid into washable blocks.madmaxoft@gmail.com2012-10-181-5/+9
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@977 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Reverted previous commit, chose a different solution, much cleaner.madmaxoft@gmail.com2012-10-181-2/+1
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@975 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Made constants in cChunkDef enums, compilation fixes for gcc.madmaxoft@gmail.com2012-10-181-1/+2
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@974 0a769ca7-a7f5-676a-18bf-c427514a06d6
* More blocks can be washed away by fluids.madmaxoft@gmail.com2012-10-161-0/+4
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@971 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Fixed floody fluid sim making downward fluid behave like source blocks.madmaxoft@gmail.com2012-10-161-8/+16
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@970 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Decreased logging in floody fluid simulator.madmaxoft@gmail.com2012-10-161-1/+1
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@969 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Fixed DelayedFluidSimulator.madmaxoft@gmail.com2012-10-152-8/+15
| | | | | | Floody fluid simulator is now woken up properly across chunk borders. git-svn-id: http://mc-server.googlecode.com/svn/trunk@966 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Floody fluid sim: reads params from world.ini; water and lava react together into cobblestone / stone / obsidianmadmaxoft@gmail.com2012-10-141-9/+67
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@965 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Floody fluid simulator now dries up correctly, too.madmaxoft@gmail.com2012-10-141-2/+8
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@964 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Initial Floody fluid simulator.madmaxoft@gmail.com2012-10-1411-41/+417
| | | | | | Can spread, cannot dry. git-svn-id: http://mc-server.googlecode.com/svn/trunk@963 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Better split of the fluid simulator functionality; removed the old LavaSimulator and WaterSimulator files.madmaxoft@gmail.com2012-10-138-211/+145
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@958 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Forgotten filemadmaxoft@gmail.com2012-10-131-0/+721
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@957 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Preparation for multiple fluid simulators.madmaxoft@gmail.com2012-10-1317-0/+1696
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