summaryrefslogtreecommitdiffstats
path: root/src/Generating/Trees.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* add Large conifersmBornand2020-08-051-9/+267
|
* Enable some more clang-tidy linter checks (#4738)peterbell102020-05-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Avoid inefficient AString -> c_str() -> AString round trip * Avoid redundant string init expressions * Avoid unnecessary return, continue, etc. * Add .clang-format to help with clang-tidy fix-its * Avoid unnecessary passing by value * Avoid unnecessary local copying * Avoid copying in range-for loops * Avoid over-complicated boolean expressions * Some violations missed by my local clang-tidy * Allow unnecessary continue statements * Add brackets * Another expression missed locally * Move BindingsProcessor call into clang-tidy.sh and add space * Fix pushd not found error * Different grouping of CheckBlockInteractionRate
* Add tree generation for ExtemeHills and other biomes (#4713)mBornand2020-05-061-17/+33
|
* Pulled the BlockID and BlockInfo headers from Globals.h. (#4591)Mattes D2020-04-031-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)NiLSPACE2019-12-221-252/+300
|
* Separated chunk generator from world / plugin interfaces.Mattes D2019-09-061-87/+0
| | | | The generator now only takes care of servicing synchronous "GetChunk(X, Y)" and "GetBiomes(X, Y)" requests.
* Remove double includes part 2 (#3890)peterbell102017-08-031-1/+0
|
* Fix floating large trees (#3460)James Balajan2016-12-021-0/+18
|
* Normalized Vector3 API to use the same capitalization as all else.Mattes D2016-06-101-2/+2
|
* Reduced unnecessary block updatesLogicParrot2016-04-221-15/+11
|
* Bulk clearing of whitespaceLogicParrot2016-02-051-49/+49
|
* Unified the doxy-comment format.Mattes D2015-07-311-1/+1
|
* Sapling Growth UpdateSamuel Barney2015-07-131-3/+91
| | | | | | | | | * Growth has been slowed down * Saplings do not grow if they do not have enough space to grow * Saplings do not grow unless the light level is 9 or above * Dark Oak doesn't grow unless it is in a 2x2 Jungle Trees now will grow into a large tree when 2x2 saplings are used.
* Made -Weverything an error.tycho2015-05-241-2/+2
|
* Fixed some more warningstycho2015-05-191-20/+20
|
* More style checking.Mattes D2015-05-091-2/+2
| | | | Spaces around some operators are checked.
* Added proper trees to Mesa biomesSTRWarrior2015-03-081-6/+10
| | | | Mesa only has small apple trees.
* Refactored all player block placing to go through hooks.Mattes D2014-12-241-7/+7
| | | | Fixes #1618.
* Changed commentSTRWarrior2014-11-161-1/+1
| | | | Suggestion by xoft
* First implementation for the LargeOakTreeSTRWarrior2014-11-131-2/+104
|
* Added comments to the GetAcaciaTreeImage functionSTRWarrior2014-10-081-0/+18
|
* Using array with possible directions.STRWarrior2014-10-081-8/+9
|
* Added AcaciaTrees for the savanna biomesSTRWarrior2014-10-081-5/+56
|
* Added proper trees and height for SwamplandM biomeSTRWarrior2014-08-021-1/+1
|
* SuggestionsSTRWarrior2014-07-301-2/+2
|
* Moved GetRoofedForestTreeImage content to GetDarkoakTreeImageSTRWarrior2014-07-301-64/+55
|
* Fixed comment at the end of a for-loopSTRWarrior2014-07-301-1/+1
|
* Fixed compiling using ClangSTRWarrior2014-07-301-4/+2
|
* Added RoofedForest trees.STRWarrior2014-07-301-2/+71
| | | | Could still be improved allot.
* Trees.cpp: removed unused "debug" fieldsarchshift2014-07-191-7/+1
|
* Fixed code style in Trees.cpp.madmaxoft2014-07-171-24/+24
| | | | The src folder now has zero BasicStyle violations.
* Basic style fixes.madmaxoft2014-07-171-4/+4
|
* Normalized comments.madmaxoft2014-07-171-5/+5
| | | | | 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.
* More switch warnings.archshift2014-05-121-7/+27
|
* Fixed MSVC 64-bit build warnings.Mattes D2014-05-091-1/+1
|
* WarningsTycho2014-03-071-1/+1
|
* Add BlockNewLeaves.h and rename Darkoac to DarkoakHowaner2014-02-191-1/+1
|
* Add new Trees (without Generator)Howaner2014-02-191-0/+18
|
* Added function to create Tall Birch tree in BirchTreeForest biomesMike Hunsinger2013-12-291-3/+46
|
* Trees will generate in the new biomes.madmaxoft2013-11-281-0/+50
| | | | Only the generic trees, the special variants haven't yet been implemented.
* Moved source to srcAlexander Harkness2013-11-241-0/+684