summaryrefslogtreecommitdiffstats
path: root/src/Generating/PiecePool.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Deal with covered switches consistently (#4161)peterbell102018-02-051-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()
* Gen: Moved PiecePool into a separate file.Mattes D2017-05-041-0/+503
Also rewritten the PieceGenerator to use std::unique_ptr.