Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2023-05-16 | Removed all Printf-family functions from StringUtils. | Mattes D | 1 | -2/+2 | |
Replaced them with fmt::format calls, including changes to the format strings. Also changed the format strings to use FMT_STRING, so that the format is checked compile-time against the arguments. Also fixed code-style violations already present in the code. | |||||
2021-03-18 | shared_ptr -> unique_ptr in generators | Tiger Wang | 1 | -14/+10 | |
2020-05-15 | Enable some more clang-tidy linter checks (#4738) | peterbell10 | 1 | -3/+3 | |
* 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 | |||||
2020-04-16 | Using Super. | Mattes D | 1 | -9/+12 | |
2020-04-03 | Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) | Mattes D | 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 | |||||
2019-09-08 | ShapeGen, HeiGen: Changed to use cChunkCoords. | Mattes D | 1 | -2/+2 | |
2019-09-08 | BiomeGen: Changed to use cChunkCoords params. | Mattes D | 1 | -1/+1 | |
2017-08-17 | Changed int parameters to vector parameters in cCuboid and simulators (#3874) | Lane Kolbly | 1 | -1/+4 | |
2017-07-21 | Remove smart pointer macros | peterbell10 | 1 | -1/+1 | |
2017-05-21 | Clang 5.0 fixes | Lukas Pioch | 1 | -2/+2 | |
- Added override keyword - Removed inherited member variables | |||||
2017-05-04 | Gen: Moved PiecePool into a separate file. | Mattes D | 1 | -9/+5 | |
Also rewritten the PieceGenerator to use std::unique_ptr. | |||||
2017-02-13 | PieceGenerator: Added rotation-aware vertical connectors. | Mattes D | 1 | -6/+6 | |
2016-12-01 | Fixed villages generating under-water. | Mattes D | 1 | -3/+4 | |
The CompoGenBiomal didn't update the heightmap properly. | |||||
2016-02-05 | Bulk clearing of whitespace | LogicParrot | 1 | -35/+35 | |
2015-12-01 | Added PieceStructures generator. | Mattes D | 1 | -16/+8 | |
2015-06-20 | Added basic support for loading village prefabs from files. | Mattes D | 1 | -86/+76 | |
2015-05-24 | Made -Weverything an error. | tycho | 1 | -4/+4 | |
2015-05-23 | Fixed missing overrides and added a ignore flag for reserved macro for clang version 3.6 and higher. | Lukas Pioch | 1 | -2/+2 | |
2015-05-19 | Fixed some more warnings | tycho | 1 | -2/+2 | |
2015-05-09 | More style checking. | Mattes D | 1 | -1/+1 | |
Spaces around some operators are checked. | |||||
2014-11-26 | Merge remote-tracking branch 'origin-master' into c++11 | Tiger Wang | 1 | -3/+3 | |
2014-11-12 | Generator: Shape initial refactoring. | Mattes D | 1 | -3/+3 | |
The code compiles, but several structure generators are broken, crash on start. | |||||
2014-10-23 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -2/+2 | |
2014-10-20 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -2/+2 | |
2014-10-19 | Generator: Rewritten to use SharedPtrs. | Mattes D | 1 | -6/+6 | |
2014-08-03 | VillageGen: Fixed a typo in comment | STRWarrior | 1 | -1/+1 | |
2014-07-17 | Fixed tabs used for alignment. | madmaxoft | 1 | -1/+1 | |
2014-07-17 | Normalized comments. | madmaxoft | 1 | -1/+1 | |
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. | |||||
2014-06-16 | Merge branch 'master' of github.com:mc-server/MCServer | Tycho | 1 | -5/+6 | |
2014-06-15 | Added random offsets to cGridStructGen. | madmaxoft | 1 | -5/+6 | |
Fixes #740. | |||||
2014-06-11 | Roads in villages are made out of wooden planks if they generate on water. | STRWarrior | 1 | -4/+17 | |
2014-05-31 | Fixed a memory leak in VillagGen. | madmaxoft | 1 | -0/+5 | |
2014-05-27 | Added AlchemistVillage prefabs (Thanks, KingsCraftAu). | madmaxoft | 1 | -9/+23 | |
2014-05-25 | Added support for Miners' Village. | madmaxoft | 1 | -5/+40 | |
The village contains both prefabs that snap to ground and prefabs that connect strictly via connectors. Fixes #1027. | |||||
2014-05-24 | Added Japanese village prefabs. | madmaxoft | 1 | -4/+11 | |
2014-05-22 | Villages have min and max density setting. | madmaxoft | 1 | -12/+80 | |
Also made roads use 3+9 scheme, instead of 3+5, for the house connectors. Fixes #1020. | |||||
2014-05-21 | Changed desert village roads to gravel. | madmaxoft | 1 | -1/+1 | |
2014-05-21 | Added second kind of desert village (FlatRoof). | madmaxoft | 1 | -4/+9 | |
2014-05-17 | Village roads are drawn properly. | madmaxoft | 1 | -6/+33 | |
2014-05-17 | Village houses are height-adjusted onto the terrain. | madmaxoft | 1 | -5/+36 | |
2014-05-15 | Changed village road generation to use multiple prefabs. | madmaxoft | 1 | -31/+30 | |
2014-05-15 | VillageGen rewritten using BFSPieceGenerator. | madmaxoft | 1 | -105/+91 | |
Piece composition is not good yet, the buildings aren't height-adjusted and the road pieces will need special processing. This is mainly for adjusting the per-piece params. | |||||
2014-05-12 | VillageGen: Added well placement and the general algorithm description. | madmaxoft | 1 | -5/+142 | |
2014-05-11 | Initial VillageGen implementation. | madmaxoft | 1 | -0/+116 | |
WIP, doesn't generate anything yet. Ref.: 740. |