Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Some emplace_back replacements (#5149) | 12xx12 | 2021-03-07 | 1 | -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 D | 2020-04-03 | 1 | -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) | peterbell10 | 2018-07-26 | 1 | -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 Kolbly | 2017-08-17 | 1 | -2/+2 |
| | |||||
* | PieceGenerator: Added rotation-aware vertical connectors. | Mattes D | 2017-02-13 | 1 | -7/+7 |
| | |||||
* | Moved cPrefab parser self-check to the LoadablePieces test. (#3536) | Mattes D | 2017-01-15 | 1 | -105/+0 |
| | |||||
* | Prefabs: Implemented support for ExpandFloorStrategy. | Mattes D | 2016-11-24 | 1 | -34/+82 |
| | |||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 1 | -22/+22 |
| | |||||
* | PrefabPiecePool: Added loading from cubeset file. | Mattes D | 2015-06-18 | 1 | -0/+49 |
| | |||||
* | Made -Weverything an error. | tycho | 2015-05-24 | 1 | -5/+5 |
| | |||||
* | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 1 | -3/+3 |
| | |||||
* | Basic style fixes. | madmaxoft | 2014-07-17 | 1 | -1/+1 |
| | |||||
* | Prefabs don't draw into chunk if they don't intersect. | madmaxoft | 2014-06-23 | 1 | -0/+11 |
| | |||||
* | Fixed prefab test initialization. | madmaxoft | 2014-05-26 | 1 | -0/+3 |
| | |||||
* | Added support for Miners' Village. | madmaxoft | 2014-05-25 | 1 | -2/+4 |
| | | | | | The village contains both prefabs that snap to ground and prefabs that connect strictly via connectors. Fixes #1027. | ||||
* | Added Japanese village prefabs. | madmaxoft | 2014-05-24 | 1 | -0/+9 |
| | |||||
* | Village houses are height-adjusted onto the terrain. | madmaxoft | 2014-05-17 | 1 | -2/+10 |
| | |||||
* | cPrefab can be constructed in code. | madmaxoft | 2014-05-15 | 1 | -0/+36 |
| | |||||
* | Prefabs can specify that they don't want flooring. | madmaxoft | 2014-05-05 | 1 | -30/+33 |
| | | | | Previously the flag was ignored. | ||||
* | Removed unneeded assert | Tycho | 2014-04-27 | 1 | -1/+1 |
| | | | | Fixed CID 43610 | ||||
* | Added prefab hitboxes. | madmaxoft | 2014-04-21 | 1 | -1/+8 |
| | | | | The nether forts should quite limit their bridge-to-floor overlaps. Cannot eliminate, but at least severely diminish. | ||||
* | Added area flooring. | madmaxoft | 2014-04-17 | 1 | -1/+42 |
| | | | | Fixes #743. | ||||
* | Added Prefab initializers to SELFTEST code. | madmaxoft | 2014-04-17 | 1 | -1/+13 |
| | |||||
* | Prefabs can have per-piece per-placement weights. | madmaxoft | 2014-04-17 | 1 | -1/+73 |
| | | | | | Fixes #753. Also upgraded NetherFortPrefabs to lates Gallery contents. | ||||
* | Added asserts for critical data in cPrefab. | madmaxoft | 2014-03-30 | 1 | -0/+4 |
| | |||||
* | cPrefab now uses a struct for block type definition in CharMap. | madmaxoft | 2014-03-29 | 1 | -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. | madmaxoft | 2014-03-28 | 1 | -4/+28 |
| | |||||
* | cPrefab can draw itself into a cChunkDesc. | madmaxoft | 2014-03-27 | 1 | -4/+7 |
| | |||||
* | Prefabs support connectors, rotations and merge strategy. | madmaxoft | 2014-03-26 | 1 | -2/+63 |
| | |||||
* | Added a basic cPrefab class. | madmaxoft | 2014-03-25 | 1 | -0/+139 |
Can be defined in the source by GalExport's cpp output. |