1123 Commits

Author SHA1 Message Date
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
cd5a5c2898 Add missing parenthesis for custom functions when dumping menus 2023-08-25 00:38:35 +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
aea76d0b42 Escape string values when menu dumping 2023-08-24 19:36:37 +02:00
Jan
8a1fe03358 Add base for IW5 menu parsing 2023-08-23 23:08:50 +02:00
Jan
0d6e3e8298 Dump outline color for IW4 menus 2023-08-23 23:08:41 +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
787fe967e3 Move ZoneCodeGenerator and RawTemplater to buildtools output folder 2023-06-19 19:11:03 +02:00
Jan
6c164eee61 Update catch2 version 2023-06-18 13:40:30 +02:00
Jan
34cdd46b42 Fix linux compilation 2023-06-18 12:20:55 +02:00
Jan
61a42afe28 Mark scriptstrings as used even when referencing them via zone pointer 2022-12-03 12:44:33 +01:00
Jan
bb613e4fcf Fix compilation on newer VS update 2022-12-03 11:01:36 +01:00
Jan
bba6fd9d4e Fix error in define expression crash 2022-09-07 22:00:18 +02:00
Jan
b3dbf4a104 Improve raw templater error cases 2022-09-07 19:37:29 +02:00
Jan
28636cc4fe Add skip directive to raw templater 2022-09-07 19:34:22 +02:00
Jan
e853674bbe Remove pragma keyword from raw templater 2022-09-07 18:13:11 +02:00
Jan
8f44a022a2 Remove unneeded includes 2022-09-06 22:26:04 +02:00
Jan
a7ceaf03ee Create directories for templater output 2022-09-06 21:46:10 +02:00
Jan
03dd0f06b2 Add set define proxy to set a define based on an expression 2022-09-06 21:45:55 +02:00
Jan
a36d1c430a Use SimpleExpressionInterpreter in DefinesStreamProxy and expand defines and defined expressions before parsing 2022-09-06 20:52:52 +02:00
Jan
7cce0e387e Add SimpleExpressionInterpreter that just parses a plain expression 2022-09-06 20:52:23 +02:00
Jan
6702856399 Make skipping lines in defines stream proxy configurable 2022-09-06 17:49:35 +02:00
Jan
379aabebd6 Add build log to templater 2022-09-06 00:36:28 +02:00
Jan
6a45031c96 Integrating templating into rawfile pipeline 2022-09-06 00:12:34 +02:00
Jan
f574204e61 Skip until first non empty line for templater 2022-09-05 23:51:09 +02:00
Jan
e8baf65134 Adjust templater output 2022-09-05 23:33:14 +02:00
Jan
d0155d426a Skip defines stream proxy empty lines 2022-09-05 23:30:06 +02:00
Jan
1464329245 Add raw templater 2022-09-05 23:25:11 +02:00
Jan
4ef38264c8 Rename defines if directive parsing to defines directive parsing 2022-09-05 20:17:31 +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
59d829b789 make alphafunc passthrough by default for default2d 2022-08-21 01:25:29 +02:00
Jan
1757caa33d fix statemap layout for iw4 for wireframe 2022-08-21 01:25:04 +02:00
Jan
b4fbbb6bbc Fix not dumping stencil values in json correctly 2022-08-21 01:24:46 +02:00
Jan
db60287a7b Apply statemaps to materials 2022-08-20 19:23:49 +02:00
Jan
c5cfdfde89 Add statemap validation in debug mode 2022-08-20 15:11:08 +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
189c82a787 Make Linker and Unlinker projects depend on raw 2022-08-13 21:12:06 +02:00
Jan
595af125b9 Load state maps when loading techniques 2022-08-13 20:50:40 +02:00
Jan
6d15ddcd08 Dump techniques with state map "passthrough" by default 2022-08-13 20:50:25 +02:00
Jan
686102a59e Add game pattern to search paths 2022-08-13 20:49:33 +02:00