Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Enable some more clang-tidy linter checks (#4738) | peterbell10 | 2020-05-15 | 1 | -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) | mBornand | 2020-05-06 | 1 | -17/+33 |
| | |||||
* | 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 | -252/+300 |
| | |||||
* | Separated chunk generator from world / plugin interfaces. | Mattes D | 2019-09-06 | 1 | -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) | peterbell10 | 2017-08-03 | 1 | -1/+0 |
| | |||||
* | Fix floating large trees (#3460) | James Balajan | 2016-12-02 | 1 | -0/+18 |
| | |||||
* | Normalized Vector3 API to use the same capitalization as all else. | Mattes D | 2016-06-10 | 1 | -2/+2 |
| | |||||
* | Reduced unnecessary block updates | LogicParrot | 2016-04-22 | 1 | -15/+11 |
| | |||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 1 | -49/+49 |
| | |||||
* | Unified the doxy-comment format. | Mattes D | 2015-07-31 | 1 | -1/+1 |
| | |||||
* | Sapling Growth Update | Samuel Barney | 2015-07-13 | 1 | -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. | tycho | 2015-05-24 | 1 | -2/+2 |
| | |||||
* | Fixed some more warnings | tycho | 2015-05-19 | 1 | -20/+20 |
| | |||||
* | More style checking. | Mattes D | 2015-05-09 | 1 | -2/+2 |
| | | | | Spaces around some operators are checked. | ||||
* | Added proper trees to Mesa biomes | STRWarrior | 2015-03-08 | 1 | -6/+10 |
| | | | | Mesa only has small apple trees. | ||||
* | Refactored all player block placing to go through hooks. | Mattes D | 2014-12-24 | 1 | -7/+7 |
| | | | | Fixes #1618. | ||||
* | Changed comment | STRWarrior | 2014-11-16 | 1 | -1/+1 |
| | | | | Suggestion by xoft | ||||
* | First implementation for the LargeOakTree | STRWarrior | 2014-11-13 | 1 | -2/+104 |
| | |||||
* | Added comments to the GetAcaciaTreeImage function | STRWarrior | 2014-10-08 | 1 | -0/+18 |
| | |||||
* | Using array with possible directions. | STRWarrior | 2014-10-08 | 1 | -8/+9 |
| | |||||
* | Added AcaciaTrees for the savanna biomes | STRWarrior | 2014-10-08 | 1 | -5/+56 |
| | |||||
* | Added proper trees and height for SwamplandM biome | STRWarrior | 2014-08-02 | 1 | -1/+1 |
| | |||||
* | Suggestions | STRWarrior | 2014-07-30 | 1 | -2/+2 |
| | |||||
* | Moved GetRoofedForestTreeImage content to GetDarkoakTreeImage | STRWarrior | 2014-07-30 | 1 | -64/+55 |
| | |||||
* | Fixed comment at the end of a for-loop | STRWarrior | 2014-07-30 | 1 | -1/+1 |
| | |||||
* | Fixed compiling using Clang | STRWarrior | 2014-07-30 | 1 | -4/+2 |
| | |||||
* | Added RoofedForest trees. | STRWarrior | 2014-07-30 | 1 | -2/+71 |
| | | | | Could still be improved allot. | ||||
* | Trees.cpp: removed unused "debug" fields | archshift | 2014-07-19 | 1 | -7/+1 |
| | |||||
* | Fixed code style in Trees.cpp. | madmaxoft | 2014-07-17 | 1 | -24/+24 |
| | | | | The src folder now has zero BasicStyle violations. | ||||
* | Basic style fixes. | madmaxoft | 2014-07-17 | 1 | -4/+4 |
| | |||||
* | Normalized comments. | madmaxoft | 2014-07-17 | 1 | -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. | archshift | 2014-05-12 | 1 | -7/+27 |
| | |||||
* | Fixed MSVC 64-bit build warnings. | Mattes D | 2014-05-09 | 1 | -1/+1 |
| | |||||
* | Warnings | Tycho | 2014-03-07 | 1 | -1/+1 |
| | |||||
* | Add BlockNewLeaves.h and rename Darkoac to Darkoak | Howaner | 2014-02-19 | 1 | -1/+1 |
| | |||||
* | Add new Trees (without Generator) | Howaner | 2014-02-19 | 1 | -0/+18 |
| | |||||
* | Added function to create Tall Birch tree in BirchTreeForest biomes | Mike Hunsinger | 2013-12-29 | 1 | -3/+46 |
| | |||||
* | Trees will generate in the new biomes. | madmaxoft | 2013-11-28 | 1 | -0/+50 |
| | | | | Only the generic trees, the special variants haven't yet been implemented. | ||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+684 |