Files
fs2open.github.com/code/utils
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
..
2017-11-30 13:26:20 +01:00
2025-03-17 00:31:59 -04:00
2026-01-10 13:10:05 -05:00
2021-12-29 07:07:26 -05:00
2021-02-18 04:23:08 -05:00
2026-04-02 08:00:28 -04:00
2026-04-02 08:00:28 -04:00
2020-04-13 14:45:19 +02:00