238 Commits

Author SHA1 Message Date
Jan
d0e8e94561 Load vertex shader and pixel shader from raw 2022-03-25 18:35:22 +01:00
Jan
9009543c58 fix missing noexcept 2022-03-22 21:32:17 +01:00
Jan
e8ce4570ad Fix pipeline compilation 2022-03-22 17:12:43 +01:00
Jan
2e5405deb5 Fix counting padding for root struct even when root struct has no properties 2022-03-22 16:15:42 +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
f15e997f7b Fix not setting enum element count for enumedarrays when parsing 2022-03-22 16:07:43 +01:00
Jan
ab5a998903 Sort StructuredDataDef members and entries alphabetically after parsing 2022-03-22 15:09:07 +01:00
Jan
1b6f2ab9fa Calculate StructuredDataDef sizes and offsets 2022-03-22 15:08:42 +01:00
Jan
77420495f6 Add base for calculation sizes of structs for StructuredDataDef 2022-03-22 14:12:48 +01:00
Jan
c131c58bbe Replace references to undefined types after parsing entire StructuredDataDef 2022-03-22 12:34:21 +01:00
Jan
2fa1144425 Set remapped type for previously undefined types for StructuredDataDef 2022-03-22 12:14:30 +01:00
Jan
dc075847ff When parsing StructuredDataDefs accept undefined types 2022-03-22 12:03:15 +01:00
Jan
49c774b1e6 Parse checksumoverride for StructuredDataDef 2022-03-21 11:05:48 +01:00
Jan
93fea39ddd Move StructuredDataDef Parsing to new package 2022-03-21 10:30:54 +01:00
Jan
0a226652f2 Rename CommonStructuredDataStructEntry to Property 2022-03-20 17:40:12 +01:00
Jan
b2140260a4 Dump CommonStructuredDataDefSet instead of the game's internal structures 2022-03-19 23:39:50 +01:00
Jan
c38367d55b Move common structureddatadef classes to objcommon 2022-03-12 14:02:52 +01:00
Jan
dff7912dbc Parse padding instructions for StructuredDataDef 2022-02-06 10:49:58 +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
2da6ab8479 Fix empty StructuredDataDef struct having a size of 8 when it is the root struct 2022-01-22 14:41:20 +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
dd23e3f66d Fix StructuredDataDef multi dimensional arrays not getting parsed correctly 2022-01-22 13:57:10 +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
b894a524e8 Parse structured data def reserved enum count 2022-01-20 22:37:33 +01:00
Jan
944586fcde Parse StructuredDataDef structs 2022-01-19 19:58:41 +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
91cfb2e8dd Move AbstractScopeSequenceHolder to Parse and make it a template class to be reusable 2022-01-18 22:55:25 +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
98d62039eb If menu optimization is enabled, optimize away unnecessary if statements 2022-01-01 23:12:27 +01:00
Jan
8a3bbf948b Make sure you can specify event handlers more than once to be able to append script data 2022-01-01 20:00:09 +01:00
Jan
d900b9cccd Fix not correctly setting type data for text scroll items 2022-01-01 19:40:08 +01:00
Jan
21f68c117e Fix float expression forecolors not setting dynamic forecolor flag 2022-01-01 18:44:04 +01:00
Jan
2df12e101e Disable static value evaluation for visible expression when optimizations are turned off 2022-01-01 16:59:27 +01:00
Jan
64a1e4c176 Fix menu visibility 2022-01-01 16:39:39 +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
1e3946974c Fix menu converter not properly referencing functions 2021-12-30 19:22:17 +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
538c4be839 Fix not supporting nullptr scriptstrings 2021-12-30 16:51:16 +01:00
Jan
7283cc5640 Always set parenthesis for operations inside operations because the game is unable to calculate operations behind each other without parenthesis and does also not know what precedence is 2021-12-29 18:50:34 +01:00
Jan
8e4b2bb057 Add non default forecolor flag if forecolor is not white 2021-12-29 18:08:38 +01:00
Jan
f628d33a95 Properly dump and convert visible property for items 2021-12-29 17:04:18 +01:00