80 Commits

Author SHA1 Message Date
Jan
12ac569bfa Dump images from GfxImageLoadDef 2021-04-28 00:05:56 +02:00
Jan
e6a10fb992 fix iw3 gcc compatibility 2021-04-15 18:35:36 +02:00
Jan
7c6d2f0f41 Add iw3 objloading 2021-04-15 17:09:04 +02:00
Jan
15c896862c fix soundbank conversion warning 2021-04-14 18:40:34 +02:00
Jan
6b72ac080f Finish iw3 zone code generation 2021-04-14 18:39:54 +02:00
Jan
1267b8aa7b iw3 basis 2021-04-12 19:18:55 +02:00
Jan
3cda71d1e7 Dump SoundBank asset data files 2021-04-05 18:50:42 +02:00
Jan
05303313be Load iwis of version 6 (cod4) 2021-04-02 18:15:33 +02:00
Jan
6acbd0e2be Make asset loading context assets in gdts override their previously defined assets with the same name 2021-03-28 13:08:28 +02:00
Jan
a42f75c85e Respect gdt parents when converting to infostring 2021-03-28 12:21:47 +02:00
Jan
579c0747d0 Add loading of gdt entries to info based assets 2021-03-28 12:07:36 +02:00
Jan
7d4029b21f Add physconstraints loading 2021-03-27 14:00:55 +01:00
Jan
0dd7de3a0d Fix missing break in ZBarrier loader when counting barriers 2021-03-27 14:00:44 +01:00
Jan
8030a0238f Add phys preset loading 2021-03-27 10:50:20 +01:00
Jan
679fb6d398 Add tracer loading 2021-03-27 10:50:09 +01:00
Jan
23653e3067 Add ZBarrier loading 2021-03-27 10:49:49 +01:00
Jan
888b33a9c6 Add AssetLoader for attachments 2021-03-27 00:01:33 +01:00
Jan
f226e6363d Remove unused headers from AssetLoaderWeapon 2021-03-26 16:01:37 +01:00
Jan
055dd5e840 Dump and read attachment and attachment uniques to and from weapon files 2021-03-26 15:27:37 +01:00
Jan
3520a9bd2c Use new helper functions ParseAsArray and ParseAsPairs of InfoStringToStructConverterBase to parse notetracksoundmap and hidetags 2021-03-26 12:12:32 +01:00
Jan
aaf350d088 Add calculation of fields not specified via weapon fields to asset loader weapon 2021-03-25 13:34:14 +01:00
Jan
cb3e4386a9 Fix weapon asset loader not linking weaponfulldef attachment uniques to weaponvariantdef 2021-03-25 13:33:05 +01:00
Jan
593493d5fc Fix weapon asset loader not using scriptstring value but instead field name as value 2021-03-25 13:32:39 +01:00
Jan
d8bd6fc11d Make AssetLoadingManager try to find referenced assets from global asset pools if non referencing asset was not found 2021-03-25 13:31:23 +01:00
Jan
620582aa18 Add weapon infostring loading 2021-03-25 11:15:26 +01:00
Jan
a04eb98df9 Add vehicle infostring loading 2021-03-25 11:15:11 +01:00
Jan
55f48c9bc2 Add InfoString loading 2021-03-25 11:14:51 +01:00
Jan
abcce11b00 Split InfoString classes into multiple files depending on loading and writing code 2021-03-24 13:51:21 +01:00
Jan
9e00ad60e7 Add asset loader for font icon 2021-03-24 12:33:42 +01:00
Jan
79c1284193 Add asset loader for localize files 2021-03-23 17:16:36 +01:00
Jan
3ed63415a7 Add T6 assetloader for string tables 2021-03-23 01:30:10 +01:00
Jan
0ff06cad72 Add AssetLoaders for Qdb, ScriptParseTree and Slug 2021-03-23 01:28:33 +01:00
Jan
74f2bff716 Fix not using correct struct for ObjLoader for ddldef 2021-03-23 00:44:24 +01:00
Jan
5fbcbaf3c7 Fix not straight up inserting scriptstrings on loading from zone 2021-03-23 00:42:41 +01:00
Jan
4380a6c9f2 Set last byte of rawfile buffer to 0 when loading asset 2021-03-22 23:32:55 +01:00
Jan
29e5898c2b Get rid of implicit size conversion warnings in ipak entry read stream 2021-03-19 16:41:04 +01:00
Jan
5443ed4261 Add scriptstrings from loaded zones to newly linked zone 2021-03-18 20:03:00 +01:00
Jan
2a6d7c84c2 Add ZoneScriptString class to store zone script strings 2021-03-18 16:55:30 +01:00
Jan
94230cefb0 Make empty linking asset if asset is ignored 2021-03-13 19:32:51 +01:00
Jan
0db526d1c8 Check for already loaded assets when loading asset dependencies 2021-03-13 14:54:56 +01:00
Jan
a7860c7c76 Add AssetLoader basis 2021-03-13 14:27:20 +01:00
Jan
83080db991 Include filesize when opening a file with searchpaths 2021-03-13 10:27:18 +01:00
Jan
c47ea48b6b Open search paths for assets, gdts and source in Linker 2021-03-10 12:26:09 +01:00
Jan
e6a91c0305 add linker basis 2021-03-08 12:46:27 +01:00
Jan
1a45cf2107 Fix more gcc compilation issues 2021-03-03 09:12:27 -08:00
Jan
1cd06668e0 Replace FileAPI with c++ streams and std::filesystem 2021-03-03 14:04:35 +01:00
Jan
eed7164b5b Save scriptstrings per zone and not per asset since that solves all problems with multiple assets of the same zone referencing the same struct in memory that has scriptstring indices 2020-10-23 15:54:27 +02:00
Jan
ac022ee78a Add dumping of luminance textures from iwis 2020-10-18 17:39:22 +02:00
Jan
464f8231df IWD code style changes 2020-10-17 15:15:17 +02:00
Jan
395c139681 Use map for IWD entries to speed up finding entries by name 2020-10-17 14:59:36 +02:00