368 Commits

Author SHA1 Message Date
Jan
d071dc1bfd Make script numeric matchers match negative numbers as well 2023-09-25 21:45:06 +02:00
Jan
870fa44b02 Add existing iw5 script statements 2023-09-24 22:48:11 +02:00
Jan
8653c434d1 Fix not respecting new string values in localize parser when processing matches 2023-09-24 18:55:34 +02:00
Jan
36cd9e11fe Support localize entries that have a name that cannot be represented as an identifier 2023-09-24 15:58:57 +02:00
Jan
cf711c3af7 Use SimpleLexer escaped strings for localization 2023-09-24 15:25:08 +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
0b92b9b871 Fix setLocalVar not correctly flushing script when not setting static var 2023-09-24 11:46:39 +02:00
Jan
e56fa67e46 Fix not setting dataType when loading menus 2023-09-24 10:30:03 +02:00
Jan
502e134ed8 Fix not properly handling concurrent strings in permissive menu loading mode 2023-09-23 19:04:15 +02:00
Jan
2cd5d05a19 Use escaped strings with simple lexer whenever appropriate 2023-09-23 15:21:09 +02:00
Jan
88bc1c1056 Fix SimpleLexer not being able to read escaped strings 2023-09-23 14:28:59 +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
b2313c6415 Add missing algorithm header 2022-08-21 12:49:24 +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
2dd8660824 Add supplemental data for iw4 statemap layout 2022-08-20 14:37:05 +02:00
Jan
b93707dfe5 Correctly parse state map default case 2022-08-13 21:13:07 +02:00
Jan
fe59cbdee1 Make sure state maps define rules for all entries 2022-08-13 21:12:34 +02:00
Jan
595af125b9 Load state maps when loading techniques 2022-08-13 20:50:40 +02:00
Jan
53bfcadea8 Add StateMap parsing 2022-08-13 19:26:33 +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
066e9af1bc fix compilation on gcc 2022-08-06 19:10:26 +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
09fdb95927 TechsetStateMapCache stub 2022-08-06 11:05:34 +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
Jan
61b44070e4 alphatest, blendfunc, colorwrite material loading 2022-07-23 21:29:45 +02:00
Jan
2f948ea54a More material loading constants 2022-07-23 15:50:35 +02:00
Jan
0cbf234faf Use string constants for material loading 2022-07-23 14:33:27 +02:00
Jan
92d808b7a4 Use constants for material sort key names 2022-07-23 13:05:37 +02:00
Jan
ea79e60856 Load material sortkeys v1 2022-07-23 12:22:59 +02:00
Jan
80a66a5d2c Finalize loaded material with textures 2022-07-15 11:25:38 +02:00