Commit Graph

8 Commits

Author SHA1 Message Date
a83dd33c5c Make railgun S/M/L distinct via barrel count (1/2/3)
Railgun M was a single barrel like S, so they read the same at 16px.
Reworked M to two barrels and L to three (was two), giving a clear
1/2/3-barrel tier ladder. viewBoxes tightened to fill the slot.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y7N59FsLA5e2kuVdqe4Uhc
2026-07-23 21:28:08 +02:00
4461d17737 Tighten item icon viewBoxes so art fills the slot
Each icon's viewBox is set to a square box around its actual content
(with a stroke-width margin + small breathing room), leaving the path
data unchanged. Under-filled icons (ingots, plates, silicon, etc.) now
scale up and recenter to fill the half-tile item slot; already-full
icons are left as-is (clamped to only ever zoom in). Fixes items looking
too small in the game world.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y7N59FsLA5e2kuVdqe4Uhc
2026-07-23 21:23:43 +02:00
c909920ac9 Give building_block icon a paneled cube (more structure)
Recessed panel inset per face on the isometric cube, replacing the flat
faces, per Malte's request for more structure.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y7N59FsLA5e2kuVdqe4Uhc
2026-07-23 20:04:25 +02:00
09e7e6b2e8 Add item icon art for all 41 item types
Self-contained full-color SVGs in data/icons/items/, one per item id, read
by the recipe-selection dialog (REQ-UI-RECIPE-ICON) and belt/port rendering
(REQ-UI-ITEM-ICON). Bold silhouette + dark outline, authored to stay legible
at ~16px belt size: rocky ore chunks, isometric ingots, riveted plates,
copper coil/wire, pictorial module devices, and dart hull silhouettes tinted
per fleet color. No config changes needed — each recipe's icon resolves to
its first output.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y7N59FsLA5e2kuVdqe4Uhc
2026-07-23 19:29:33 +02:00
3a25de6c22 Add HQ and station icons; redesign tunnel build-button icon
Add hq.svg (flag-base command building) and station.svg (shield, rendered
glyph-only over each side's fill) for in-world building icons. Redraw
tunnel_entry.svg as the shared Tunnel build button: the belt runs on the
surface at both ends and drops straight into/out of the ground, with rounded
corners and a single exit tip. No belt/splitter/tunnel world icons.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y7N59FsLA5e2kuVdqe4Uhc
2026-07-22 22:11:36 +02:00
c479291c1b Reapply build button grid icons
Revert of "Undo build button grid icons" (614dda8): restore the per-building
SVG icons, the QtSvg-based icon loading in BuildButtonGrid, the icon dir
plumbing in MainWindow, and the Qt5::Svg dependency.

This returns the unlock-groups branch to having the icons. The preceding
undo commit exists only so the Demolish -> Deconstruct rename can be
cherry-picked on its own (rename+icons commit together with the undo).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y7N59FsLA5e2kuVdqe4Uhc
2026-07-22 19:48:15 +02:00
614dda8daf Undo build button grid icons
Remove the per-building SVG icons and all their wiring (the icon assets,
the QtSvg-based icon loading in BuildButtonGrid, the icon dir plumbing in
MainWindow, and the Qt5::Svg dependency), leaving only the Demolish ->
Deconstruct rename from the previous commit.

This is the inverse of the icon half of the previous commit, paired with a
following revert that re-adds the icons. Cherry-picking the previous
"rename + icons" commit together with this undo reconstructs the rename on
its own.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y7N59FsLA5e2kuVdqe4Uhc
2026-07-22 19:47:58 +02:00
ae41f677e6 Rename Demolish to Deconstruct; add build button grid icons
Rename the Demolish* terminology to Deconstruct* across the simulation,
events, UI, tests, and docs (DemolishCommand and the DemolishMode* events
become their Deconstruct* equivalents), aligning with the deconstruction
queue at HEAD.

Add per-building SVG icons for the build button grid (REQ-UI-BUILD-GRID):
one color-chip icon per placeable building under data/icons/buildings,
loaded from disk at runtime and rendered with QtSvg onto each build button.
An unaffordable building's button shows a grey-recolored variant via a
QIcon Disabled-mode pixmap (REQ-UI-BUILD-DISABLED). Adds the Qt5::Svg
dependency and deploys Qt5Svg.dll.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y7N59FsLA5e2kuVdqe4Uhc
2026-07-22 18:38:18 +02:00