re-cover copy-settings through single-building blueprints
This commit is contained in:
@@ -187,6 +187,16 @@ private:
|
||||
std::optional<BuildingId> siteAtTile(QPoint tile) const;
|
||||
|
||||
void placeBlueprintAtTile(QPoint center);
|
||||
// resolveBlueprintGhost (PlacementRules) for one building of the blueprint currently
|
||||
// in placement mode, anchored at the cursor tile `center`.
|
||||
BlueprintGhostResolved resolveBlueprintGhostHere(const BlueprintBuilding& building,
|
||||
QPoint center) const;
|
||||
// The blueprint's stored recipe or schematic id, or empty when it stores none or the
|
||||
// stored one is currently locked (REQ-LOCK-UI-BLUEPRINT).
|
||||
std::string unlockedRecipeId(const BlueprintBuilding& building) const;
|
||||
// Applies a single-building blueprint's settings to the building it is hovering,
|
||||
// instead of placing anything (REQ-UI-BLUEPRINT-TRANSFER).
|
||||
void transferConfigTo(BuildingId id, const BlueprintBuilding& source);
|
||||
|
||||
// Drops despawned or fully-collected debris from the selection
|
||||
// (REQ-UI-DEBRIS-CLICK-SELECT). Called each frame from onFrame().
|
||||
|
||||
Reference in New Issue
Block a user