Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert "Fixed some warnings" | madmaxoft | 2014-03-10 | 1 | -10/+7 |
| | | | | This reverts commit 4cb0b82d1df560ad32c92eede91f466c75a87c87. | ||||
* | Fixed some warnings | Tycho | 2014-03-09 | 1 | -7/+10 |
| | |||||
* | fixed globals.h warnings | Tycho | 2014-02-23 | 1 | -0/+1 |
| | |||||
* | Initial ChunkStay code. | madmaxoft | 2014-02-08 | 1 | -0/+1 |
| | |||||
* | Merge pull request #602 from mc-server/improvementsandfixes | Mattes D | 2014-02-03 | 1 | -3/+31 |
|\ | | | | | Redstone crash fix and current console line replace function | ||||
| * | Split cCoord template into one and two data types | Tiger Wang | 2014-02-01 | 1 | -10/+32 |
| | | |||||
| * | Fixed redstone simulator crash found in #570 | Tiger Wang | 2014-01-29 | 1 | -5/+11 |
| | | |||||
* | | Refactored cBlockHandler::OnUse and dependents | Tycho | 2014-01-26 | 1 | -1/+0 |
|/ | |||||
* | Merge pull request #529 from mc-server/derpstonerefactor | Alexander Harkness | 2014-01-12 | 1 | -0/+2 |
|\ | | | | | Major refactoring of redstone | ||||
| * | Major refactoring of redstone | Tiger Wang | 2014-01-10 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | | Include Biome enum in ChunkDef | Bill Derouin | 2014-01-10 | 1 | -2/+1 |
| | | | | | | | | Can't forward declare an enum | ||||
* | | Move biome definition to separate files | Bill Derouin | 2014-01-09 | 1 | -91/+2 |
|/ | |||||
* | Fixed compilation in VC2008. | madmaxoft | 2013-12-30 | 1 | -1/+1 |
| | | | | Also removed an unused inline header file (yuck). | ||||
* | converted commneted paramater names to the unused macro | Tycho Bickerstaff | 2013-12-22 | 1 | -1/+2 |
| | |||||
* | ChunkSender is now warnings clean | Tycho Bickerstaff | 2013-12-21 | 1 | -1/+1 |
| | |||||
* | Attempt at fixing cChunkDef::Height signedness. | madmaxoft | 2013-12-20 | 1 | -12/+12 |
| | |||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+617 |