ee71be549a
Implement building status light (REQ-UI-STATUS-LIGHT)
...
Add a per-building status light: a small circle drawn in the operational
building's upper-right corner (rotating with the building) so production
state is readable without selecting it.
- Sim: BuildingSystem::getProductionStatus classifies each building into
Unconfigured/Producing/Starved/Blocked (nullopt for non-production
types); Salvage Bay is a two-state special case (Producing with scrap,
Starved when empty). Extracted shared predicates (gatherCandidateRecipes,
recipeInputsAvailable, computeShipyardRequiredMaterials, hasInputsToStart)
so tickProduction / tickShipyardProduction and the classifier stay in sync.
- UI: GameWorldView draws the circle, mapping status -> color from a new
visuals.toml [status_light] section (grey/green/red/yellow + outline).
- Tests: getProductionStatus cases for every state, including red-over-yellow
precedence and the auto-recipe/salvage-bay specials.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01Y7N59FsLA5e2kuVdqe4Uhc
2026-07-20 21:50:08 +02:00
1f6663e49f
Add REQ-UI-STATUS-LIGHT building status indicator requirement
...
Add a per-building status light in the upper-right corner (rotating with
the building) so production state is visible without selecting the
building: grey (nothing selected), green (producing), red (idle, input
missing), yellow (idle, output buffer full). Salvage Bay uses a two-state
variant (green with scrap, red when empty). Colors sourced from
visuals.toml [status_light].
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01Y7N59FsLA5e2kuVdqe4Uhc
2026-07-20 21:24:21 +02:00
be475e2836
allow multi-select for ships/stations, mixable with scrap
2026-07-20 21:03:11 +02:00
9622fa4345
Use std::optional instead of sentinel values for absent data
2026-07-20 20:27:20 +02:00
1cdafb7bcd
draw glyph for output port at the target tile during build mode
2026-07-19 22:30:03 +02:00
f205136e21
show tooltip for artifacts in the header bar
2026-07-19 22:16:04 +02:00
b708e1b29d
Add demolish-mode vignette
2026-07-19 21:51:12 +02:00
c76ba07bc7
Correct top game speed step to 10x in requirements
2026-07-19 21:37:47 +02:00
b2e7e4897a
Add paused-state vignette border to game world view
2026-07-19 21:34:56 +02:00
c21af63e84
deselect build tool when it becomes unaffordable and fix stale enabled button
2026-07-19 21:20:59 +02:00
a4267a4760
Fix bug where restart fast-forwarded the new run by the time spent in a modal dialog
2026-07-19 21:19:36 +02:00
d412c69f82
Prefix all getters with "get"
2026-07-19 21:17:38 +02:00
08752aeced
fix building blocks tooltip
2026-07-19 21:14:31 +02:00
d465671cfc
draw beam wider at the source than at the target
0.1.1
2026-07-14 21:52:05 +02:00
76812ba0c5
show "+ installed modules" in ship selection dialog tooltip
2026-07-14 21:23:05 +02:00
9c1e948ab4
show selected ship's current behavior in sidebar panel
2026-07-14 21:19:14 +02:00
23ff406101
display faction in selected object name for hq and defence stations
2026-07-14 21:00:02 +02:00
2ea0cb815d
fix issue where items on building's output port were not counted to output display in building panel
2026-07-14 20:50:43 +02:00
876b344b20
fix issue where splitters were draggable during placement like belts
2026-07-14 20:35:47 +02:00
cd75492796
Reveal port items in a thin margin at machine edges
2026-07-14 20:32:27 +02:00
486296feee
Allow direct output-to-input port coupling between adjacent buildings
2026-07-14 20:23:24 +02:00
c9f14970a1
Animate items entering building input ports
2026-07-14 20:21:25 +02:00
6a8c456aa1
Animate items emerging from building output ports
2026-07-14 20:18:47 +02:00
af8a2224c0
fix issue where items were accepted by a belt from opposite travel direction
2026-07-14 20:15:39 +02:00
4b149d97a7
dim the game behind dialogs and escape menu
2026-07-13 22:11:21 +02:00
6a8b6acd3b
make panning faster
2026-07-13 21:44:12 +02:00
3ce6e6d599
Tint not-yet-buildable asteroid area
2026-07-13 21:42:59 +02:00
80a2622267
Redefine camera scroll as view center
2026-07-13 21:31:52 +02:00
535d4f8f24
allow to (multi) select scrap
2026-07-13 21:09:01 +02:00
8c4fb78fc9
Allow creating blueprints from construction sites
2026-07-13 20:50:13 +02:00
698dd4d13d
auto-open layout dialog on manual schematic change
2026-07-13 20:47:37 +02:00
9d28175b17
Always show shipyard layout preview and Configure button, disabled until schematic selected
2026-07-13 20:45:03 +02:00
ac4d56764c
Draw a thin border around each right-sidebar panel
2026-07-13 20:44:47 +02:00
69fe607157
Show total building block cost in multi-selection panel (relevant for temporary blueprint)
2026-07-13 20:31:40 +02:00
92e896b973
fix tooltip text rendering issue
2026-07-12 21:56:59 +02:00
dd7c997816
Auto-process smelter and reprocessing plant (no recipe selection)
2026-07-12 21:35:23 +02:00
ad3e73fdd8
Add tooltip for building blocks in header bar
2026-07-12 21:24:11 +02:00
177809fe1a
Add tooltips for building buttons and module selection buttons
2026-07-12 21:21:14 +02:00
69f655d179
Rename UI "Blocks" labels to "Building Blocks"
2026-07-12 21:17:10 +02:00
271855781c
add tag based version info to exe
0.1.0
2026-07-12 09:16:49 +02:00
5f6ecbf6c8
implement visual feedback for copy building settings with shift + click gesture
2026-07-09 21:33:24 +02:00
cd966daba9
fix issue where shipyard produces ships with modules without requiring items for the modules if the ship's layout was never changed
2026-07-09 21:29:04 +02:00
88bc4f2170
fix bug where selecting the same ship again in a shipyard clears the layout and resets the progress
2026-07-09 21:05:01 +02:00
4986c1bac8
implement copy building settings with shift + click gesture
2026-07-09 20:29:20 +02:00
e110e7e413
Add T hotkey for temporary blueprint from selection
2026-07-09 20:25:15 +02:00
6274b5ce60
List unlocked recipes with tooltips in schematic choice dialog instead of unlocked item names
2026-07-09 20:22:17 +02:00
16ed6a5695
Show schematic id for all three types of drops in choice dialog
2026-07-09 20:18:38 +02:00
13dacab274
remove save and load buttons for factory blueprints to mirror the ship-layout blueprints
2026-07-09 20:15:30 +02:00
2ddf13238c
Fix Salvage Bay drop-off not working by adding config-driven buffer capacity
2026-07-09 20:11:12 +02:00
cc38bf95fa
make repair_tool less op
2026-07-09 07:20:06 +02:00