summaryrefslogtreecommitdiffstats
path: root/src/Simulator/SimulatorManager.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963)peterbell102020-10-051-4/+4
| | | | | | | | | | | | | | | * Fix cmake not adding Werror on clang, and _lots_ of warnings * WIP: Build fixes * Cannot make intermediate blockhandler instance * Tiger's changes * Fix BitIndex check * Handle invalid NextState values in cMultiVersionProtocol Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
* WakeUpSimulators correct Y computationTiger Wang2020-08-051-1/+5
| | | | + Add Y validity check to SimulatorManager
* Do not GetBlock individually in simulatorsTiger Wang2020-08-041-2/+22
| | | | | * Have the simulator manager get the block and pass it on + Add new overload for WakeUp, called when the manager wakes face positions
* Add WakeUp/AddBlock distinctionTiger Wang2020-08-021-9/+8
| | | | | | * 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-0/+12
|
* 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-1/+1
|
* Possibly decoupled IncrementalRedstoneSimulator from the rest of the serverTycho2014-09-111-1/+1
| | | | THis wil hopefully allow for unit testing
* Style: Normalized to no spaces before closing parenthesis.madmaxoft2014-07-211-3/+3
|
* Moved source to srcAlexander Harkness2013-11-241-0/+80