summaryrefslogtreecommitdiffstats
path: root/src/Generating/Prefab.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-05-04Gen: Moved PiecePool into a separate file.Mattes D1-1/+1
Also rewritten the PieceGenerator to use std::unique_ptr.
2017-02-13PieceGenerator: Added rotation-aware vertical connectors.Mattes D1-1/+1
2016-11-24Prefabs: Implemented support for ExpandFloorStrategy.Mattes D1-10/+16
2016-02-05Bulk clearing of whitespaceLogicParrot1-41/+41
2015-10-05Generator: Fixed missing hitbox assignment.Mattes D1-0/+3
This had caused village houses to generate too close to each other.
2015-06-18PrefabPiecePool: Added loading from cubeset file.Mattes D1-3/+22
2014-07-17Basic style fixes.madmaxoft1-1/+1
2014-05-25Added support for Miners' Village.madmaxoft1-0/+12
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/+3
2014-05-17Village houses are height-adjusted onto the terrain.madmaxoft1-0/+3
2014-05-15cPrefab can be constructed in code.madmaxoft1-0/+15
2014-05-12VillageGen: Added well placement and the general algorithm description.madmaxoft1-0/+3
2014-04-21Added prefab hitboxes.madmaxoft1-1/+5
The nether forts should quite limit their bridge-to-floor overlaps. Cannot eliminate, but at least severely diminish.
2014-04-17Prefabs can have per-piece per-placement weights.madmaxoft1-1/+67
Fixes #753. Also upgraded NetherFortPrefabs to lates Gallery contents.
2014-03-29cPrefab now uses a struct for block type definition in CharMap.madmaxoft1-1/+8
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-3/+11
2014-03-28Add missing ChunkDesc import.Howaner1-1/+1
2014-03-27cPrefab can draw itself into a cChunkDesc.madmaxoft1-2/+2
2014-03-26Prefabs support connectors, rotations and merge strategy.madmaxoft1-1/+9
2014-03-25Added a basic cPrefab class.madmaxoft1-0/+83
Can be defined in the source by GalExport's cpp output.