summaryrefslogtreecommitdiffstats
path: root/src/Generating/SinglePieceStructuresGen.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-03-18shared_ptr -> unique_ptr in generatorsTiger Wang1-1/+1
2020-09-18Adding Generator For Single Piece Structures (#4830)12xx121-21/+13
* the beginning of a magnificent work - added basic files and classes without functionality * fixed checkstyle * added imports * moved imports * - Adding SinglePieceStructureGen - Adding a cPrefabChestStructure to generate Chests with contents - Added the options and calls to the ComposableGenerator * moved Globals to .h file * removed the chest thingy from the code (for now) * Update SinglePieceStructureGen.cpp * readded whitespace * renamed to SinglePieceStructuresGen for consistency added new classes to test * fixed small things (mostly style and cleanup) removed loottables * added small changes suggested by madmaxoft * small change to documentation * added check for allowed biomes * check only the biome of the origin position * fixed error on IsBiomeAllowed * added new cubesets * updated structures for with sponging * updated biome names * updated metadata to prevent crashing removed debug output * updated structures with sponging * added sponging to deserterWell to make it disappear in sand * small change in meta * rename DesertTemple -> DesertPyramid * minor style changes Co-authored-by: 12xx12 <12xx12100@gmail.com> Co-authored-by: Alexander Harkness <me@bearbin.net>
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
2020-04-16Using Super.Mattes D1-2/+3
2017-08-06Removed unneeded includes (#3902)Lukas Pioch1-1/+0
2017-07-21Remove smart pointer macrospeterbell101-1/+1
2017-05-04Gen: Moved PiecePool into a separate file.Mattes D1-34/+3
Also rewritten the PieceGenerator to use std::unique_ptr.
2016-02-05Bulk clearing of whitespaceLogicParrot1-1/+1
2015-12-01Added PieceStructures generator.Mattes D1-0/+91