Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use factory method to construct redstone simulator data | Tycho | 2014-09-28 | 1 | -0/+2 |
| | |||||
* | Fixed issue with casting | tycho | 2014-09-26 | 1 | -1/+3 |
| | |||||
* | IncrementalRedstoneSimulator now has no dependencies on cChunk | Tycho | 2014-09-16 | 1 | -0/+6 |
| | |||||
* | Possibly decoupled IncrementalRedstoneSimulator from the rest of the server | Tycho | 2014-09-11 | 1 | -4/+7 |
| | | | | THis wil hopefully allow for unit testing | ||||
* | Renamed cRedstoneManager to cRedstoneSimulator and renamed cRedstoneSimulator to cIncrementalRedstoneSimulator (Might change later). | STRWarrior | 2014-02-07 | 1 | -251/+5 |
| | |||||
* | Implemented an easy way of adding new redstone simulators. | STRWarrior | 2014-02-07 | 1 | -3/+3 |
| | | | | Also added a "noop" redstone simulator that does the same as the fluid version. | ||||
* | Fixed redstone simulator crash found in #570 | Tiger Wang | 2014-01-29 | 1 | -1/+1 |
| | |||||
* | Basic command block implementation | andrew | 2014-01-18 | 1 | -0/+4 |
| | |||||
* | Fixed rails powering | Tiger Wang | 2014-01-11 | 1 | -0/+2 |
| | |||||
* | Fixed a door bug and reduced code | Tiger Wang | 2014-01-11 | 1 | -19/+1 |
| | | | | | Doors wouldn't get powered by repeaters, and some blocks, like glass, were viable middle blocks when they shouldn't have been. | ||||
* | Major refactoring of redstone | Tiger Wang | 2014-01-10 | 1 | -39/+40 |
| | | | | | | | | | | | | | | | | | | | | This commit is a refactoring of the redstone code, mainly the functions handling the removal of invalid blocks from power supplier data structures. Its aim is to improve performance and potentially reduce the memory footprint of the data structures. It works to reduce the amount of GetBlock()s triggered every tick. Before, a GetBlock() was requested for every single item in the data lists, as well as for every single redstone block in a chunk. Following these changes, the AddBlock() event is utilised more effectively to only update the lists when needed (a block is changed), as well as to insert the block type (and update it when needed) alongside the coordinates into the main redstone simulator chunkdata list. In short, a single GetBlock() is now cached, with this cache being updated when the simulator is awoken due to a block change. At least, I *hope* that this is what it does :P | ||||
* | converted commneted paramater names to the unused macro | Tycho Bickerstaff | 2013-12-22 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' of github.com:mc-server/MCServer | Tycho Bickerstaff | 2013-12-22 | 1 | -2/+4 |
|\ | |||||
| * | Implemented stone and wooden pressure plates | Tiger Wang | 2013-12-24 | 1 | -2/+4 |
| | | |||||
* | | Piston is now warnings clean | Tycho Bickerstaff | 2013-12-21 | 1 | -2/+2 |
|/ | |||||
* | Fixed repeaters delay, maybe | Tiger Wang | 2013-12-20 | 1 | -4/+5 |
| | | | | | Also added basic daylight sensors, though because GetBlockSkylight always is 15, it doesn't work. | ||||
* | Fixed bad repeater power queuing in corner case | Tiger Wang | 2013-12-18 | 1 | -0/+3 |
| | | | | | Repeaters remain queued to power even if their original source has since unpowered. Also functionised and cleaned up code. | ||||
* | Implemented note block playing and fixed wire | Tiger Wang | 2013-12-14 | 1 | -0/+2 |
| | | | | Game of Thrones music in Minecraft, here I come! | ||||
* | Fixes to redstone wire and torches | Tiger Wang | 2013-12-14 | 1 | -1/+5 |
| | | | | | | + Wires now power blocks around the block beneath * Torches no longer power off if it is on a linked powered block * Enhanced code, split functions, etc. | ||||
* | Fixed pistons being viable middle block | Tiger Wang | 2013-12-11 | 1 | -0/+3 |
| | | | | Also an excuse to update submodules | ||||
* | Added repeater delays | Tiger Wang | 2013-12-10 | 1 | -0/+9 |
| | | | | They DO sometimes get stuck though :P | ||||
* | Fixed trapdoors not toggling | Tiger Wang | 2013-12-07 | 1 | -0/+12 |
| | | | | The redstone simulator kept on resetting them. | ||||
* | Pistons no longer accept power through front face | Tiger Wang | 2013-11-30 | 1 | -0/+2 |
| | | | | This fixes #60. | ||||
* | Implemented trapdoors, fixes #43 and #105 | Tiger Wang | 2013-11-29 | 1 | -0/+2 |
| | | | | Also updated redstone simulator to support it | ||||
* | Merged master into redstonefixes | Tiger Wang | 2013-11-27 | 1 | -16/+51 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into foldermove2 | Alexander Harkness | 2013-11-24 | 1 | -52/+165 |
| | | | | | Conflicts: GNUmakefile | ||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+86 |