summaryrefslogtreecommitdiffstats
path: root/src/Simulator/Simulator.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove the redstone solid block handlerTiger Wang2020-08-081-1/+4
| | | | | | | - 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
* Corrected wakeup sequencesTiger Wang2020-08-041-1/+1
| | | | | | | * Pistons/Ice no longer need to FastSetBlock first (#4600), and the former don't drop items when broken in creative - Begin migration away from stationary fluids * Tick the chunk after applying a client's changed * Broadcast pending blocks at the end of a tick
* Do not GetBlock individually in simulatorsTiger Wang2020-08-041-4/+15
| | | | | * Have the simulator manager get the block and pass it on + Add new overload for WakeUp, called when the manager wakes face positions
* Always use relative coordinates in AddBlockTiger Wang2020-08-021-4/+2
| | | | | + Pass block, use relatives * Fixes everything immediately converting abs back to rel and getting block, when these data were already available
* Add WakeUp/AddBlock distinctionTiger Wang2020-08-021-21/+23
| | | | | | * 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
* Changed int parameters to vector parameters in cCuboid and simulators (#3874)Lane Kolbly2017-08-171-2/+2
|
* Simulators: Added area-based wakeup.Mattes D2017-07-161-3/+17
|
* Bulk clearing of whitespaceLogicParrot2016-02-051-3/+3
|
* Unified the doxy-comment format.Mattes D2015-07-311-4/+4
|
* Initial convertion of a_Dt to std::chronoTycho2015-01-111-1/+1
| | | | also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay
* Cleaned up simulatorsTiger Wang2014-10-251-8/+12
|
* Added first test to show the object can be createdTycho2014-09-171-1/+0
|
* Possibly decoupled IncrementalRedstoneSimulator from the rest of the serverTycho2014-09-111-11/+6
| | | | THis wil hopefully allow for unit testing
* Removed redundant semicolons and re-added warningarchshift2014-07-241-1/+1
|
* Basic style fixes.madmaxoft2014-07-171-1/+1
|
* Unified Vector classesandrew2014-03-111-1/+1
|
* converted commneted paramater names to the unused macroTycho Bickerstaff2013-12-221-2/+8
|
* ChunkSender is now warnings cleanTycho Bickerstaff2013-12-211-1/+2
|
* Fixed the remaining derpsAlexander Harkness2013-11-271-1/+1
|
* Further attempts to fix compileTiger Wang2013-11-251-1/+1
|
* Attempt to fix compilationTiger Wang2013-11-241-1/+1
|
* Moved source to srcAlexander Harkness2013-11-241-0/+46