Files
fs2open.github.com/code
dustinspace217andDustinspace217 12bddb8366 P3: Add weapon_info::clone (#7847)
* Add weapon_info::clone

Copies every member of a weapon class, following ship_info::clone, so a
weapon can be created from another as ship templates do. The
CLONE_UNIQUE_PTR macro moves from ship.cpp to utils/string_utils.h so
both clone functions share it.

* Group weapon_info::clone fields as the struct declares them

---------

Co-authored-by: Dustinspace217 <[email protected]>
2026-11-04 01:16:41 -05:00
..
2026-04-30 00:35:19 -04:00
2026-07-20 23:04:56 -04:00
2026-07-23 15:52:27 +02:00
2026-11-02 22:40:54 -05:00
2026-07-23 15:52:27 +02:00
2026-07-23 15:52:27 +02:00
2026-07-23 15:52:27 +02:00
2025-08-18 11:59:22 -04:00
2026-09-12 03:57:27 +00:00
2026-05-12 11:31:20 -04:00
2026-05-28 14:43:48 +09:00
2026-04-30 00:35:19 -04:00
2026-11-02 22:40:54 -05:00
2026-09-08 10:48:13 -04:00
2026-07-20 23:04:56 -04:00
2026-11-04 01:16:41 -05:00
2026-07-23 15:52:27 +02:00
2026-07-23 15:52:27 +02:00
2026-11-04 01:16:41 -05:00
2026-11-04 01:16:41 -05:00
2026-07-23 15:52:27 +02:00