summaryrefslogtreecommitdiffstats
path: root/src/Generating/DungeonRoomsFinisher.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
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
2019-09-08ShapeGen, HeiGen: Changed to use cChunkCoords.Mattes D1-1/+1
2018-07-26CheckBasicStyle: Check number of empty lines between functions (#4267)peterbell101-2/+0
Add check for number of empty lines between functions and fix the corresponding failures
2017-06-13FastRandom rewrite (#3754)peterbell101-2/+2
2017-02-14Added some blocks and items (#3503)mathiascode1-0/+7
2015-07-31Unified the doxy-comment format.Mattes D1-1/+1
2015-05-24Made -Weverything an error.tycho1-2/+2
2014-12-11Fixed DungeonRooms edges not generating sometimes.Mattes D1-2/+2
2014-12-02Fixed forgotten semicolonSTRWarrior1-1/+1
2014-12-02Using IntNoise3DInt instead of IntNoise3DSTRWarrior1-1/+1
2014-12-02Suggestions by xoftSTRWarrior1-3/+3
Using IntNoise3D to prevent needless floating point math
2014-12-01Using static cast for Dungeon spawnersSTRWarrior1-1/+1
2014-12-01Dungeons spawners now spawn mobsSTRWarrior1-1/+22
25% for a spider, 25% for a skeleton and 50% for a zombie spawner.
2014-11-26Merge remote-tracking branch 'origin-master' into c++11Tiger Wang1-8/+17
2014-11-15DungeonRooms: Changed to work with the new shape generators.Mattes D1-10/+15
2014-11-12Generator: Shape initial refactoring.Mattes D1-2/+6
The code compiles, but several structure generators are broken, crash on start.
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-1/+1
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-1/+1
2014-10-19Generator: Rewritten to use SharedPtrs.Mattes D1-2/+2
2014-10-16Reversed wrong fix for #1517.STRWarrior1-8/+2
2014-10-15Reversed the order of the lootSTRWarrior1-7/+15
For some reason the rare items weren't generating at all. Added forgotten Golden Apple
2014-10-15Added loot to dungeons.STRWarrior1-1/+27
2014-08-27DungeonRooms: Fixed an off-by-one error.Mattes D1-2/+2
2014-08-27More basic style fixes.Mattes D1-2/+2
2014-08-27DungeonRooms: Added a height probability distribution function.Mattes D1-3/+7
2014-08-27DungeonRooms: Added the spawner in the center of the room.Mattes D1-0/+15
2014-08-26DungeonRooms: Chests are never placed next to each other.Mattes D1-22/+27
2014-08-26DungeonRooms: Random pattern for floors.Mattes D1-1/+32
2014-08-26DungeonRooms: Replaced explicit switch with CanBeTerraformed().Mattes D1-11/+3
2014-08-26Added initial dungeon rooms finisher.Mattes D1-0/+232