summaryrefslogtreecommitdiffstats
path: root/src/Generating/CMakeLists.txt (follow)
Commit message (Collapse)AuthorAgeFilesLines
* cPieceModifier interface and cPieceModifierRandomizeBlocks class (#5122)Damián Imrich2021-04-081-0/+2
|
* Obsidian pillars, end fountain, not Ender dragon spawning (#4993)12xx122021-04-081-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * added generator for obsidian pillars and central fountain which then is used for the exit portal * checkstyle * checkstyle the second * fixed clang removed magic number added Clamp * make the pillars configurable * fixed clang added warning if there was a unknown value if the tower should have a cage or not * forgot to cancel on unkwon value * fixed clang this time maybe * added new generator to generator test * fixed test * added prefab generation for end fountain * fixed checkstyle and updated the prefab * added ender dragon spawning made the fountain positioning dynamic removed fountain placement functions * added enderdragon stuff to testing * pls compile * added changes suggested by @peterbell10 * fixed clang * added debug for further research on the ARM build * ok - it wasn't my tower placement * checking in setup * readded the fountain schematic * removed finisher * readded generator * removed generator trigger - kept ini file access * using cChunkDef function to calculate abs pos of endercrystal * yes, I know it's unused... * commented everything in the ComposableGenerator.cpp - so only the new class in compiled in but not called at all * don't compile in the new generator at all (removed from CMakeLists.txt) * readded the new generator * readded the new generator * removed debug output * made the towers generate acrocc chunk borders * fixed bad merge * fixed clang * fixed clang * generate the dragon 20 blocks above terrain * trying to fixed weird undefined reference * maybe this fixes the weird behaviour * takes chunk width as parameter now * added new comments with info to generated structures removed ender dragon spawning removed chunkwidth from parameter * fixed linker * maybe fixed linking. tried with gc and clang * fixed ender crystal * fixed test * updated output strings * fixed build * fixed up test * fixed test compile * fixed test - cant get the tests to show up * removed the semicolon * maybe this is the fix? * at this point i have no idea - in MVSC it works * removed the ender dragon Co-authored-by: 12xx12 <12xx12100@gmail.com>
* Adding Generator For Single Piece Structures (#4830)12xx122020-09-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Upgrade to C++17 [CMake] (#4717)Tiger Wang2020-05-161-8/+2
| | | * Make our CMake slightly less insane
* Cleanup some workarounds and warnings (#4735)peterbell102020-05-101-4/+0
| | | | | | | | | * Cleanup thread_local usage in FastRandom * Use constexpr to avoid clang warning * Fix more Wglobal-constructor warnings * Make MSVC happy?
* Force all headers other than "Globals.h" to be included with relative paths (#4269)peterbell102018-08-291-3/+0
| | | | | | | Closes #4236 CMake now creates a header file in the build directory under the path "include/Globals.h" which just includes "src/Globals.h" with an absolute path. Then instead of adding "src/" to the include directories, it adds "include/". #include "Globals.h" still works by including the build generated file and any other src-relative path will not work.
* Add the fmt library (#4065)peterbell102018-01-031-1/+1
| | | | | | | * Replaces AppendVPrintf with fmt::sprintf * fmt::ArgList now used as a type safe alternative to varargs. * Removed SIZE_T_FMT compatibility macros. fmt::sprintf is fully portable and supports %zu. * Adds FLOG functions to log with fmt's native formatting style.
* Fix switch warnings (#4013)peterbell102017-09-141-8/+1
| | | | | | | | | | | | | | | * Fix switch warnings * Fix a variety of -Wswitch and -Wswitch-enum warnings * Remove unneeded -Wno-error flags * Reorganise some eMonsterType switches * Alpha sort eMonsterType cases in WriteMobMetadata and in cNBTChunkSerializer::AddMonsterEntity * List all mob types in protocol 1.12 and NBTChunkSerializer * cStructGenTrees::GetNumTrees: remove switch default * cWSSAnvil::LoadOldMinecartFromNBT: Log unhandled minecart type
* Gen: Moved PiecePool into a separate file.Mattes D2017-05-041-2/+4
| | | | Also rewritten the PieceGenerator to use std::unique_ptr.
* Fixed type-casting-related warnings.Mattes D2016-08-241-8/+2
|
* CMake: Remove needless minimum version specifications.Mattes D2016-07-181-2/+0
|
* Renamed leftover strings to Cuberite / Server, as needed.Mattes D2016-01-011-1/+1
| | | | Also upgraded the user setting file for MSVC to 2013.
* Added PieceStructures generator.Mattes D2015-12-011-14/+8
|
* Silenced and fixed many warning messages across multiple files.Samuel Barney2015-07-291-7/+1
|
* Fixed warnings generated by 64-bit MSVC.Mattes D2015-07-071-1/+1
|
* Externalized cPrefabPiecePool self-test.Mattes D2015-06-191-1/+1
|
* Made -Weverything an error.tycho2015-05-241-5/+15
|
* Fix teststycho2015-05-231-0/+2
|
* Make -Werror disabling file onlytycho2015-05-191-0/+14
| | | | Ad fix a load of warnings
* Added TwoHeights shape generator.Mattes D2014-11-231-2/+6
| | | | This is a faster shape generator that can generate overhangs and has biome awareness.
* Gen refactor: Implemented CompositedHeiGen.Mattes D2014-11-131-0/+1
| | | | This fixes crashes in the Village generator due to the missing generator.
* Generator: Shape initial refactoring.Mattes D2014-11-121-0/+3
| | | | The code compiles, but several structure generators are broken, crash on start.
* QtBiomeVisualiser: Added a prototyping int generator flavor.Mattes D2014-10-301-0/+1
| | | | This generator is easier to manipulate, since it doesn't require rewriting the sizes in the template parameters. On the other hand, it doesn't optimize so well, so it's a bit slower.
* Added a missing header to CMakeLists.Mattes D2014-10-261-0/+1
|
* Removed iniFile library from linux dependencies.Mattes D2014-10-231-1/+1
|
* Added initial dungeon rooms finisher.Mattes D2014-08-261-0/+2
|
* RoughRavines: Initial generator implementation.madmaxoft2014-07-271-0/+2
| | | | This provides the basic shape of the ravines, with the basic settings based on GridStructGen, and good default values.
* Subdirs: Only add_library if not using MSVCarchshift2014-07-191-2/+4
|
* Generating/CMakeLists.txt: Replaced glob with list of filesarchshift2014-07-191-5/+54
|
* Cmake generated projects for IDEs include headers in project files.archshift2014-04-251-0/+1
|
* dded dependecy on Blocks to GeneratorTycho2014-01-251-1/+1
|
* Added Inifile and OSSupport LinkingTycho2014-01-191-0/+2
|
* moved generating to globsTycho Bickerstaff2013-12-111-1/+5
|
* more cmakeTycho Bickerstaff2013-12-101-0/+7