summaryrefslogtreecommitdiffstats
path: root/src/Generating/RoughRavines.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-01-26Fix debug macro situation (#5114)Tiger Wang1-2/+2
Use the standard NDEBUG.
2020-04-16Using Super.Mattes D1-6/+7
2020-04-03Pulled the BlockID and BlockInfo headers from Globals.h. (#4591)Mattes D1-0/+1
The BlockID.h file was removed from Globals.h and renamed to BlockType.h (main change) The BlockInfo.h file was removed from Globals.h (main change) The ENUM_BLOCK_ID and ENUM_ITEM_ID enum names were replaced with ENUM_BLOCK_TYPE and ENUM_ITEM_TYPE (cosmetics) The various enums, such as eDimension, eDamageType and eExplosionSource were moved from BlockType.h to Defines.h, together with the helper functions for converting between them and strings (StringToDimension et al.) (minor) Many inline functions were moved from headers to their respective cpp files, so that BlockType.h could be included only into the cpp file, rather than the header. That broke our tests a bit, since they pick bits and pieces out of the main code and provide stubs for the rest; they had to be re-stubbed and re-verified. eMonsterType values are no longer tied to E_ITEM_SPAWN_EGG_META_* values
2017-05-21Clang 5.0 fixesLukas Pioch1-1/+0
- Added override keyword - Removed inherited member variables
2016-08-24Fixed type-casting-related warnings.Mattes D1-3/+3
2016-02-05Bulk clearing of whitespaceLogicParrot1-22/+22
2015-08-12Fix old style casts and implicit conversionsMatti Hänninen1-7/+7
2015-05-19More fixed warningstycho1-8/+8
2014-07-29Added cBlockInfo::CanBeTerraformed and made finishers use itSTRWarrior1-22/+4
I might have forgotten some of them though
2014-07-27RoughRavines: Made floor and ceiling settings-adjustable.madmaxoft1-9/+42
The world.ini has settings for the minimum and maximum height for each at the ravines' center and edges.
2014-07-27RoughRavines: Added per-height radius modifier. Ledges!madmaxoft1-32/+73
2014-07-27RoughRavines: More settings - size, width, roughnessmadmaxoft1-18/+48
2014-07-27RoughRavines: Initial generator implementation.madmaxoft1-0/+214
This provides the basic shape of the ravines, with the basic settings based on GridStructGen, and good default values.