re-cover copy-settings through single-building blueprints
This commit is contained in:
@@ -35,6 +35,16 @@ struct ActiveBeam
|
||||
QVector2D targetOffset;
|
||||
};
|
||||
|
||||
// How a placement ghost is colored. Normal shows the building type's own colors
|
||||
// (REQ-BLD-GHOST); the other two override them (REQ-BLD-PLACE-VALID,
|
||||
// REQ-UI-BLUEPRINT-TRANSFER).
|
||||
enum class GhostTint
|
||||
{
|
||||
Normal,
|
||||
Invalid,
|
||||
Transfer
|
||||
};
|
||||
|
||||
// Everything the renderer draws that the simulation does not know about: what the
|
||||
// player has selected, which build mode is active, and the other transient bits of
|
||||
// interaction state the view owns. Assembled fresh each frame and passed by
|
||||
@@ -113,7 +123,7 @@ private:
|
||||
bool centered);
|
||||
void drawBuildingGhost(QPainter& painter, const WorldCoordinates& coordinates,
|
||||
BuildingType type, QPoint anchorTile, Rotation rotation,
|
||||
bool valid, bool showPortTargetGlyphs);
|
||||
GhostTint tint, bool showPortTargetGlyphs);
|
||||
|
||||
// Loads the per-building world icons (REQ-UI-WORLD-ICON) from
|
||||
// <configDir>/../icons/buildings once at construction. Only the building
|
||||
|
||||
Reference in New Issue
Block a user