summaryrefslogtreecommitdiffstats
path: root/src/Generating/PiecePool.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-02-05Deal with covered switches consistently (#4161)peterbell101-20/+5
* Fixes a number of "<function>: not all control paths return a value" warnings on MSVC. * Introduces the UNREACHABLE global macro and uses it instead of conditionally compiled switch defaults. * Move cNBTParseErrorCategory from FastNBT.h into FastNBT.cpp to prevent bad calls to message()
2017-05-04Gen: Moved PiecePool into a separate file.Mattes D1-383/+36
Also rewritten the PieceGenerator to use std::unique_ptr.
2017-02-13PieceGenerator: Added rotation-aware vertical connectors.Mattes D1-18/+269
2016-06-18SelfTests: Removed the unneeded cSelfTests class.Mattes D1-1/+0
2016-02-05Bulk clearing of whitespaceLogicParrot1-14/+14
2015-12-01Added PieceStructures generator.Mattes D1-134/+39
2015-06-11SelfTests are registered and executed after logging framework init.Mattes D1-3/+9
Fixes #2228.
2015-05-24Made -Weverything an error.tycho1-2/+2
2015-05-19More fixed warningstycho1-3/+9
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-2/+2
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-2/+2
2014-07-17Basic style fixes.madmaxoft1-1/+1
2014-07-17Normalized comments.madmaxoft1-8/+8
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-05-27cPieceGenerator chooses starting pieces based on weights.madmaxoft1-1/+25
Fixes #1033.
2014-05-25Added support for Miners' Village.madmaxoft1-1/+12
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/+9
Also made roads use 3+9 scheme, instead of 3+5, for the house connectors. Fixes #1020.
2014-05-17Village houses are height-adjusted onto the terrain.madmaxoft1-0/+11
2014-05-09Fixed MSVC 64-bit build warnings.Mattes D1-2/+2
2014-05-08Fixed MSVC 64-bit build warnings.Mattes D1-2/+2
2014-05-05Changed cPieceGenerator to support pairings.madmaxoft1-2/+3
Fixes #982.
2014-04-15Added support for per-piece per-placement weights in cPieceGenerator.madmaxoft1-27/+29
Ref.: #753.
2014-03-12Fixed printf format compatabiltyTycho1-5/+4
2014-03-12Fixed missing comment terminator.madmaxoft1-1/+1
2014-03-11Fixed Warnings in PieceGeneratorTycho1-7/+7
2014-03-09A working POCPiece generator.madmaxoft1-5/+26
2014-03-09cPieceGenerator: New connectors are added to the free pool.madmaxoft1-6/+26
2014-03-09PieceGenerator can connect two connectors of the same type.madmaxoft1-47/+300
Also added extensive debugging output and a test.
2014-03-09Added the first skeleton code for PieceGenerator.madmaxoft1-0/+332
This is a WIP and won't work / isn't used at all.