Files
fs2open.github.com/code/ship
Goober5000andClaude Opus 4.7 a168f5a9c0 Store the support rearm pool sparsely (#7758)
`support_ship_info::rearm_weapon_pool` was a dense per-weapon-class array where -1 = unlimited (the default), 0 = not rearmable, and >0 = remaining stockpile.  Convert it to a sparse per-team map:

  `std::array<SCP_map<int, int>, MAX_TVT_TEAMS> rearm_weapon_pool;`
  `int rearm_pool_default() const;  // -1, or 0 under rearm_pool_from_loadout`

Mission-file format and save output are unchanged.  Also tightens the two weapon-class bounds checks in ship.cpp.  This removes another `MAX_WEAPON_TYPES` sized structure on the way to lifting the weapon class limit.

Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
2026-09-08 10:50:22 -04:00
..
2025-05-14 01:33:28 -04:00
2024-07-06 12:51:31 +02:00
2023-12-30 00:00:31 -05:00
2026-03-31 10:02:24 -04:00
2026-05-20 15:16:08 -04:00
2026-07-20 23:04:56 -04:00
2026-07-04 16:08:41 +02:00
2026-05-14 00:04:31 -04:00