Commit Graph

43 Commits

Author SHA1 Message Date
Jan
a166878f7d refactor: use template based asset structs for AssetLoaders 2024-05-25 11:17:04 +02:00
Jan
15440e8d66 feat: add loader for creating empty assets for all remaining iw5 asset types 2024-05-24 19:18:19 +02:00
Jan
e68a7303b6 feat: load accuracy graphs using generic 2d graph loader 2024-05-20 13:41:01 +02:00
Jan
5d913acfef feat: improve error messages when parsing an info string file fails 2024-05-12 22:29:40 +02:00
Jan
28610ae7a9 feat: log invalid enum values for infostring loaders 2024-05-09 20:38:23 +02:00
Jan
ae43a994b9 chore: update usages of AddAsset for template asset struct api 2024-04-23 00:49:05 +02:00
Jan
eb0cec1d81 refactor: make LoadDependency and LoadIndirectAssetReference functions work with Asset template types 2024-04-22 23:36:21 +02:00
Jan
a3acba8bc0 chore: update all usages of memory manager allocation 2024-04-22 21:21:48 +02:00
Jan
aa59768416 chore: remove previous manual lower case conversions of indirect asset references 2024-04-22 19:28:41 +02:00
Jan
4fb00bf368 Merge pull request #170 from diamante0018/main
maint(iw4): compress rawfiles just like on IW5 (fix zlib mem leak IW4, T5, IW5)
2024-04-21 20:22:08 +02:00
Jan
6ca7d892f9 fix: iw5 weapon attachment and override loading 2024-04-21 19:49:01 +02:00
Jan
94aee91592 chore: remove unnecessary weapon defaults 2024-04-21 19:49:01 +02:00
Jan
1601c87481 chore: set internal name earlier 2024-04-21 19:49:01 +02:00
Jan
e764373013 feat: load iw5 weapons 2024-04-21 19:49:00 +02:00
Jan
fedd955e68 fix: attachment loader not properly loading attributes 2024-04-21 19:49:00 +02:00
Jan
191965a970 chore: do not only load infostring arrays as pairs but n entries 2024-04-21 19:49:00 +02:00
Jan
d3c0325fea feat: load iw5 weapon attachments from raw 2024-04-21 19:39:29 +02:00
6ed399be86 maint(iw4): compress rawfiles just like on IW5 2024-04-21 13:17:51 +02:00
Jan
132cccb971 refactor: use new line character instead of std::endl 2024-03-24 20:24:22 +01:00
Jan
2a1b64021b chore: use generic loaders for iw4,iw5,t5,t6 instead of duplicating implementations 2024-01-20 15:38:38 +00:00
Jan
09f3313d76 chore: make localize common loaders const 2024-01-20 11:39:26 +01:00
Jan
cd53c3cbe4 Move D3DFormat definition into separate namespace to make it compatible to existing definitions 2024-01-06 20:35:00 +01:00
Jan
7c50dd84a7 Reduced duplicated code between localize asset loaders 2023-12-31 13:32:38 +01:00
Jan
196e2edd8a Use ZoneState to check whether localize key is duplicated 2023-12-31 12:28:13 +01:00
Jan
e4cfda73dc Move localize parsing into localize root folder 2023-12-31 11:09:45 +01:00
09f7473db4 feat: add warning for dupe localize assets 2023-12-26 16:57:28 +01:00
Jan
82f3d4925f Fix not respecting case-insensitive functions when converting menus 2023-12-14 19:32:51 +01:00
0ad1964864 fix: address review comments 2023-12-09 22:49:32 +01:00
9306210227 feature: Load GSC bin files from gsc-tool from raw 2023-12-09 14:33:56 +01:00
6b4f5d94a8 Reformat code with clang format 2023-11-19 21:07:21 +00:00
Jan
9dde58c064 Add non-loading implementation for AssetLoaderMaterial for IW5 to be able to create default materials 2023-09-26 20:59:43 +02:00
Jan
5ee5056c5d Fix considering string static value to not be true for visible expressions 2023-09-24 14:18:15 +02:00
Jan
e56fa67e46 Fix not setting dataType when loading menus 2023-09-24 10:30:03 +02:00
Jan
7d0abaf256 Fix not setting menuData when converting IW5 menus 2023-08-25 19:22:25 +02:00
Jan
4829a4206b Ensure correct expression type for static expressions in menu parsing but do not enforce when permissive 2023-08-24 20:12:57 +02:00
Jan
8a1fe03358 Add base for IW5 menu parsing 2023-08-23 23:08:50 +02:00
Jan
ccc020ca7e Make key handler map a multimap to be able to support multiple handlers for the same key 2023-08-23 23:07:55 +02:00
Jan
fc57032937 Add base for IW5 menu parsing based on IW4 menu parser 2023-08-23 20:51:40 +02:00
Jan
3233186d8b Add AssetLoader for IW5 StringTable 2023-08-22 17:20:43 +02:00
Jan
5e31be9bac Finalize menu assets after loading all assets 2021-12-29 00:20:54 +01:00
Jan
e544d043bd Fix rawfile dumping and loading for iw5 2021-07-24 13:51:41 +02:00
Jan
88710cb3bf IW5 Fixups 2021-07-23 16:28:59 +02:00
Jan
f201dfafd8 IW5 support initial commit 2021-07-23 01:12:36 +02:00