summaryrefslogtreecommitdiffstats
path: root/src/Simulator/IncrementalRedstoneSimulator.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fixed two redstone bugsTiger Wang2014-06-121-0/+6
| | | | | * Fixed chunk border powering * Fixed quick place-replace powering
* Merge remote-tracking branch 'howaner/Redstone'madmaxoft2014-06-091-4/+10
|\
| * Add SetOpen() and IsOpen() to BlockDoor.h and fix door redstone bug.Howaner2014-05-291-4/+10
| |
* | Further improvements on redstone speedTiger Wang2014-06-071-64/+77
| | | | | | | | | | | | | | 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
* | Further reduced redstone idle CPU consumptionTiger Wang2014-06-061-7/+27
| | | | | | | | | | | | * Repeaters and wires are no longer unnecessarily ticked * Fixed #1063, likely addressed #1062 * Fixed bugs regarding duplicate values
* | Redstone fixes and improvements [SEE DESC]Tiger Wang2014-06-051-60/+87
| | | | | | | | | | | | | | | | Haha, see desc. * Improved redstone speed through a marking dirty system. Only a select few devices are still continuously simulated * Fixed redstone crashing with recent piston changes
* | Merge pull request #1011 from SphinxC0re/SomeWarningFixesMattes D2014-06-041-2/+8
|\ \ | | | | | | Fixed some warnings
| * | Update IncrementalRedstoneSimulator.cppJulian Laubstein2014-06-041-8/+8
| | |
| * | Fixed warnings in IncrementalRedstoneSimulatorJulian Laubstein2014-05-191-1/+7
| |/
* | Fixed piston power checkingTiger Wang2014-05-291-11/+6
| |
* | Hopefully fixed piston duplication issuesTiger Wang2014-05-251-5/+4
|/ | | | | * Fixes #879 * Fixes #714
* Fixed wires powering wires diagonally below themTiger Wang2014-05-071-5/+1
|
* Fixed formattingTiger Wang2014-05-051-4/+5
|
* Fixed 027efe09ea3d3222c3cbf169643e57773c1614aeTiger Wang2014-05-041-3/+49
|
* Merge branch 'master' into redstoneimprovementsTiger Wang2014-05-041-2/+8
|\ | | | | | | | | | | | | | | Conflicts: src/ClientHandle.cpp src/Entities/FallingBlock.cpp src/Mobs/AggressiveMonster.cpp src/Simulator/IncrementalRedstoneSimulator.cpp
| * Fixed pressure plate oversightsTiger Wang2014-05-041-2/+8
| | | | | | | | | | | | | | * Fixed stone pressure plates not checking for the correct distance for players * Fixed pressure plates in general not link powering the blocks beneath them
* | Fixed lever and button powering directionTiger Wang2014-05-041-16/+8
| |
* | Redstone simulator now directly accesses cChunkTiger Wang2014-04-271-404/+522
|/ | | | | | * Redstone simulator performance improvements * Added return values to some functions * Minor fixes
* Removed unsupported C++11 features.madmaxoft2014-04-181-13/+19
|
* Implemented weighted pressure platesTiger Wang2014-04-171-25/+165
|
* Rewrote redstone powering to use power levelsTiger Wang2014-04-151-165/+133
|
* cRedstoneSimulator.cpp style improvementsTiger Wang2014-04-081-40/+41
|
* Uppercased Zwiseoldman952014-04-081-3/+3
| | | Minor, no code changed.
* Comments: Inverted Z axis.wiseoldman952014-04-081-9/+10
| | | | | -Comments fix, No code has been changed. -Inverted the Z axis in the comments and changed all dependent comments accordingly. -Added NORTH/SOUTH/EAST/WEST in addition to LEFT/RIGHT/UP/DOWN.
* Added comments regarding latching and orientationwiseoldman952014-04-081-9/+31
| | | No real code was changed.
* Fixed the thing properly.Alexander Harkness2014-04-081-8/+8
|
* Merge pull request #862 from mc-server/redstonefixAlexander Harkness2014-04-081-23/+3
|\ | | | | Fixed #859
| * Fixed #859Tiger Wang2014-04-071-23/+3
| |
* | Fixed IsOnwiseoldman952014-04-071-3/+2
| |
* | Removed stray IsLockedwiseoldman952014-04-071-2/+2
| |
* | Removed unneeded spacingswiseoldman952014-04-071-6/+3
| |
* | Slight cleanupwiseoldman952014-04-071-13/+17
| | | | | | It is more efficient and readable if we do nothing unless we're not locked.
* | Fixed some more minor issues with the redstone simulator.Alexander Harkness2014-04-071-34/+39
| |
* | Improved the speed a little more.Alexander Harkness2014-04-071-1/+1
| |
* | Fixed the redstone simulator.Alexander Harkness2014-04-071-49/+40
| |
* | Fix some of the comments in the PR tycho just did.Alexander Harkness2014-04-071-8/+6
| |
* | Added support for redstone latchingTycho2014-04-061-2/+63
|/ | | | fixes #856
* Merge branch 'master' into awesometntTiger Wang2014-03-181-1/+1
|\ | | | | | | | | Conflicts: src/ChunkMap.cpp
| * Fixed double to float conversions.madmaxoft2014-03-161-1/+1
| |
* | Merge remote-tracking branch 'origin/master' into awesometntTiger Wang2014-03-101-1/+1
|\| | | | | | | | | | | Conflicts: src/Items/ItemLighter.h src/Simulator/IncrementalRedstoneSimulator.cpp
| * Change TNT Fuse to ticksHowaner2014-03-081-1/+1
| |
* | Merge branch 'master' into awesometntTiger Wang2014-03-101-5/+3
|\|
| * Merge pull request #746 from Howaner/SlabsMattes D2014-03-031-5/+3
| |\ | | | | | | Add Trapdoor Functions to cWorld and fix Trapdoor Redstone Bugs
| | * Add Trapdoor Functions to cWorld and fix Trapdoor Redstone BugsHowaner2014-03-021-5/+3
| | |
* | | Added extra awesomeness to TNTTiger Wang2014-03-051-1/+1
|/ / | | | | | | | | | | | | + TNT now has a chance of flinging FallingBlock entities around * Improved TNT damage * Improved TNT spawning visuals * Possible fix for 'SetSwimState failure' messages in debug
* / g_BlockXXX => cBlockInfo::XXXandrew2014-03-011-2/+2
|/
* Removed problematic utf8.madmaxoft2014-02-201-2/+2
|
* Bad UTF-8 o.OHowaner2014-02-201-2/+2
|
* Remove typeinfo import in IncrementalRedstoneSimulatorHowaner2014-02-201-2/+0
|
* Add Pressure Plate SoundHowaner2014-02-201-0/+9
|
* Add Light weighted pressure platesHowaner2014-02-201-10/+18
|
* Fixed a glaring bug with chunk cross-simulatingTiger Wang2014-02-161-9/+17
| | | | | | * A chunk's redstone blocks list is no longer touched if AddBlock was being called with another chunk's coordinates * Fixed chunk boundary checks
* Added a 'default:' for SimChunk()'s switchTiger Wang2014-02-151-0/+1
|
* A fix and an improvementTiger Wang2014-02-151-22/+41
| | | | | | | | * 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-69/+92
| | | | | | | | | | | | | + 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 more Sounds to Redstone SimulatorHowaner2014-02-151-1/+23
|
* Add Fence Gate to Redstone SimulatorHowaner2014-02-151-0/+29
|
* Improved pressure platesTiger Wang2014-02-121-1/+1
| | | | | + 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/+1534