summaryrefslogtreecommitdiffstats
path: root/src/ChunkDef.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into WerrorTycho2014-03-121-1/+1
|\ | | | | | | | | Conflicts: src/Generating/PieceGenerator.cpp
| * Unified Vector classesandrew2014-03-111-1/+1
| |
* | Fixed Chunkdef warningsTycho2014-03-111-2/+2
| |
* | Merge branch 'master' into WerrorTycho2014-03-111-16/+12
|\| | | | | | | | | Conflicts: src/ChunkDef.h
| * ChunkDef: Replaced enums with static const ints.madmaxoft2014-03-091-10/+6
| | | | | | | | This makes them easier to use in std::min et al.
* | Fixed xofts issuesTycho2014-03-101-18/+8
| |
* | Globals.h is now warnings free again.Tycho2014-03-091-8/+24
| | | | | | | | Also turned off Wpadded as it is indicates potental performance issues rather than potential bugs
* | Fixed some warningsTycho2014-03-091-7/+10
|/
* fixed globals.h warningsTycho2014-02-231-0/+1
|
* Initial ChunkStay code.madmaxoft2014-02-081-0/+1
|
* Merge pull request #602 from mc-server/improvementsandfixesMattes D2014-02-031-3/+31
|\ | | | | Redstone crash fix and current console line replace function
| * Split cCoord template into one and two data typesTiger Wang2014-02-011-10/+32
| |
| * Fixed redstone simulator crash found in #570Tiger Wang2014-01-291-5/+11
| |
* | Refactored cBlockHandler::OnUse and dependentsTycho2014-01-261-1/+0
|/
* Merge pull request #529 from mc-server/derpstonerefactorAlexander Harkness2014-01-121-0/+2
|\ | | | | Major refactoring of redstone
| * Major refactoring of redstoneTiger Wang2014-01-101-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 ChunkDefBill Derouin2014-01-101-2/+1
| | | | | | | | Can't forward declare an enum
* | Move biome definition to separate filesBill Derouin2014-01-091-91/+2
|/
* Fixed compilation in VC2008.madmaxoft2013-12-301-1/+1
| | | | Also removed an unused inline header file (yuck).
* converted commneted paramater names to the unused macroTycho Bickerstaff2013-12-221-1/+2
|
* ChunkSender is now warnings cleanTycho Bickerstaff2013-12-211-1/+1
|
* Attempt at fixing cChunkDef::Height signedness.madmaxoft2013-12-201-12/+12
|
* Moved source to srcAlexander Harkness2013-11-241-0/+617