summaryrefslogtreecommitdiffstats
path: root/src/Generating/Prefab.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Some emplace_back replacements (#5149)12xx122021-03-071-1/+1
| | | * replace push_back with emplace_back when a new object was created in the function call
* Pulled the BlockID and BlockInfo headers from Globals.h. (#4591)Mattes D2020-04-031-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
* CheckBasicStyle: Check number of empty lines between functions (#4267)peterbell102018-07-261-0/+1
| | | | Add check for number of empty lines between functions and fix the corresponding failures
* Changed int parameters to vector parameters in cCuboid and simulators (#3874)Lane Kolbly2017-08-171-2/+2
|
* PieceGenerator: Added rotation-aware vertical connectors.Mattes D2017-02-131-7/+7
|
* Moved cPrefab parser self-check to the LoadablePieces test. (#3536)Mattes D2017-01-151-105/+0
|
* Prefabs: Implemented support for ExpandFloorStrategy.Mattes D2016-11-241-34/+82
|
* Bulk clearing of whitespaceLogicParrot2016-02-051-22/+22
|
* PrefabPiecePool: Added loading from cubeset file.Mattes D2015-06-181-0/+49
|
* Made -Weverything an error.tycho2015-05-241-5/+5
|
* En masse NULL -> nullptr replaceTiger Wang2014-10-231-3/+3
|
* Basic style fixes.madmaxoft2014-07-171-1/+1
|
* Prefabs don't draw into chunk if they don't intersect.madmaxoft2014-06-231-0/+11
|
* Fixed prefab test initialization.madmaxoft2014-05-261-0/+3
|
* Added support for Miners' Village.madmaxoft2014-05-251-2/+4
| | | | | The village contains both prefabs that snap to ground and prefabs that connect strictly via connectors. Fixes #1027.
* Added Japanese village prefabs.madmaxoft2014-05-241-0/+9
|
* Village houses are height-adjusted onto the terrain.madmaxoft2014-05-171-2/+10
|
* cPrefab can be constructed in code.madmaxoft2014-05-151-0/+36
|
* Prefabs can specify that they don't want flooring.madmaxoft2014-05-051-30/+33
| | | | Previously the flag was ignored.
* Removed unneeded assertTycho2014-04-271-1/+1
| | | | Fixed CID 43610
* Added prefab hitboxes.madmaxoft2014-04-211-1/+8
| | | | The nether forts should quite limit their bridge-to-floor overlaps. Cannot eliminate, but at least severely diminish.
* Added area flooring.madmaxoft2014-04-171-1/+42
| | | | Fixes #743.
* Added Prefab initializers to SELFTEST code.madmaxoft2014-04-171-1/+13
|
* Prefabs can have per-piece per-placement weights.madmaxoft2014-04-171-1/+73
| | | | | Fixes #753. Also upgraded NetherFortPrefabs to lates Gallery contents.
* Added asserts for critical data in cPrefab.madmaxoft2014-03-301-0/+4
|
* cPrefab now uses a struct for block type definition in CharMap.madmaxoft2014-03-291-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.
* Fixed Prefab's rotations.madmaxoft2014-03-281-4/+28
|
* cPrefab can draw itself into a cChunkDesc.madmaxoft2014-03-271-4/+7
|
* Prefabs support connectors, rotations and merge strategy.madmaxoft2014-03-261-2/+63
|
* Added a basic cPrefab class.madmaxoft2014-03-251-0/+139
Can be defined in the source by GalExport's cpp output.