Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Reorganised the redstone simulator | Tiger Wang | 2015-12-18 | 1 | -419/+0 |
| | | | | | | -> Many thanks to @worktycho for the idea, and @Haxi52 for the implementation plan! * Uses classes and inheritance now * Speed should be improved | ||||
* | Unified the doxy-comment format. | Mattes D | 2015-07-31 | 1 | -3/+2 |
| | |||||
* | Improved maps | Tiger Wang | 2015-07-14 | 1 | -5/+5 |
| | |||||
* | Added moar comments | Tiger Wang | 2015-06-07 | 1 | -5/+1 |
| | |||||
* | Vector hasher is now a separate class | Tiger Wang | 2015-06-07 | 1 | -5/+7 |
| | |||||
* | Use emplace to construct structures | Tiger Wang | 2015-06-06 | 1 | -6/+22 |
| | |||||
* | Changed appropriate containers to unordered_map | Tiger Wang | 2015-06-06 | 1 | -24/+7 |
| | | | | | | Thanks to @worktycho for guidance! * Potential speed improvements | ||||
* | Improved link power behaviour | Tiger Wang | 2015-06-06 | 1 | -31/+3 |
| | |||||
* | Improved wires and repeaters | Tiger Wang | 2015-06-06 | 1 | -0/+2 |
| | | | | | * Fixed repeater cross-chunk power detection + Re-implemented horizontal wire cut-off checking | ||||
* | Redstone wire and trapdoor fixes | Tiger Wang | 2015-06-06 | 1 | -27/+42 |
| | | | | | | * Fixes #1887 * Fixes #1763 * Fixes #1083 | ||||
* | Provides improvements to redstone wire | Tiger Wang | 2015-06-06 | 1 | -9/+10 |
| | | | | Intermediary commit that fixes #1763. | ||||
* | Comparators | Tiger Wang | 2015-06-06 | 1 | -11/+47 |
| | |||||
* | Initial convertion of a_Dt to std::chrono | Tycho | 2015-01-11 | 1 | -1/+1 |
| | | | | also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay | ||||
* | NULL -> nullptr | Tiger Wang | 2014-12-17 | 1 | -2/+6 |
| | |||||
* | Improved redstone simulator | Tiger Wang | 2014-10-29 | 1 | -105/+138 |
| | | | | | | * Fixed style inconsistencies * Used more C++11 features * Improved speed perhaps | ||||
* | Cleaned up simulators | Tiger Wang | 2014-10-25 | 1 | -1/+352 |
| | |||||
* | IncrementalRedstoneSimulator now has no dependencies on cChunk | Tycho | 2014-09-16 | 1 | -309/+3 |
| | |||||
* | Don't include IncrementalRedsonteSimulator.inc when in SELF_TEST mode | Tycho | 2014-09-11 | 1 | -5/+0 |
| | |||||
* | Possibly decoupled IncrementalRedstoneSimulator from the rest of the server | Tycho | 2014-09-11 | 1 | -12/+16 |
| | | | | THis wil hopefully allow for unit testing | ||||
* | Fixed tabs used for alignment. | madmaxoft | 2014-07-17 | 1 | -1/+1 |
| | |||||
* | Normalized comments. | madmaxoft | 2014-07-17 | 1 | -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 crash | Tiger Wang | 2014-07-15 | 1 | -2/+2 |
| | | | | | * Fixes #1176 * Fixed #1186 | ||||
* | Implemented trapped chests & others | Tiger Wang | 2014-07-07 | 1 | -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 Wang | 2014-06-28 | 1 | -0/+8 |
| | | | | * Fixes #944 | ||||
* | Moved repeater handling to seperate pass | Tycho | 2014-06-16 | 1 | -1/+3 |
| | |||||
* | Fixed a repeater issue | Tiger Wang | 2014-06-14 | 1 | -1/+1 |
| | | | | | * Repeaters now properly continuously update their powering * Minor cosmetic improvements | ||||
* | Further improvements on redstone speed | Tiger Wang | 2014-06-07 | 1 | -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 cChunk | Tiger Wang | 2014-04-27 | 1 | -34/+34 |
| | | | | | | * Redstone simulator performance improvements * Added return values to some functions * Minor fixes | ||||
* | Compile fix? | Tiger Wang | 2014-04-17 | 1 | -2/+2 |
| | |||||
* | Implemented weighted pressure plates | Tiger Wang | 2014-04-17 | 1 | -4/+6 |
| | |||||
* | Rewrote redstone powering to use power levels | Tiger Wang | 2014-04-15 | 1 | -15/+16 |
| | |||||
* | Added support for redstone latching | Tycho | 2014-04-06 | 1 | -0/+2 |
| | | | | fixes #856 | ||||
* | g_BlockXXX => cBlockInfo::XXX | andrew | 2014-03-01 | 1 | -1/+1 |
| | |||||
* | A fix and an improvement | Tiger Wang | 2014-02-15 | 1 | -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 redstone | Tiger Wang | 2014-02-15 | 1 | -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 Simulator | Howaner | 2014-02-15 | 1 | -0/+2 |
| | |||||
* | Improved pressure plates | Tiger Wang | 2014-02-12 | 1 | -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). | STRWarrior | 2014-02-07 | 1 | -0/+263 |