summaryrefslogtreecommitdiffstats
path: root/src/Simulator/IncrementalRedstoneSimulator.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Temporarily commented out override directives."Tycho2014-09-051-5/+5
| | | | | | | | | | | | | | | This reverts commit 6db727c60c01264dc9a9c209c5b335da8f53cd64. Conflicts: src/Bindings/PluginLua.h src/Blocks/BlockFire.h src/Generating/ChunkGenerator.h src/LoggerListeners.cpp src/Mobs/Components/AIAggressiveComponent.h src/Mobs/Monster.h src/OSSupport/IsThread.h src/Protocol/Authenticator.h src/UI/SlotArea.h
* Temporarily commented out override directives.Samuel Barney2014-08-211-5/+5
|
* Fixed tabs used for alignment.madmaxoft2014-07-171-1/+1
|
* Normalized comments.madmaxoft2014-07-171-12/+12
| | | | | 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.
* Fixed redstone simulator crashTiger Wang2014-07-151-2/+2
| | | | | * Fixes #1176 * Fixed #1186
* Implemented trapped chests & othersTiger Wang2014-07-071-4/+24
| | | | | | | + Added trapped chests * Fixed a bunch of bugs in the redstone simulator concerning wires and repeaters * Other potential bugfixes
* Implemented tripwire(s) (hooks)Tiger Wang2014-06-281-0/+8
| | | | * Fixes #944
* Moved repeater handling to seperate passTycho2014-06-161-1/+3
|
* 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