344d18a5d1
draw the scrap of a debris card as an icon, not a word
...
The debris card's row now reads "Remaining" with the amount and the bare
scrap icon after it, and the count summary's indented sub-row states its
total the same way; both fall back to naming the item in words when no
scrap icon file exists.
StatRow gained the value-plus-icon form: a label draws either text or a
pixmap, so the two are composed into one via renderCaptionWithIcon, with
the color passed in because a pixmap does not follow the palette. That
also closes a gap in the building multi-selection, whose "Total cost" was
specified to carry the building_block icon and showed the bare number.
ItemIconCache::getInlineIcon() packages the sizing rule of the bare inline
icon. It sits on the cache rather than in IconCaption so StatRow keeps
pulling in nothing but the caption helper: StatRow.cpp is compiled into
DotaFactory_balancing, which links neither the ui library nor QtSvg, and
that target now compiles IconCaption.cpp along with it.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01Ne3mejABZoLWKLh8fgpM3x
2026-08-12 10:14:04 +02:00
075e44d295
give the selection cards their own parts instead of label blobs
2026-08-07 18:43:23 +02:00
3a1951559d
share the world shapes both views (game and balancing) draw identically
2026-08-05 22:14:54 +02:00
fa9dbd62ad
use WorldCoordinates in ArenaView too
2026-08-05 22:14:52 +02:00
4c166bf47f
depend on the registry instead of DebrisSystem in the AI path
2026-08-05 07:25:59 +02:00
114a43b205
make BuildingSystem stateless: FactoryState becomes a parameter
2026-08-05 06:50:11 +02:00
58b94223f7
migrate every factory query off BuildingSystem onto the free functions
2026-08-05 06:46:13 +02:00
0b7e94b4e4
drop CombatSystem's unused BuildingSystem parameter
2026-08-05 06:45:16 +02:00
0408336cf9
depend on factory data instead of BuildingSystem in the AI path
2026-08-05 06:44:49 +02:00
46932e4abf
move FactoryState ownership out of BuildingSystem to Simulation
2026-08-05 06:43:52 +02:00
8b71fe1a03
Rename ship/station scrap drop entities to "debris"
2026-07-23 20:51:05 +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
d412c69f82
Prefix all getters with "get"
2026-07-19 21:17:38 +02:00
9c1e948ab4
show selected ship's current behavior in sidebar panel
2026-07-14 21:19:14 +02:00
e32d384c99
fix bug where balancing matches did not finish until enemy hq was destroyed
2026-07-08 20:31:33 +02:00
24e0999d8a
show total time in balancing target arenas
2026-07-08 20:31:14 +02:00
751ef27a7b
show team EHP in balancing target
2026-07-08 20:29:41 +02:00
3c1376828c
implement logging of arena states
2026-07-08 20:29:33 +02:00
18e732ae99
Remove schematic upgrades and module and ship levels
2026-07-02 21:32:36 +02:00
81b1c7a66b
Derive ship scrap drop from threat
2026-07-02 21:30:38 +02:00
31a8915b0f
update keyboard shortcuts
2026-06-23 22:09:26 +02:00
c43225b6fa
fix issue where beams were also disappearing while the game was paused
2026-06-21 22:09:25 +02:00
4818997164
fix issue where repair behavior targets enemy HQ in balancing target
2026-06-19 21:36:04 +02:00
9573b9789a
change repair_tool application and add beams for salvager and repair_tool
2026-06-19 21:15:47 +02:00
41c8ed2938
draw debug lines to repair and salvage behavior targets
2026-06-17 21:41:35 +02:00
7f4ea93a70
show accumulated threat for teams in balancing target
2026-06-17 21:29:02 +02:00
0e02d9ec4a
make sensor range semi transparent in debug draw mode
2026-06-16 21:51:26 +02:00
74615f5293
add debug draw mode for balancing target
2026-06-16 21:47:41 +02:00
ac97652c60
make ships claim targets
2026-06-16 21:18:28 +02:00
e8dd73bcb0
refactor AI system
2026-06-15 09:16:56 +02:00
5317f35198
switch to using own event system
2026-06-13 17:52:22 +02:00
54a6056b77
implicit item locking
2026-06-12 16:14:21 +02:00
f097e9a25f
add live ship stats panel
2026-06-07 22:06:37 +02:00
6b95619806
add units in config files
2026-06-06 20:46:36 +02:00
66cf9ae23a
change 4x speed to 10x speed for testing
2026-06-06 12:01:41 +02:00
7669245229
use meters in config
2026-06-05 20:09:20 +02:00
17e9913c98
wrap UI strings with tr()
2026-06-05 16:31:54 +02:00
457fc47c75
draw HP bars below ships
2026-06-03 20:47:48 +02:00
9d0a60a93b
define ship roles via added modules and allow multiple weapons
2026-06-01 23:05:21 +02:00
25ff3c56c5
move ecs related code to own folder
2026-05-25 09:10:54 +02:00
8ad7530740
fix ships to be drawn facing the correct direction in ArenaView
2026-05-25 07:56:03 +02:00
0cd0529468
split MovementSystem to MovementIntentSystem and DynamicBodySystem
2026-05-25 07:25:54 +02:00
f5f4453e2c
rename behavior components
2026-05-23 08:26:10 +02:00
b57299fd2a
rename EntityId to BuildingId
2026-05-23 07:53:56 +02:00
dc4ebd5f2d
fix crash
2026-05-22 22:11:56 +02:00
ea79d76953
unify Weapon and StationWeapon components
2026-05-22 22:06:30 +02:00
bd488db8ef
remove unused building HP
2026-05-22 21:34:21 +02:00
4e3dc51981
fix stations were not drawn
2026-05-22 21:15:26 +02:00
ca07cbaf0e
switch to ECS architecture
2026-05-22 20:31:39 +02:00