summaryrefslogtreecommitdiffstats
path: root/src/Generating/PiecePool.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-04-08cPieceModifier interface and cPieceModifierRandomizeBlocks class (#5122)Damián Imrich1-0/+40
2021-03-18shared_ptr -> unique_ptr in generatorsTiger Wang1-7/+2
2020-05-15Enable some more clang-tidy linter checks (#4738)peterbell101-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
2017-07-21Remove smart pointer macrospeterbell101-2/+2
2017-05-04Gen: Moved PiecePool into a separate file.Mattes D1-124/+13
Also rewritten the PieceGenerator to use std::unique_ptr.
2017-02-13PieceGenerator: Added rotation-aware vertical connectors.Mattes D1-3/+49
2016-02-05Bulk clearing of whitespaceLogicParrot1-31/+31
2015-12-01Added PieceStructures generator.Mattes D1-18/+120
2014-11-18Moved all Noise-related files into a separate folder.Mattes D1-1/+1
2014-07-17Basic style fixes.madmaxoft1-2/+2
2014-05-27cPieceGenerator chooses starting pieces based on weights.madmaxoft1-0/+9
Fixes #1033.
2014-05-25Added support for Miners' Village.madmaxoft1-5/+16
The village contains both prefabs that snap to ground and prefabs that connect strictly via connectors. Fixes #1027.
2014-05-22Villages have min and max density setting.madmaxoft1-0/+5
Also made roads use 3+9 scheme, instead of 3+5, for the house connectors. Fixes #1020.
2014-05-17Village roads are drawn properly.madmaxoft1-2/+2
2014-05-17Village houses are height-adjusted onto the terrain.madmaxoft1-0/+7
2014-05-05Changed cPieceGenerator to support pairings.madmaxoft1-1/+2
Fixes #982.
2014-04-15Added support for per-piece per-placement weights in cPieceGenerator.madmaxoft1-1/+19
Ref.: #753.
2014-03-14Fixed xofts issuesTycho1-2/+2
2014-03-11Fixed Warnings in PieceGeneratorTycho1-2/+2
2014-03-09A working POCPiece generator.madmaxoft1-1/+9
2014-03-09cPieceGenerator: New connectors are added to the free pool.madmaxoft1-3/+4
2014-03-09PieceGenerator can connect two connectors of the same type.madmaxoft1-13/+38
Also added extensive debugging output and a test.
2014-03-09Added the first skeleton code for PieceGenerator.madmaxoft1-0/+213
This is a WIP and won't work / isn't used at all.