summaryrefslogtreecommitdiffstats
path: root/src/Generating/Prefab.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
2018-07-26CheckBasicStyle: Check number of empty lines between functions (#4267)peterbell101-0/+1
Add check for number of empty lines between functions and fix the corresponding failures
2017-08-17Changed int parameters to vector parameters in cCuboid and simulators (#3874)Lane Kolbly1-2/+2
2017-02-13PieceGenerator: Added rotation-aware vertical connectors.Mattes D1-7/+7
2017-01-15Moved cPrefab parser self-check to the LoadablePieces test. (#3536)Mattes D1-105/+0
2016-11-24Prefabs: Implemented support for ExpandFloorStrategy.Mattes D1-34/+82
2016-02-05Bulk clearing of whitespaceLogicParrot1-22/+22
2015-06-18PrefabPiecePool: Added loading from cubeset file.Mattes D1-0/+49
2015-05-24Made -Weverything an error.tycho1-5/+5
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-3/+3
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-3/+3
2014-07-17Basic style fixes.madmaxoft1-1/+1
2014-06-23Prefabs don't draw into chunk if they don't intersect.madmaxoft1-0/+11
2014-05-26Fixed prefab test initialization.madmaxoft1-0/+3
2014-05-25Added support for Miners' Village.madmaxoft1-2/+4
The village contains both prefabs that snap to ground and prefabs that connect strictly via connectors. Fixes #1027.
2014-05-24Added Japanese village prefabs.madmaxoft1-0/+9
2014-05-17Village houses are height-adjusted onto the terrain.madmaxoft1-2/+10
2014-05-15cPrefab can be constructed in code.madmaxoft1-0/+36
2014-05-05Prefabs can specify that they don't want flooring.madmaxoft1-30/+33
Previously the flag was ignored.
2014-04-27Removed unneeded assertTycho1-1/+1
Fixed CID 43610
2014-04-21Added prefab hitboxes.madmaxoft1-1/+8
The nether forts should quite limit their bridge-to-floor overlaps. Cannot eliminate, but at least severely diminish.
2014-04-17Added area flooring.madmaxoft1-1/+42
Fixes #743.
2014-04-17Added Prefab initializers to SELFTEST code.madmaxoft1-1/+13
2014-04-17Prefabs can have per-piece per-placement weights.madmaxoft1-1/+73
Fixes #753. Also upgraded NetherFortPrefabs to lates Gallery contents.
2014-03-30Added asserts for critical data in cPrefab.madmaxoft1-0/+4
2014-03-29cPrefab now uses a struct for block type definition in CharMap.madmaxoft1-9/+94
As suggested by worktycho in 7b585290fccd3dc074b1f9feef0af754ab3dd632, instead of packing the two values into a single int, they're packed into a struct. Also added a test code for the prefab parsing in SELF_TEST.
2014-03-28Fixed Prefab's rotations.madmaxoft1-4/+28
2014-03-27cPrefab can draw itself into a cChunkDesc.madmaxoft1-4/+7
2014-03-26Prefabs support connectors, rotations and merge strategy.madmaxoft1-2/+63
2014-03-25Added a basic cPrefab class.madmaxoft1-0/+139
Can be defined in the source by GalExport's cpp output.