summaryrefslogtreecommitdiffstats
path: root/src/Simulator/Simulator.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Additional Y height checks (#5405)Debucquoy Anthony tonitch2022-06-181-11/+2
| | | | | For redstone wire, block area bindings, and fire simulator. Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
* Deleted BiomeDef.h and ChunkDef.h from Globals.h (#4885)KingCol132020-09-251-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Removed BiomeDef.h * Removed ChunkDef.h from Globals.h * Added to CONTRIBUTORS. * Re-added empty last line to Globals.h * Included stddef and StringUtils in BiomeDef.h * Fixed build tools compiling. It compiles, but at what cost? * Added include to src/Generating/Trees.h * Include added in ChunkGeneratorThread.h * Moved rearranged includes in LineBlockTracer.cpp * Re-arrange headers in ChunkInterface.cpp * Included ChunkDef.h in Path.h * Included ChunkDef.h in NBTChunkSerializer.h * Rearranged included and added required includes to headers. * Removed unnecessary included in StringUtils.h.
* 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