Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix comparator segfaults | Marvin Kopf | 2016-12-06 | 1 | -1/+8 |
| | | | | The handler would get called for any BlockEntity, but not every BlockEntity is a BlockEntityWithItems. Downcasting with static_cast is UB on fail. | ||||
* | Redstone fixes (#3285) | Tiger Wang | 2016-07-31 | 2 | -52/+86 |
| | | | | | | | | * Comparators and pistons no longer update instantly * Fixes #3168. * Consolidated comparator code * As a result, fixed an issue where GetPowerLevel didn't consider block entities behind it (only GetFrontPowerLevel did) | ||||
* | Revert "Redstone fixes" | Mattes D | 2016-07-29 | 2 | -86/+52 |
| | |||||
* | Consolidated comparator code | Tiger Wang | 2016-07-29 | 1 | -46/+37 |
| | | | | | * As a result, fixed an issue where GetPowerLevel didn't consider block entities behind it (only GetFrontPowerLevel did) | ||||
* | Comparators and pistons no longer update instantly | Tiger Wang | 2016-07-29 | 2 | -12/+55 |
| | | | | * Fixes #3168. | ||||
* | CMake: Remove needless minimum version specifications. | Mattes D | 2016-07-18 | 1 | -1/+0 |
| | |||||
* | Revert "Made redstone handlers static" | Lukas Pioch | 2016-07-01 | 2 | -93/+31 |
| | |||||
* | - Add a activation flag to droppers and dispensers. Previously droppers and dispensers shot items with every block update. | QUSpilPrgm | 2016-06-15 | 2 | -5/+28 |
| | | | | - Fixes a range check inside cIncrementalRedstoneSimulator::Simulate | ||||
* | Don't let redstone blocks power adjacent blocks. (#3214) | QUSpilPrgm | 2016-05-28 | 2 | -3/+2 |
| | | | | | * Don't let redstone blocks power adjacent blocks. This fixes issue #2966 | ||||
* | Made redstone handlers static | Tiger Wang | 2016-05-28 | 2 | -31/+93 |
| | | | | * Improvements to performance? Maybe. Can't hurt (he says). | ||||
* | Update RedstoneSimulator to delete unused cached PowerData | Marvin Kopf | 2016-02-09 | 2 | -1/+10 |
| | | | | When a new block was placed that has a corresponding RedstoneHandler the PowerData for the position was cached, but never deleted and remained unchanged when the block got destroyed. The RedstoneSimulator now erases all cached PowerData for positions where the block doesn't have a RedstoneHandler (i.e. Air). | ||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 2 | -3/+3 |
| | |||||
* | Fixed issue #2218 | Austin Martin | 2016-01-11 | 1 | -3/+5 |
| | |||||
* | Renamed leftover strings to Cuberite / Server, as needed. | Mattes D | 2016-01-01 | 1 | -1/+1 |
| | | | | Also upgraded the user setting file for MSVC to 2013. | ||||
* | Removed excessive logging in redstone simulator. | Mattes D | 2015-12-28 | 1 | -7/+0 |
| | |||||
* | Silenced the Redstone Simulator console spam | Safwat Halaby | 2015-12-24 | 17 | -20/+20 |
| | |||||
* | Fixes for clang-3.7 | Lukas Pioch | 2015-12-19 | 4 | -6/+6 |
| | |||||
* | Reorganised the redstone simulator | Tiger Wang | 2015-12-18 | 24 | -0/+2195 |
-> Many thanks to @worktycho for the idea, and @Haxi52 for the implementation plan! * Uses classes and inheritance now * Speed should be improved |