Birk Magnussen
be29fc9eaa
fix warning
2023-05-25 12:15:18 +02:00
Birk Magnussen
4d25b34c1b
Add Subsystem data change
2023-05-25 12:12:55 +02:00
Goober5000
3e0c7f0721
add lcase_equal and lcase_lessthan
...
The `SCP_string_lcase_equal_to()()` and `SCP_string_lcase_less_than()()` functors are rather unwieldy to use in non-functor situations, so this adds conventional function equivalents.
2023-05-20 18:21:37 -04:00
Goober5000
8aa5a22f5d
Merge pull request #5399 from BMagnu/modularpof_parent_subsystem
...
Fix modular pof handling of dock / path parent names
2023-05-12 14:19:16 -04:00
BMagnu
26cfc8d017
Make check case insensitive
2023-05-13 01:52:40 +09:00
Birk Magnussen
6f8c8e802a
fix modular pof handling of dock / path parent names
2023-05-12 10:26:13 +02:00
Goober5000
712a70444b
update type_flags when dock name changes
...
The `type_flags` on a model's dockpoints are determined by the dockpoint name. If the name changes, the flags should be updated accordingly.
This fixes a bug in Scroll where a dockpoint that was imported and renamed to start with the word "cargo" was not compatible with cargo docking as expected.
2023-05-12 04:08:38 -04:00
BMagnu
e2b205ffaa
Modular POF Features 2 ( #5209 )
...
* Add weapon bank copy
* Add Path / Dock point copying
* cleanup
* Fix dock points
* Fix copy paste error
* Incorporate feedback
* Incorporate feedback 2
* delete copy assignment
2023-04-07 08:12:20 +09:00
BMagnu
2116d1fe66
Modular POF Features ( #4713 )
...
* Add turret copying
* Ad addturret parsing
* Fix gun_nr error
* Fix strncpy_s
* Fix strings better
* Cleanup submodel / turret copying
* Add 'Add Engine'
* Add Glowpoints, add Special Subsys
* Remember to keep the glowpoint texture
* Fix unused param
2022-10-24 18:35:51 +09:00
BMagnu
d186aefa92
Adds a cache for modular POFs ( #4690 )
...
* cleanup submodel index replacement
* Add modelreplace cache
* Move RenameSubobjects to new API
* Fix and tidyup
* Fix GCC error
* fix macro
* Appease Clang
* Properly skip reading non-final leaves from the cache
* fix warning
* Safe-stringify, incorporate comments
2022-09-23 18:38:50 +09:00
BMagnu
565047e93b
Implement a proper std::optional alternative ( #4619 )
...
* Add optional lib
* Replace modelreplace optionals
* Replace Animation Optional
* rework modelanimationdata constructors
2022-09-06 17:05:05 +09:00
BMagnu
74ba7899fd
Virtual / Modular POFs ( #4590 )
...
* Integrate Barebones Framework
* further integration
* Add brak in read
* Defer subsystem generation
* Unentangle pof parsing and subsystem info writing
* finalize modelreplace skeleton
* Begin submodel copying
* First prototype of modular pofs demonstratable
* Allow Submodel Renaming
* Add copy children and set offset
* properly handle depth
* Add header modification
* Fix issues with parsing
* Fix Warnings
* incorporate feedback
* de std-ify
* Incorporate Feedback 2
* Fix macro
* Remove ref
* Enhance error messages
2022-09-03 22:15:56 +09:00