QcShowcasePlan Struct
The finished layout of the showcase world (decision E-220): the flat ground, every structure placement with an index by chunk, the labels by chunk, the one-time setup and the tour. More...
| Header: | #include <worldgen/showcase/QcShowcasePlan.h> |
Public Functions
| int | groundTop() const |
| qsizetype | labelCount() const |
Public Variables
| QList<QcShowcaseAreaInfo> | areas |
| QHash<QcChunkPos, QcChunkFurnishing> | furnishingByChunk |
| QList<QcBlockId> | groundColumn |
| QHash<QcChunkPos, QList<QcWorldLabel>> | labelsByChunk |
| QList<QcStructurePlacement> | placements |
| QHash<QcChunkPos, QList<qsizetype>> | placementsByChunk |
| QHash<QcChunkPos, QList<QcBlockPos>> | pointsOfInterestByChunk |
| QcWorldSetup | setup |
| QcStructureSites | sites |
| QcBlockPos | spawn |
| QList<QcShowcaseTourStop> | tour |
| QList<std::shared_ptr<const QcVillagePlan>> | villages |
Detailed Description
Built once per content (QcShowcasePlanner), immutable afterwards and read by the generator's threads.
Member Function Documentation
int QcShowcasePlan::groundTop() const
Returns the height of the ground's top layer.
qsizetype QcShowcasePlan::labelCount() const
Returns the number of labels in all chunks.
Member Variable Documentation
QList<QcShowcaseAreaInfo> QcShowcasePlan::areas
Where each area lies.
QHash<QcChunkPos, QcChunkFurnishing> QcShowcasePlan::furnishingByChunk
The structures' spawners and loot chests by chunk (decision E-520).
QList<QcBlockId> QcShowcasePlan::groundColumn
Block per height of the flat ground, from y 0 to the top layer.
QHash<QcChunkPos, QList<QcWorldLabel>> QcShowcasePlan::labelsByChunk
The labels by chunk.
QList<QcStructurePlacement> QcShowcasePlan::placements
Every structure placement.
QHash<QcChunkPos, QList<qsizetype>> QcShowcasePlan::placementsByChunk
Indices into placements of the placements that reach into each chunk.
QHash<QcChunkPos, QList<QcBlockPos>> QcShowcasePlan::pointsOfInterestByChunk
The areas' points of interest (QcShowcaseArea::pointsOfInterest) by chunk, in their order.
QcWorldSetup QcShowcasePlan::setup
What the world gets once when it is created.
QcStructureSites QcShowcasePlan::sites
The structures' guardian zones (decision E-591) and spawn areas (decision E-871).
QcBlockPos QcShowcasePlan::spawn
The spawn point: on the ground at the origin.
QList<QcShowcaseTourStop> QcShowcasePlan::tour
The stops of the screenshot tour, in order.
QList<std::shared_ptr<const QcVillagePlan>> QcShowcasePlan::villages
The rows of the village area, each a village of its own (decision E-411).