summaryrefslogtreecommitdiffstats
path: root/src/Generating/CMakeLists.txt (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-04-08cPieceModifier interface and cPieceModifierRandomizeBlocks class (#5122)Damián Imrich1-0/+2
2021-04-08Obsidian pillars, end fountain, not Ender dragon spawning (#4993)12xx121-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>
2020-09-18Adding Generator For Single Piece Structures (#4830)12xx121-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>
2020-05-16Upgrade to C++17 [CMake] (#4717)Tiger Wang1-8/+2
* Make our CMake slightly less insane
2020-05-10Cleanup some workarounds and warnings (#4735)peterbell101-4/+0
* Cleanup thread_local usage in FastRandom * Use constexpr to avoid clang warning * Fix more Wglobal-constructor warnings * Make MSVC happy?
2018-08-29Force all headers other than "Globals.h" to be included with relative paths (#4269)peterbell101-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.
2018-01-03Add the fmt library (#4065)peterbell101-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.
2017-09-14Fix switch warnings (#4013)peterbell101-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
2017-05-04Gen: Moved PiecePool into a separate file.Mattes D1-2/+4
Also rewritten the PieceGenerator to use std::unique_ptr.
2016-08-24Fixed type-casting-related warnings.Mattes D1-8/+2
2016-07-18CMake: Remove needless minimum version specifications.Mattes D1-2/+0
2016-01-01Renamed leftover strings to Cuberite / Server, as needed.Mattes D1-1/+1
Also upgraded the user setting file for MSVC to 2013.
2015-12-01Added PieceStructures generator.Mattes D1-14/+8
2015-07-29Silenced and fixed many warning messages across multiple files.Samuel Barney1-7/+1
2015-07-07Fixed warnings generated by 64-bit MSVC.Mattes D1-1/+1
2015-06-19Externalized cPrefabPiecePool self-test.Mattes D1-1/+1
2015-05-24Made -Weverything an error.tycho1-5/+15
2015-05-23Fix teststycho1-0/+2
2015-05-19Make -Werror disabling file onlytycho1-0/+14
Ad fix a load of warnings
2014-11-26Merge remote-tracking branch 'origin-master' into c++11Tiger Wang1-2/+10
2014-11-23Added TwoHeights shape generator.Mattes D1-2/+6
This is a faster shape generator that can generate overhangs and has biome awareness.
2014-11-13Gen refactor: Implemented CompositedHeiGen.Mattes D1-0/+1
This fixes crashes in the Village generator due to the missing generator.
2014-11-12Generator: Shape initial refactoring.Mattes D1-0/+3
The code compiles, but several structure generators are broken, crash on start.
2014-10-30QtBiomeVisualiser: Added a prototyping int generator flavor.Mattes D1-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.
2014-10-26Added a missing header to CMakeLists.Mattes D1-0/+1
2014-10-23Removed iniFile library from linux dependencies.Mattes D1-1/+1
2014-08-26Added initial dungeon rooms finisher.Mattes D1-0/+2
2014-07-27RoughRavines: Initial generator implementation.madmaxoft1-0/+2
This provides the basic shape of the ravines, with the basic settings based on GridStructGen, and good default values.
2014-07-19Subdirs: Only add_library if not using MSVCarchshift1-2/+4
2014-07-19Generating/CMakeLists.txt: Replaced glob with list of filesarchshift1-5/+54
2014-04-25Cmake generated projects for IDEs include headers in project files.archshift1-0/+1
2014-01-25dded dependecy on Blocks to GeneratorTycho1-1/+1
2014-01-19Added Inifile and OSSupport LinkingTycho1-0/+2
2013-12-11moved generating to globsTycho Bickerstaff1-1/+5
2013-12-10more cmakeTycho Bickerstaff1-1/+1
2013-12-10started work on cmakeTycho Bickerstaff1-0/+7