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 | ||||
* | Using Super. | Mattes D | 2020-04-16 | 1 | -5/+5 |
| | |||||
* | 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 | ||||
* | ShapeGen, HeiGen: Changed to use cChunkCoords. | Mattes D | 2019-09-08 | 1 | -1/+1 |
| | |||||
* | CheckBasicStyle: Check number of empty lines between functions (#4267) | peterbell10 | 2018-07-26 | 1 | -2/+0 |
| | | | | Add check for number of empty lines between functions and fix the corresponding failures | ||||
* | FastRandom rewrite (#3754) | peterbell10 | 2017-06-13 | 1 | -2/+2 |
| | |||||
* | Added some blocks and items (#3503) | mathiascode | 2017-02-14 | 1 | -0/+7 |
| | |||||
* | Unified the doxy-comment format. | Mattes D | 2015-07-31 | 1 | -1/+1 |
| | |||||
* | Made -Weverything an error. | tycho | 2015-05-24 | 1 | -2/+2 |
| | |||||
* | Fixed DungeonRooms edges not generating sometimes. | Mattes D | 2014-12-11 | 1 | -2/+2 |
| | |||||
* | Fixed forgotten semicolon | STRWarrior | 2014-12-02 | 1 | -1/+1 |
| | |||||
* | Using IntNoise3DInt instead of IntNoise3D | STRWarrior | 2014-12-02 | 1 | -1/+1 |
| | |||||
* | Suggestions by xoft | STRWarrior | 2014-12-02 | 1 | -3/+3 |
| | | | | Using IntNoise3D to prevent needless floating point math | ||||
* | Using static cast for Dungeon spawners | STRWarrior | 2014-12-01 | 1 | -1/+1 |
| | |||||
* | Dungeons spawners now spawn mobs | STRWarrior | 2014-12-01 | 1 | -1/+22 |
| | | | | 25% for a spider, 25% for a skeleton and 50% for a zombie spawner. | ||||
* | DungeonRooms: Changed to work with the new shape generators. | Mattes D | 2014-11-15 | 1 | -10/+15 |
| | |||||
* | Generator: Shape initial refactoring. | Mattes D | 2014-11-12 | 1 | -2/+6 |
| | | | | The code compiles, but several structure generators are broken, crash on start. | ||||
* | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 1 | -1/+1 |
| | |||||
* | Generator: Rewritten to use SharedPtrs. | Mattes D | 2014-10-19 | 1 | -2/+2 |
| | |||||
* | Reversed wrong fix for #1517. | STRWarrior | 2014-10-16 | 1 | -8/+2 |
| | |||||
* | Reversed the order of the loot | STRWarrior | 2014-10-15 | 1 | -7/+15 |
| | | | | | For some reason the rare items weren't generating at all. Added forgotten Golden Apple | ||||
* | Added loot to dungeons. | STRWarrior | 2014-10-15 | 1 | -1/+27 |
| | |||||
* | DungeonRooms: Fixed an off-by-one error. | Mattes D | 2014-08-27 | 1 | -2/+2 |
| | |||||
* | More basic style fixes. | Mattes D | 2014-08-27 | 1 | -2/+2 |
| | |||||
* | DungeonRooms: Added a height probability distribution function. | Mattes D | 2014-08-27 | 1 | -3/+7 |
| | |||||
* | DungeonRooms: Added the spawner in the center of the room. | Mattes D | 2014-08-27 | 1 | -0/+15 |
| | |||||
* | DungeonRooms: Chests are never placed next to each other. | Mattes D | 2014-08-26 | 1 | -22/+27 |
| | |||||
* | DungeonRooms: Random pattern for floors. | Mattes D | 2014-08-26 | 1 | -1/+32 |
| | |||||
* | DungeonRooms: Replaced explicit switch with CanBeTerraformed(). | Mattes D | 2014-08-26 | 1 | -11/+3 |
| | |||||
* | Added initial dungeon rooms finisher. | Mattes D | 2014-08-26 | 1 | -0/+232 |