Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add tree generation for ExtemeHills and other biomes (#4713) | mBornand | 2020-05-06 | 1 | -77/+93 |
| | |||||
* | Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) | Mattes D | 2020-04-03 | 1 | -0/+1 |
| | | | | | | | | | The BlockID.h file was removed from Globals.h and renamed to BlockType.h (main change) The BlockInfo.h file was removed from Globals.h (main change) The ENUM_BLOCK_ID and ENUM_ITEM_ID enum names were replaced with ENUM_BLOCK_TYPE and ENUM_ITEM_TYPE (cosmetics) The various enums, such as eDimension, eDamageType and eExplosionSource were moved from BlockType.h to Defines.h, together with the helper functions for converting between them and strings (StringToDimension et al.) (minor) Many inline functions were moved from headers to their respective cpp files, so that BlockType.h could be included only into the cpp file, rather than the header. That broke our tests a bit, since they pick bits and pieces out of the main code and provide stubs for the rest; they had to be re-stubbed and re-verified. eMonsterType values are no longer tied to E_ITEM_SPAWN_EGG_META_* values | ||||
* | Improved large jungle and acacia tree generation (#4413) | NiLSPACE | 2019-12-22 | 1 | -2/+3 |
| | |||||
* | ShapeGen, HeiGen: Changed to use cChunkCoords. | Mattes D | 2019-09-08 | 1 | -1/+1 |
| | |||||
* | BiomeGen: Changed to use cChunkCoords params. | Mattes D | 2019-09-08 | 1 | -1/+1 |
| | |||||
* | Separated chunk generator from world / plugin interfaces. | Mattes D | 2019-09-06 | 1 | -2/+2 |
| | | | | The generator now only takes care of servicing synchronous "GetChunk(X, Y)" and "GetBiomes(X, Y)" requests. | ||||
* | Deal with covered switches consistently (#4161) | peterbell10 | 2018-02-05 | 1 | -0/+1 |
| | | | | | | | * Fixes a number of "<function>: not all control paths return a value" warnings on MSVC. * Introduces the UNREACHABLE global macro and uses it instead of conditionally compiled switch defaults. * Move cNBTParseErrorCategory from FastNBT.h into FastNBT.cpp to prevent bad calls to message() | ||||
* | Fix switch warnings (#4013) | peterbell10 | 2017-09-14 | 1 | -56/+79 |
| | | | | | | | | | | | | | | | * Fix switch warnings * Fix a variety of -Wswitch and -Wswitch-enum warnings * Remove unneeded -Wno-error flags * Reorganise some eMonsterType switches * Alpha sort eMonsterType cases in WriteMobMetadata and in cNBTChunkSerializer::AddMonsterEntity * List all mob types in protocol 1.12 and NBTChunkSerializer * cStructGenTrees::GetNumTrees: remove switch default * cWSSAnvil::LoadOldMinecartFromNBT: Log unhandled minecart type | ||||
* | Remove double includes part 2 (#3890) | peterbell10 | 2017-08-03 | 1 | -1/+0 |
| | |||||
* | Remove redundant heighmap code | peterbell10 | 2017-06-14 | 1 | -15/+1 |
| | |||||
* | Reduced unnecessary block updates | LogicParrot | 2016-04-22 | 1 | -0/+8 |
| | |||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 1 | -27/+27 |
| | |||||
* | Moved variables into scope, removed unused variables and fixed variables | Lukas Pioch | 2015-12-17 | 1 | -2/+2 |
| | |||||
* | Added OrePockets and DirtPockets finish gens. | Mattes D | 2015-11-25 | 1 | -110/+0 |
| | |||||
* | Fix old style casts and implicit conversions | Matti Hänninen | 2015-08-12 | 1 | -6/+6 |
| | |||||
* | Fixed some more warnings | tycho | 2015-05-19 | 1 | -14/+14 |
| | |||||
* | More style checking. | Mattes D | 2015-05-09 | 1 | -1/+1 |
| | | | | Spaces around some operators are checked. | ||||
* | Refactored all player block placing to go through hooks. | Mattes D | 2014-12-24 | 1 | -7/+7 |
| | | | | Fixes #1618. | ||||
* | Generator: Fixed crash with trees too high. | Mattes D | 2014-11-15 | 1 | -2/+7 |
| | |||||
* | Gen refactor: Implemented CompositedHeiGen. | Mattes D | 2014-11-13 | 1 | -0/+1 |
| | | | | This fixes crashes in the Village generator due to the missing generator. | ||||
* | Generator: Shape initial refactoring. | Mattes D | 2014-11-12 | 1 | -18/+8 |
| | | | | The code compiles, but several structure generators are broken, crash on start. | ||||
* | Generator: Rewritten to use SharedPtrs. | Mattes D | 2014-10-19 | 1 | -1/+1 |
| | |||||
* | Added Granite, Diorite and Andesite to the NaturalPatches generator. | STRWarrior | 2014-09-28 | 1 | -2/+4 |
| | |||||
* | Bunch of tweaks: | STRWarrior | 2014-08-10 | 1 | -1/+1 |
| | | | | | | Renamed Quarts to Quartz Using const_iterator instead of iterator Used CheckBasicStyle script to find style errors | ||||
* | Changed cStructGenOreNests to take a list of ores + the block to replace. | STRWarrior | 2014-08-10 | 1 | -48/+10 |
| | |||||
* | CheckBasicStyle: multi-level indent change. | madmaxoft | 2014-08-04 | 1 | -3/+3 |
| | |||||
* | Generator: removed rnd definitions that are never read | archshift | 2014-07-18 | 1 | -1/+0 |
| | |||||
* | Basic style fixes. | madmaxoft | 2014-07-17 | 1 | -7/+7 |
| | |||||
* | Normalized comments. | madmaxoft | 2014-07-17 | 1 | -6/+6 |
| | | | | | 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 a few more switch warnings. | archshift | 2014-05-12 | 1 | -15/+13 |
| | |||||
* | Implemented faster upscaling using templates. | madmaxoft | 2014-03-21 | 1 | -2/+2 |
| | | | | Fixes #819. | ||||
* | Unified StructureGens and FinisherGens. | madmaxoft | 2014-03-01 | 1 | -5/+5 |
| | | | | Now they are all Finishers. Fixes #398. | ||||
* | Thread safe cMap manager | andrew | 2014-02-20 | 1 | -9/+0 |
| | |||||
* | Fixed compile and some warnings in MSVS | Tiger Wang | 2014-02-09 | 1 | -9/+0 |
| | |||||
* | Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT). | madmaxoft | 2013-12-20 | 1 | -2/+6 |
| | |||||
* | Trees will generate in the new biomes. | madmaxoft | 2013-11-28 | 1 | -14/+51 |
| | | | | Only the generic trees, the special variants haven't yet been implemented. | ||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+675 |