306 Commits

Author SHA1 Message Date
Jan
2a1b64021b
chore: use generic loaders for iw4,iw5,t5,t6 instead of duplicating implementations 2024-01-20 15:38:38 +00:00
Jan
8de849dc85
feat: add iw3 StringTable loading via generic loader 2024-01-20 15:37:15 +00:00
Jan
09f3313d76
chore: make localize common loaders const 2024-01-20 11:39:26 +01:00
Jan
bcdde6a244
feat: add localize entry loading for IW3 2024-01-20 11:37:41 +01:00
Alex
b10c752391 populate sound alias sub lists correctly. allocate memory for loadedAssets count 2024-01-15 12:58:14 -05:00
Alex
b5dd6df1cd begin working on SndBank loading from raw 2024-01-12 16:38:53 -05:00
Jan
44b0f4da5e
Move DXGI_FORMAT definition into separate namespace to make it compatible to existing definitions 2024-01-06 20:41:50 +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
JezuzLizard
8b62bc0bc0 Address review comments. 2023-12-14 13:48:44 -08:00
JezuzLizard
96e67dc1fa Use clang-format. 2023-12-14 13:28:16 -08:00
JezuzLizard
bcf9956da2 Fix warning. 2023-12-14 13:28:16 -08:00
JezuzLizard
76a98e65fd Replace magic numbers with macros from zutil.h. Compress animtrees when linking. 2023-12-14 13:28:16 -08: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
Clang Format
6b4f5d94a8
Reformat code with clang format 2023-11-19 21:07:21 +00:00
Jan
e16ea9de84 Load T6 GfxImages from raw when building 2023-10-15 19:08:27 +02: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
399d8e834d Make IW4 menu rect def align be unsigned like IW5 2023-08-23 20:51:11 +02:00
Jan
3233186d8b Add AssetLoader for IW5 StringTable 2023-08-22 17:20:43 +02:00
Jan
34cdd46b42 Fix linux compilation 2023-06-18 12:20:55 +02:00
Jan
3bef176676 Fix wrong blend ops for screen add blend func 2022-08-21 12:29:04 +02:00
Jan
db60287a7b Apply statemaps to materials 2022-08-20 19:23:49 +02:00
Jan
595af125b9 Load state maps when loading techniques 2022-08-13 20:50:40 +02:00
Jan
886bcfeaf8 Add non static evaluation for simple expressions 2022-08-13 14:13:11 +02:00
Jan
364d801d3f fix compilation on gcc 2022-08-07 19:23:30 +02:00
Jan
63e9dc0c43 Material loading effect base 2022-08-07 19:17:04 +02:00
Jan
a8bb1a5ead Load particle cloud materials 2022-08-07 15:45:40 +02:00
Jan
713eb77230 Add material loading for tools materials 2022-08-07 12:06:02 +02:00
Jan
f87039d324 Rename base statebits to base state bits 2022-08-06 23:11:24 +02:00
Jan
1e546d4a19 Write broken material statebits writing 2022-08-06 19:08:45 +02:00
Jan
f3b175ab08 Handle material alphatest gt0 2022-08-06 18:59:13 +02:00
Jan
c010355d4a Dump material tile and filter properties 2022-08-06 18:47:28 +02:00
Jan
028d8fde7d Skip material loading for other types than 2d 2022-08-06 16:15:29 +02:00
Jan
347c1b3d68 Fix material loading sortkeys and cameraRegion 2022-08-06 15:40:00 +02:00
Jan
5771044c08 Material dumping and loading stuff 2022-08-06 10:52:52 +02:00
Jan
a3a01660d6 Add TechsetDefinitionCache to cache loaded techset definitions 2022-08-06 10:52:35 +02:00
Jan
b474109452 depthtest, depthwrite, polygonOffset for material loading 2022-07-24 13:54:58 +02:00
Jan
dd09027f0b CullFace loading material 2022-07-23 22:16:46 +02:00