Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2020-08-02 | Always use relative coordinates in AddBlock | Tiger Wang | 1 | -8/+0 | |
+ Pass block, use relatives * Fixes everything immediately converting abs back to rel and getting block, when these data were already available | |||||
2020-08-02 | Add WakeUp/AddBlock distinction | Tiger Wang | 1 | -1/+1 | |
* 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 | |||||
2020-07-26 | Use SimulateChunk in redstone simulator | Tiger Wang | 1 | -1/+1 | |
+ 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 | |||||
2020-04-16 | Using Super. | Mattes D | 1 | -4/+5 | |
2017-08-17 | Changed int parameters to vector parameters in cCuboid and simulators (#3874) | Lane Kolbly | 1 | -4/+2 | |
2016-02-05 | Bulk clearing of whitespace | LogicParrot | 1 | -1/+1 | |
2015-12-18 | Reorganised the redstone simulator | Tiger Wang | 1 | -2/+0 | |
-> Many thanks to @worktycho for the idea, and @Haxi52 for the implementation plan! * Uses classes and inheritance now * Speed should be improved | |||||
2015-01-11 | Initial convertion of a_Dt to std::chrono | Tycho | 1 | -1/+1 | |
also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay | |||||
2014-10-25 | Cleaned up simulators | Tiger Wang | 1 | -2/+2 | |
2014-10-23 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -1/+1 | |
2014-10-20 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -1/+1 | |
2014-09-28 | Use factory method to construct redstone simulator data | Tycho | 1 | -0/+5 | |
2014-09-11 | Possibly decoupled IncrementalRedstoneSimulator from the rest of the server | Tycho | 1 | -2/+2 | |
THis wil hopefully allow for unit testing | |||||
2014-07-21 | Style: Normalized to no spaces before closing parenthesis. | madmaxoft | 1 | -1/+1 | |
2014-07-17 | Basic style fixes. | madmaxoft | 1 | -1/+1 | |
2014-07-17 | Normalized comments. | madmaxoft | 1 | -1/+1 | |
This was mostly done automatically and then visually inspected for obvious errors. All //-style comments should have a 2-space separation from the code, and 1 space after the comment sign. | |||||
2014-02-07 | Renamed cRedstoneManager to cRedstoneSimulator and renamed cRedstoneSimulator to cIncrementalRedstoneSimulator (Might change later). | STRWarrior | 1 | -3/+3 | |
2014-02-07 | Fixed some end of lines | STRWarrior | 1 | -1/+1 | |
2014-02-07 | Implemented an easy way of adding new redstone simulators. | STRWarrior | 1 | -0/+40 | |
Also added a "noop" redstone simulator that does the same as the fluid version. |