mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-07-26 18:00:38 +00:00
feat: T4 weapon loading and dumping (#869)
* feat: T4 weapon loading and dumping * chore: adjust naming of weapon enum values * chore: fix typo in type names * chore: rename t4 weapon loader files * feat: dump and load gdt weapons for t4 * chore: weapon loaders to use similar logic --------- Co-authored-by: Jan Laupetin <[email protected]>
This commit is contained in:
@@ -3,10 +3,14 @@
|
||||
#include "Asset/GlobalAssetPoolsLoader.h"
|
||||
#include "Game/T4/AssetMarkerT4.h"
|
||||
#include "Game/T4/T4.h"
|
||||
#include "Game/T4/Weapon/AccuracyGraphLoaderT4.h"
|
||||
#include "Game/T4/XAnim/XAnimLoaderT4.h"
|
||||
#include "Localize/AssetLoaderLocalizeT4.h"
|
||||
#include "Maps/MapEntsLoaderT4.h"
|
||||
#include "RawFile/AssetLoaderRawFileT4.h"
|
||||
#include "Weapon/FlameTableLoaderT4.h"
|
||||
#include "Weapon/WeaponGdtLoaderT4.h"
|
||||
#include "Weapon/WeaponRawLoaderT4.h"
|
||||
|
||||
using namespace T4;
|
||||
|
||||
@@ -92,6 +96,11 @@ namespace
|
||||
collection.AddAssetCreator(localize::CreateLoaderT4(memory, searchPath, zone));
|
||||
collection.AddAssetCreator(map_ents::CreateLoaderT4(memory, searchPath));
|
||||
collection.AddAssetCreator(raw_file::CreateLoaderT4(memory, searchPath));
|
||||
collection.AddAssetCreator(weapon::CreateRawLoaderT4(memory, searchPath, zone));
|
||||
collection.AddAssetCreator(weapon::CreateGdtLoaderT4(memory, searchPath, gdt, zone));
|
||||
|
||||
collection.AddSubAssetCreator(weapon::CreateAccuracyGraphLoaderT4(memory, searchPath));
|
||||
collection.AddSubAssetCreator(weapon::CreateFlameTableLoaderT4(memory, searchPath, zone));
|
||||
}
|
||||
} // namespace
|
||||
|
||||
|
||||
Reference in New Issue
Block a user