spaceship/controllers
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Loïc Wisniewski 93bfe62e76 Let the fleet grow past twenty vessels
max_fleet_size() clamped itself to DEFAULT_FORMATION.size(), so the ceiling
on the fleet was a property of the LAYOUT - the wedge ran out of authored
positions at twenty - rather than a rule anyone decided on. Capacity is the
supplied Fleet Offices and nothing else now.

Dropping the clamp alone would index off the end of the formation array, so
the wedge continues by rule instead of stopping: formation_slot() grows it
on demand, each further pair stepping 30 further out and 40 further back,
which is what the authored rows already do - the first twenty slots come
back unchanged. A grown slot is rotated by formation_rotation so a fleet
that outgrows the array after the player has pivoted does not sprout hulls
facing the original heading, and that angle is saved with the layout.

Two "fleet is full" messages pointed at the vanished ceiling. Both now say
what actually buys a berth, and the hangar's stops claiming it is research,
which it has not been since #219.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QR2Mdk42ghEpeyXPe4UFyn
2026-09-12 19:06:29 +02:00
..
AimedFleetAbilityController.gd Aim the laser by depth, and ease the aim view 2026-09-05 09:32:42 +02:00
AimedFleetAbilityController.gd.uid #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
BuildController.gd Let the fleet grow past twenty vessels 2026-09-12 19:06:29 +02:00
BuildController.gd.uid #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
DashController.gd Sharpen upgrades, mark the convoy's destination, and give the world sound 2026-09-05 12:16:17 +02:00
DashController.gd.uid Resolve pending gameplay tickets 2026-09-02 13:43:56 +02:00
FireStickController.gd Improve aim assist target stickiness 2026-09-02 17:15:12 +02:00
FireStickController.gd.uid #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
GameController.gd #225: save the run, and offer to resume it 2026-09-09 21:32:23 +02:00
GameController.gd.uid #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
GasBombController.gd Garrison laser vessels and gas bombers, on a shared ability seam 2026-08-23 19:23:35 +02:00
GasBombController.gd.uid #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
LaserController.gd Sharpen upgrades, mark the convoy's destination, and give the world sound 2026-09-05 12:16:17 +02:00
LaserController.gd.uid #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00
MouseCombatController.gd Resolve pending gameplay tickets 2026-09-02 13:43:56 +02:00
MouseCombatController.gd.uid #84: move 215 root files into a folder hierarchy 2026-08-21 19:44:14 +02:00