summaryrefslogtreecommitdiffstats
path: root/src/Simulator/Simulator.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-08-28ChunkMap: do not wantonly make empty chunksTiger Wang1-7/+0
- Removed calls that constructed an empty chunk, found it was invalid, and did nothing with said chunk Partially addresses #2324
2020-08-08Remove the redstone solid block handlerTiger Wang1-0/+84
- Remove cSolidBlockHandler * Functionality now integrated into simulator dispatcher * Fix door double open/close issues, arisen due to the top/bottom halves getting different power + Small migration to block states for redstone wire
2020-08-02Add WakeUp/AddBlock distinctionTiger Wang1-14/+16
* WakeUp is for singular changes (block breaking for example). The simulator should check blocks around the position and discover other affected blocks as it sees fit * AddBlock is for when you know a whole area is to be updated; chunk loading, or area wakeups for example + Prepares for correct handling of destroyed blocks after removal of SolidBlockHandler in the redstone simulator
2020-07-25Reduce unnecessary wakeupsTiger Wang1-12/+0
- cSimulator no longer wakes up positions already woken by cChunk::SetBlock
2017-08-17Changed int parameters to vector parameters in cCuboid and simulators (#3874)Lane Kolbly1-16/+15
2017-08-03Remove double includes part 2 (#3890)peterbell101-1/+0
2017-07-16Simulators: Added area-based wakeup.Mattes D1-0/+50
2014-10-25Cleaned up simulatorsTiger Wang1-3/+25
2014-09-27Wrapped clang-specific pragma into an #ifdef block.madmaxoft1-1/+6
MSVC was complaining about an unknown pragma.
2014-09-17Added first test to show the object can be createdTycho1-0/+5
2014-09-11Possibly decoupled IncrementalRedstoneSimulator from the rest of the serverTycho1-46/+4
THis wil hopefully allow for unit testing
2014-03-11Unified Vector classesandrew1-1/+0
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-03-22Simulator: fixed a problem when manipulating the bedrock layermadmaxoft@gmail.com1-2/+8
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1295 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-01New fire simulator, fully rewritten to the new scheme of things, directly accessing chunk data.madmaxoft@gmail.com1-4/+4
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
2013-02-28Converted simulators to take cWorld reference instead of a pointermadmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1228 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-28Simulators now have direct access to the cChunk object in the WakeUp() callmadmaxoft@gmail.com1-8/+9
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1227 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-13Preparation for multiple fluid simulators.madmaxoft@gmail.com1-0/+44
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