2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-06-29 12:28:09 +00:00

feat: T5 weapon dumping & loading (#792)

* Update docs.

* Add weapon constants.

* Register asset dumper.

* Add fields and strings for weapon parsing.

* Add gdt and raw weapon loader.

* Add weapon dumper.

* Clang format.

* Update T5 strings.

* Fix forgotten rename.

* Clang format.

* fix: add missing t5 weapon fields

* chore: properly sort,format and check size of t5 weapon enum strings

* chore: remove unused functions

* chore: add t5 weapon checks and defaults

* format enum strings

* chore: make FlameTable struct use pascal case name

* feat: dump and load flametable

* fix: make loaded weapons match vanilla data

---------

Co-authored-by: njohnson <gitea.nicholasjohnson.info>
Co-authored-by: Jan Laupetin <jan@laupetin.net>
This commit is contained in:
Paging Red
2026-06-20 07:03:36 -04:00
committed by GitHub
parent e5683c3bbd
commit 5b11848f4d
30 changed files with 2382 additions and 39 deletions
+2 -1
View File
@@ -5,4 +5,5 @@
namespace weapon
{
std::string GetFileNameForAssetName(const std::string& assetName);
}
std::string GetFileNameForFlameTable(const std::string& flameTableName);
} // namespace weapon