56 Commits

Author SHA1 Message Date
Jan
91cfb2e8dd Move AbstractScopeSequenceHolder to Parse and make it a template class to be reusable 2022-01-18 22:55:25 +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
f30bbd65da Initialize default values of menus via class level defaults 2021-12-29 13:50:45 +01:00
Jan
96ad97b784 Apply menu elements defaults 2021-12-29 09:02:40 +01:00
Jan
d8b1f58b40 Accept any character on menu permissive mode 2021-12-29 02:52:13 +01:00
Jan
7188b0946d Make use of custom functions when converting menus 2021-12-28 23:52:42 +01:00
Jan
f0edfc5939 Fix IW4x menu script arguments 2021-12-28 18:04:32 +01:00
Jan
30bc876ee4 Add menu iw4x uiscripts 2021-12-28 15:31:56 +01:00
Jan
bfe488acad Add missing expressions for openSound and closeSound for menus 2021-12-28 14:17:16 +01:00
Jan
80a0fba606 Parse menu event handler setplayerdata 2021-12-28 14:17:02 +01:00
Jan
d2262ebaec Fix menu dvarStrList not working because of String chaining 2021-12-28 11:49:42 +01:00
Jan
f8c79d27d0 Discord menu function that have already been defined when parsing 2021-12-27 14:16:17 +01:00
Jan
d4154d0cc2 Parse menu function values 2021-12-27 11:28:11 +01:00
Jan
9c5c34b0c8 Leave away unnecessary trailing zeros in script numeric values for menus 2021-12-12 16:23:58 +01:00
Jan
05de9cab29 Use StringChain in menu parsing whenever applicable 2021-12-04 13:38:51 +01:00
Jan
6f15fe6010 Make abstract color property accept less than 4 color values and make others zero 2021-12-02 22:20:11 +01:00
Jan
17e7926442 Accept semicolons in menu dvarStrList and dvarFloatList 2021-12-01 18:22:54 +01:00
Jan
a8126e2db3 Make parenthesis when using menu boolean expression optional 2021-12-01 18:16:58 +01:00
Jan
74988af30b Add expression numerics and int to multiple sequences for menu items 2021-11-28 20:20:28 +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
c3a44f60d3 Accept static expressions for menu floating point and int 2021-11-26 21:50:07 +01:00
Jan
9279123ef9 Consume lonely semicolons in items and menus 2021-11-26 21:48:05 +01:00
Jan
fb70d9538a Make menu and item rect accept expressions as static values 2021-11-26 17:43:27 +01:00
Jan
5b087e0d31 Add missing itemscope and menuscope sequences 2021-11-25 19:22:14 +01:00
Jan
38f3d7d10e Move Menu Expression to Simple Namespace to have generic configurable expressions 2021-11-24 17:44:14 +01:00
Jan
4f2a8454a6 Move common expression classes to simple parsing setup 2021-11-22 21:47:05 +01:00
Jan
0ffa85d557 Fix event handler set not clearing current script correctly 2021-11-20 22:01:21 +01:00
Jan
03b3981312 Add menu key handlers 2021-11-20 22:01:01 +01:00
Jan
aae2b9f3d9 Add sequence for listbox columns 2021-11-20 18:40:18 +01:00
Jan
ebdfb5b9aa Parse feature specific item properties 2021-11-20 18:22:34 +01:00
Jan
dd8a9bf374 Set item type features when setting type 2021-11-20 14:29:24 +01:00
Jan
ef1ad18332 Recognize script numeric and int values as strings 2021-11-20 12:01:04 +01:00
Jan
ed329e6453 Add item scope sequences for expressions and menueventhandlerset 2021-11-14 20:05:06 +01:00
Jan
109955b8f2 Add unit tests for most eventhandlerset script sequences 2021-11-14 18:17:13 +01:00
Jan
252dee03ba Fix menu EventHandlerSetSequences if parsing behaviour based on unit tests 2021-11-14 14:04:17 +01:00
Jan
13589fd43c Add menu eventhandlerset sequences for if, elseif and else 2021-11-14 12:46:02 +01:00
Jan
b1e5fc70a6 Add Menu EventHandler parser for lerp 2021-11-13 22:18:08 +01:00
Jan
7025fca81c Add simple script parsing for menus 2021-11-07 00:45:39 +01:00
Jan
81203e523e Handle condition stack on event handler closing parenthesis 2021-11-06 19:30:36 +01:00
Jan
54d7f75af6 Close EventHandlerSetBlock again 2021-11-06 18:08:58 +01:00
Jan
5af2e6da61 Add menu scopes to state before closing them 2021-11-06 17:47:18 +01:00
Jan
bf19208351 Add base for menu eventhandlerset parsing 2021-11-06 16:28:24 +01:00
Jan
b15efd4a4c Move item parsing sequences for different scopes into the same class 2021-11-06 11:03:15 +01:00
Jan
321794a209 Parse Expression Properties for menuDefs 2021-11-04 22:47:49 +01:00
Jan
69c08def7f Add expression parsing for menu parser 2021-11-03 23:46:18 +01:00
Jan
ab7b516918 Move MenuMatcherFactory to Matcher folder 2021-11-03 17:17:23 +01:00
Jan
84a9c5e701 Read multi token properties for items 2021-11-01 21:59:58 +01:00
Jan
4d868d9b6d Load menu item properties with common field types 2021-11-01 17:19:51 +01:00
Jan
be4e489118 Add sequences for simple common menu properties 2021-11-01 13:30:12 +01:00
Jan
2aa0eb2a8c Add generic property matchers for menus 2021-11-01 12:28:40 +01:00