summaryrefslogtreecommitdiffstats
path: root/src/Simulator/IncrementalRedstoneSimulator/RedstoneSimulatorChunkData.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove the redstone solid block handlerTiger Wang2020-08-081-3/+8
| | | | | | | - 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
* Clang Tidy fixTiger Wang2020-07-261-11/+11
|
* Use SimulateChunk in redstone simulatorTiger Wang2020-07-261-23/+82
| | | | | | + Improved performance, reduces bottleneck in chunkmap lookup * Stop allocating and throwing away lots of small vectors in Update/GetValidSourcePositions return values - Remove unused GetPowerLevel virtual
* Precompile unordered_map/setTiger Wang2020-07-191-1/+0
| | | | | | + Add inclusions to Globals.h * Sort Globals.h - Remove sys/stat.h from Globals.h
* Fixing washing away of redstone mechanisms (#4665)DrButcher2020-04-171-0/+1
|
* At long last... Piston animations!Tiger Wang2018-07-251-1/+0
| | | | | * Fixes #3198 * Fixes #57 (again lol)
* Remove double includes part 2 (#3890)peterbell102017-08-031-1/+0
|
* Update RedstoneSimulator to delete unused cached PowerDataMarvin Kopf2016-02-091-0/+6
| | | | When a new block was placed that has a corresponding RedstoneHandler the PowerData for the position was cached, but never deleted and remained unchanged when the block got destroyed. The RedstoneSimulator now erases all cached PowerData for positions where the block doesn't have a RedstoneHandler (i.e. Air).
* Reorganised the redstone simulatorTiger Wang2015-12-181-0/+70
-> Many thanks to @worktycho for the idea, and @Haxi52 for the implementation plan! * Uses classes and inheritance now * Speed should be improved