summaryrefslogtreecommitdiffstats
path: root/src/Simulator/IncrementalRedstoneSimulator.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fixed a repeater issueTiger Wang2014-06-141-1/+1
| | | | | * Repeaters now properly continuously update their powering * Minor cosmetic improvements
* Further improvements on redstone speedTiger Wang2014-06-071-3/+3
| | | | | | | Based on suggestions of @worktycho * Repeaters now walk their data structure only when needed * Fixed a bug with cChunkData returning an incorrect value for whether a meta had changed
* Redstone simulator now directly accesses cChunkTiger Wang2014-04-271-34/+34
| | | | | | * Redstone simulator performance improvements * Added return values to some functions * Minor fixes
* Compile fix?Tiger Wang2014-04-171-2/+2
|
* Implemented weighted pressure platesTiger Wang2014-04-171-4/+6
|
* Rewrote redstone powering to use power levelsTiger Wang2014-04-151-15/+16
|
* Added support for redstone latchingTycho2014-04-061-0/+2
| | | | fixes #856
* g_BlockXXX => cBlockInfo::XXXandrew2014-03-011-1/+1
|
* A fix and an improvementTiger Wang2014-02-151-1/+2
| | | | | | | | * Fixed a special case with the wrong ChunkX/Z values being used to calculate a relative position * Simplified data structure adding and removing operations (no more pointers!) - Removed one character of whitespace :D
* Sizeable speed improvements to redstoneTiger Wang2014-02-151-12/+23
| | | | | | | | | | | | | + Moved all simulator data into individual chunks * Cleaned up parameters for functions and some code * Fixed repeaters powering off faster than they power on The main issue before was that, although the redstone simulator stored blocks to be simulated in individual cChunks, other data, such as powered lists, and etcetera, were global regardless of which chunk was being simulated. Therefore, with worlds with lots of redstone, each tick saw the ticking of chunks, which themselves iterated through the entire dataset needlessly, creating LOTS of lag. Should be better now :)
* Add Fence Gate to Redstone SimulatorHowaner2014-02-151-0/+2
|
* Improved pressure platesTiger Wang2014-02-121-0/+4
| | | | | + Two (or more) pressure plates can be triggered at the same time * Fixed issues caused by pressure plates not being in the sources list
* Renamed cRedstoneManager to cRedstoneSimulator and renamed cRedstoneSimulator to cIncrementalRedstoneSimulator (Might change later).STRWarrior2014-02-071-0/+263