From c18fe8aa45fa731a134c454dd16e1111742ca936 Mon Sep 17 00:00:00 2001 From: 12xx12 <44411062+12xx12@users.noreply.github.com> Date: Fri, 18 Sep 2020 00:20:50 +0200 Subject: Adding Generator For Single Piece Structures (#4830) * 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 --- tests/Generating/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/Generating/CMakeLists.txt b/tests/Generating/CMakeLists.txt index 241e2efb9..ef121d3ee 100644 --- a/tests/Generating/CMakeLists.txt +++ b/tests/Generating/CMakeLists.txt @@ -57,6 +57,7 @@ set (GENERATING_SRCS ${CMAKE_SOURCE_DIR}/src/Generating/PrefabStructure.cpp ${CMAKE_SOURCE_DIR}/src/Generating/Ravines.cpp ${CMAKE_SOURCE_DIR}/src/Generating/RoughRavines.cpp + ${CMAKE_SOURCE_DIR}/src/Generating/SinglePieceStructuresGen.cpp ${CMAKE_SOURCE_DIR}/src/Generating/StructGen.cpp ${CMAKE_SOURCE_DIR}/src/Generating/Trees.cpp ${CMAKE_SOURCE_DIR}/src/Generating/TwoHeights.cpp @@ -126,6 +127,7 @@ set (GENERATING_HDRS ${CMAKE_SOURCE_DIR}/src/Generating/Ravines.h ${CMAKE_SOURCE_DIR}/src/Generating/RoughRavines.h ${CMAKE_SOURCE_DIR}/src/Generating/ShapeGen.cpp + ${CMAKE_SOURCE_DIR}/src/Generating/SinglePieceStructuresGen.h ${CMAKE_SOURCE_DIR}/src/Generating/StructGen.h ${CMAKE_SOURCE_DIR}/src/Generating/Trees.h ${CMAKE_SOURCE_DIR}/src/Generating/TwoHeights.h -- cgit v1.2.3