62 Commits

Author SHA1 Message Date
Jan
65c9267b06 Correctly identify update frequencies for shader arguments 2022-04-15 16:01:39 +02:00
Jan
cd8e6cf96a Fix not being able to use StructuredDataDefSet assets from memory 2022-04-15 13:00:08 +02:00
Jan
12af03d77b Do not output errors when use menus from loaded assets 2022-04-15 12:54:37 +02:00
Jan
0f3d1d3488 Load shader from disk if they are only available as referenced assets to write techniques using them 2022-04-15 12:54:10 +02:00
Jan
7d80ff670d Convert technique passes 2022-04-14 20:11:51 +02:00
Jan
7f496ce478 Automatically handle unspecified shader arguments 2022-04-14 19:49:35 +02:00
Jan
3ba68eb2f4 Remember which vertex shader and pixel shader args have been handled already 2022-04-11 20:06:02 +02:00
Jan
99c7ebbe9b Load vertex decl asset 2022-04-10 19:39:26 +02:00
Jan
e0bcf7aff0 Load Vertex Stream Routing 2022-04-10 17:48:12 +02:00
Jan
bd291a75a9 Accept technique material arguments 2022-04-10 14:51:38 +02:00
Jan
516878698d Only accept sampler arguments for sampler shader arguments and constant argument for constant shader arguments 2022-04-10 13:58:08 +02:00
Jan
7d2ca46cb1 Dump known material argument hashes 2022-04-09 19:07:24 +02:00
Jan
13c5ea2986 Ignore shaders versions in technique files 2022-04-09 19:03:12 +02:00
Jan
bdb782a679 Fix issues with technique parser 2022-03-30 19:25:58 +02:00
Jan
4a52f3304e Fix asset loaders for vertex and pixel shader not using correct file name 2022-03-30 19:25:41 +02:00
Jan
b5cd357014 WIP Technique loading 2022-03-30 18:38:50 +02:00
Jan
99d5caf1f2 Fix techset parsing naming issues 2022-03-27 16:21:06 +02:00
Jan
a47370613b Reuse previously loaded techniques 2022-03-27 16:17:36 +02:00
Jan
eb5312899f Parse techset files for IW4 2022-03-26 18:47:43 +01:00
Jan
d0e8e94561 Load vertex shader and pixel shader from raw 2022-03-25 18:35:22 +01:00
Jan
8133f4d57e Fix accidentally setting size in bits value to a size in byte field when converting indexarray and enumedarray 2022-03-22 16:08:28 +01:00
Jan
ab5a998903 Sort StructuredDataDef members and entries alphabetically after parsing 2022-03-22 15:09:07 +01:00
Jan
93fea39ddd Move StructuredDataDef Parsing to new package 2022-03-21 10:30:54 +01:00
Jan
c38367d55b Move common structureddatadef classes to objcommon 2022-03-12 14:02:52 +01:00
Jan
f235ffc431 Fix structureddatadef loader not setting enum reserved size correctly 2022-01-29 12:42:28 +01:00
Jan
497c9fc6cf Rename StructuredDataDef classes to remove "Def" from classes that do not need it 2022-01-22 14:47:47 +01:00
Jan
f061ff91f5 Create default StructuredDataDef struct when none was specified so there is always a root struct 2022-01-22 14:35:43 +01:00
Jan
9ed169fcba Calculate StructuredDataDef sizes and offsets 2022-01-22 13:40:08 +01:00
Jan
96ef7a46fb Convert StructuredDataDef for IW4 2022-01-20 23:38:45 +01:00
Jan
1c1fbd1007 Add initial draft of structured data def parser to parse enums only for now 2022-01-18 22:55:50 +01:00
Jan
daa7008038 Add dumper and reader for IW4 GfxLightDef 2022-01-02 18:01:24 +01:00
Jan
77b6b7c87a Load SoundCurve files for IW4 2022-01-02 13:27:29 +01:00
Jan
bcafddd83a Dump and load iw4 physpresets 2022-01-02 10:25:48 +01:00
Jan
87c2e58c4b Add implementation for stringtable assetloader iw4 2022-01-02 01:34:42 +01:00
Jan
8e2b9f4a62 Update iw4 asset loader clipmap to use interface without asset_type_t specification 2022-01-02 01:10:57 +01:00
Jan
57f37ec0ea Add IW4 asset loader classes for all asset types that did not have one yet 2022-01-02 01:07:09 +01:00
Jan
4b80ed1e9e Do not parse menus more than once when they have already been parsed 2022-01-01 16:39:28 +01:00
Jan
657d32e5f6 Properly update menulist asset dependencies 2021-12-31 00:30:58 +01:00
Jan
b5475e30f0 Only load menu files once 2021-12-31 00:09:25 +01:00
Jan
9136a7de3b Enable of usage of functions that were defined in the same menu file 2021-12-30 19:20:01 +01:00
Jan
a0ff11a857 Create default GfxImage assets 2021-12-29 02:51:33 +01:00
Jan
5e31be9bac Finalize menu assets after loading all assets 2021-12-29 00:20:54 +01:00
Jan
7188b0946d Make use of custom functions when converting menus 2021-12-28 23:52:42 +01:00
Jan
43610b381d Reduce menu reading console output on successful read 2021-12-28 19:40:39 +01:00
Jan
d24e847204 Add command line argument for disable menu optimizations on loading 2021-12-28 18:26:41 +01:00
Jan
6d622e6ae1 Create Default materials for iw4 2021-12-28 18:04:51 +01:00
Jan
988620e23d Menu conversion base 2021-12-05 16:23:25 +01:00
Jan
b082e471e7 Add permissive mode for menu parsing that accepts unknown script tokens as long as they can be put into the script 2021-11-28 17:55:26 +01:00
Jan
f760c517dd Add menu parsing results to zone state 2021-11-14 09:25:35 +01:00
Jan
7eecd58ce8 Load menu files that are referenced via loadmenu 2021-11-13 23:28:22 +01:00