summaryrefslogtreecommitdiffstats
path: root/src/Generating/StructGen.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Separated chunk generator from world / plugin interfaces.Mattes D2019-09-061-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)peterbell102018-02-051-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)peterbell102017-09-141-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)peterbell102017-08-031-1/+0
|
* Remove redundant heighmap codepeterbell102017-06-141-15/+1
|
* Reduced unnecessary block updatesLogicParrot2016-04-221-0/+8
|
* Bulk clearing of whitespaceLogicParrot2016-02-051-27/+27
|
* Moved variables into scope, removed unused variables and fixed variablesLukas Pioch2015-12-171-2/+2
|
* Added OrePockets and DirtPockets finish gens.Mattes D2015-11-251-110/+0
|
* Fix old style casts and implicit conversionsMatti Hänninen2015-08-121-6/+6
|
* Fixed some more warningstycho2015-05-191-14/+14
|
* More style checking.Mattes D2015-05-091-1/+1
| | | | Spaces around some operators are checked.
* Refactored all player block placing to go through hooks.Mattes D2014-12-241-7/+7
| | | | Fixes #1618.
* Generator: Fixed crash with trees too high.Mattes D2014-11-151-2/+7
|
* Gen refactor: Implemented CompositedHeiGen.Mattes D2014-11-131-0/+1
| | | | This fixes crashes in the Village generator due to the missing generator.
* Generator: Shape initial refactoring.Mattes D2014-11-121-18/+8
| | | | The code compiles, but several structure generators are broken, crash on start.
* Generator: Rewritten to use SharedPtrs.Mattes D2014-10-191-1/+1
|
* Added Granite, Diorite and Andesite to the NaturalPatches generator.STRWarrior2014-09-281-2/+4
|
* Bunch of tweaks:STRWarrior2014-08-101-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.STRWarrior2014-08-101-48/+10
|
* CheckBasicStyle: multi-level indent change.madmaxoft2014-08-041-3/+3
|
* Generator: removed rnd definitions that are never readarchshift2014-07-181-1/+0
|
* Basic style fixes.madmaxoft2014-07-171-7/+7
|
* Normalized comments.madmaxoft2014-07-171-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.archshift2014-05-121-15/+13
|
* Implemented faster upscaling using templates.madmaxoft2014-03-211-2/+2
| | | | Fixes #819.
* Unified StructureGens and FinisherGens.madmaxoft2014-03-011-5/+5
| | | | Now they are all Finishers. Fixes #398.
* Thread safe cMap managerandrew2014-02-201-9/+0
|
* Fixed compile and some warnings in MSVSTiger Wang2014-02-091-9/+0
|
* Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT).madmaxoft2013-12-201-2/+6
|
* Trees will generate in the new biomes.madmaxoft2013-11-281-14/+51
| | | | Only the generic trees, the special variants haven't yet been implemented.
* Moved source to srcAlexander Harkness2013-11-241-0/+675