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