summaryrefslogtreecommitdiffstats
path: root/src/Simulator/Simulator.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ChunkMap: do not wantonly make empty chunksTiger Wang2020-08-281-7/+0
| | | | | | - Removed calls that constructed an empty chunk, found it was invalid, and did nothing with said chunk Partially addresses #2324
* Remove the redstone solid block handlerTiger Wang2020-08-081-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
* Add WakeUp/AddBlock distinctionTiger Wang2020-08-021-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
* Reduce unnecessary wakeupsTiger Wang2020-07-251-12/+0
| | | | - cSimulator no longer wakes up positions already woken by cChunk::SetBlock
* Changed int parameters to vector parameters in cCuboid and simulators (#3874)Lane Kolbly2017-08-171-16/+15
|
* Remove double includes part 2 (#3890)peterbell102017-08-031-1/+0
|
* Simulators: Added area-based wakeup.Mattes D2017-07-161-0/+50
|
* Cleaned up simulatorsTiger Wang2014-10-251-3/+25
|
* Wrapped clang-specific pragma into an #ifdef block.madmaxoft2014-09-271-1/+6
| | | | MSVC was complaining about an unknown pragma.
* Added first test to show the object can be createdTycho2014-09-171-0/+5
|
* Possibly decoupled IncrementalRedstoneSimulator from the rest of the serverTycho2014-09-111-46/+4
| | | | THis wil hopefully allow for unit testing
* Unified Vector classesandrew2014-03-111-1/+0
|
* Moved source to srcAlexander Harkness2013-11-241-0/+51