2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-07-04 10:11:53 +00:00

Commit Graph

  • 9c5c34b0c8 Leave away unnecessary trailing zeros in script numeric values for menus Jan 2021-12-12 16:23:58 +01:00
  • 4ed8016110 Add eventhandlersets to menu parsing integration tests Jan 2021-12-12 14:03:23 +01:00
  • a0200a9dbb Test certain properties with menu parsing integration test Jan 2021-12-11 22:55:40 +01:00
  • 9435c836d3 Include ObjLoading and Parser test projects in gitlab ci pipeline Jan 2021-12-11 21:53:31 +01:00
  • c683c210f5 Add base for menu parsing integration tests Jan 2021-12-11 21:40:13 +01:00
  • 899449145c Update default project file generation for VS2022 Jan 2021-12-11 12:32:47 +01:00
  • fe07b3a10e Convert menu expressions Jan 2021-12-08 21:49:33 +01:00
  • acca33b036 Add conversion for EventHandlerSet Jan 2021-12-07 21:35:56 +01:00
  • bc12b3dcd0 Menu item conversion base Jan 2021-12-06 19:00:41 +01:00
  • 988620e23d Menu conversion base Jan 2021-12-05 16:23:25 +01:00
  • 05de9cab29 Use StringChain in menu parsing whenever applicable Jan 2021-12-04 13:38:51 +01:00
  • 616c6414ff Add string chains to menu string properties Jan 2021-12-02 22:39:12 +01:00
  • 6f15fe6010 Make abstract color property accept less than 4 color values and make others zero Jan 2021-12-02 22:20:11 +01:00
  • 4b7a78100d Make defines stream proxy able to accept comma within parameter values that are in parenthesis Jan 2021-12-02 22:19:48 +01:00
  • f5ed7880b0 Fix defines proxy not being able to process parameters with underscores Jan 2021-12-01 23:19:20 +01:00
  • 17e7926442 Accept semicolons in menu dvarStrList and dvarFloatList Jan 2021-12-01 18:22:54 +01:00
  • a8126e2db3 Make parenthesis when using menu boolean expression optional Jan 2021-12-01 18:16:58 +01:00
  • 74988af30b Add expression numerics and int to multiple sequences for menu items Jan 2021-11-28 20:20:28 +01:00
  • 8e7cd0140c Fix comment removing defines proxy not properly removing multiple comments per line Jan 2021-11-28 19:29:50 +01:00
  • 782b05a60b Fix defines proxy not correctly adding first line to escape line end define Jan 2021-11-28 19:07:30 +01:00
  • 8bf0126e38 Add hint for permissive mode when parsing fails within event handlerset Jan 2021-11-28 18:03:27 +01:00
  • b082e471e7 Add permissive mode for menu parsing that accepts unknown script tokens as long as they can be put into the script Jan 2021-11-28 17:55:26 +01:00
  • e94c48338c Make defines proxy accept parameter values that have parenthesis Jan 2021-11-28 15:52:45 +01:00
  • e7eb43a955 Correctly parse binary operations that can be interpreted as sign prefixes for numbers Jan 2021-11-28 15:16:43 +01:00
  • c3a44f60d3 Accept static expressions for menu floating point and int Jan 2021-11-26 21:50:07 +01:00
  • 9279123ef9 Consume lonely semicolons in items and menus Jan 2021-11-26 21:48:05 +01:00
  • fb70d9538a Make menu and item rect accept expressions as static values Jan 2021-11-26 17:43:27 +01:00
  • 2a4768e5b0 Add conditional operator to simple expressions Jan 2021-11-26 17:39:46 +01:00
  • 5b087e0d31 Add missing itemscope and menuscope sequences Jan 2021-11-25 19:22:14 +01:00
  • 82cda64a44 Add missing unit tests for elif directive Jan 2021-11-25 18:10:29 +01:00
  • c65c57ce72 Add support for defineproxy if directive parsing Jan 2021-11-25 18:01:18 +01:00
  • 887d14df54 Move generic parser unit tests from zonecodegenerator to parsertests Jan 2021-11-25 15:17:30 +01:00
  • 4b2f001e7c Add more unit tests for simple expressions and fix code Jan 2021-11-25 12:33:30 +01:00
  • 7680f92ae1 Add base for simple expression unit tests Jan 2021-11-25 01:20:51 +01:00
  • c5475ce780 Fix unit tests failing for menu expressions Jan 2021-11-25 00:24:36 +01:00
  • 38f3d7d10e Move Menu Expression to Simple Namespace to have generic configurable expressions Jan 2021-11-24 17:44:14 +01:00
  • 4f2a8454a6 Move common expression classes to simple parsing setup Jan 2021-11-22 21:47:05 +01:00
  • 5baa311025 Make defines proxy recognize define values that are escaped over multiple lines Jan 2021-11-22 13:38:33 +01:00
  • a8f0fbd3bb Use shared ptr for line filenames to be able to still use filenames when original file has been closed Jan 2021-11-22 10:52:43 +01:00
  • 6b7a71a1bb Make defines proxy accept whitespace Jan 2021-11-22 09:43:03 +01:00
  • ba3084700e Fix Abstract Parser not being able to display parsing errors from defines proxy on empty line Jan 2021-11-22 09:42:46 +01:00
  • 0ffa85d557 Fix event handler set not clearing current script correctly Jan 2021-11-20 22:01:21 +01:00
  • 03b3981312 Add menu key handlers Jan 2021-11-20 22:01:01 +01:00
  • aae2b9f3d9 Add sequence for listbox columns Jan 2021-11-20 18:40:18 +01:00
  • ebdfb5b9aa Parse feature specific item properties Jan 2021-11-20 18:22:34 +01:00
  • dd8a9bf374 Set item type features when setting type Jan 2021-11-20 14:29:24 +01:00
  • ef1ad18332 Recognize script numeric and int values as strings Jan 2021-11-20 12:01:04 +01:00
  • ed329e6453 Add item scope sequences for expressions and menueventhandlerset Jan 2021-11-14 20:05:06 +01:00
  • 9a2e74d083 Add menu unary expression for minus Jan 2021-11-14 20:04:36 +01:00
  • ebb8eb9e5b Fix SimpleLexer not recognizing negative numbers Jan 2021-11-14 20:04:00 +01:00
  • 18aa914d70 Fix abstract lexer not currently setting string token pos Jan 2021-11-14 20:03:37 +01:00
  • 109955b8f2 Add unit tests for most eventhandlerset script sequences Jan 2021-11-14 18:17:13 +01:00
  • 252dee03ba Fix menu EventHandlerSetSequences if parsing behaviour based on unit tests Jan 2021-11-14 14:04:17 +01:00
  • 9afe9b2b32 Add unit tests for menu EventHandlerSetScope If Statements Jan 2021-11-14 14:03:56 +01:00
  • 0033ab2a2b Add base for menu parsing unit tests Jan 2021-11-14 12:46:13 +01:00
  • 13589fd43c Add menu eventhandlerset sequences for if, elseif and else Jan 2021-11-14 12:46:02 +01:00
  • f760c517dd Add menu parsing results to zone state Jan 2021-11-14 09:25:35 +01:00
  • 7eecd58ce8 Load menu files that are referenced via loadmenu Jan 2021-11-13 23:28:22 +01:00
  • 4552a4fe4a Add asset loading states per zone for the usecase of saving loaded menus and menu functions Jan 2021-11-13 22:18:44 +01:00
  • b1e5fc70a6 Add Menu EventHandler parser for lerp Jan 2021-11-13 22:18:08 +01:00
  • 7025fca81c Add simple script parsing for menus Jan 2021-11-07 00:45:39 +01:00
  • 81203e523e Handle condition stack on event handler closing parenthesis Jan 2021-11-06 19:30:36 +01:00
  • 54d7f75af6 Close EventHandlerSetBlock again Jan 2021-11-06 18:08:58 +01:00
  • 5af2e6da61 Add menu scopes to state before closing them Jan 2021-11-06 17:47:18 +01:00
  • bf19208351 Add base for menu eventhandlerset parsing Jan 2021-11-06 16:28:24 +01:00
  • b15efd4a4c Move item parsing sequences for different scopes into the same class Jan 2021-11-06 11:03:15 +01:00
  • 321794a209 Parse Expression Properties for menuDefs Jan 2021-11-04 22:47:49 +01:00
  • 38551f29de Add vector parameter functions to and/or matchers Jan 2021-11-04 20:31:20 +01:00
  • 69c08def7f Add expression parsing for menu parser Jan 2021-11-03 23:46:18 +01:00
  • c5d7d71a51 Add multicharacter tokens to simple lexer Jan 2021-11-03 22:02:04 +01:00
  • ab7b516918 Move MenuMatcherFactory to Matcher folder Jan 2021-11-03 17:17:23 +01:00
  • 0f017749c8 Add domain classes for menu expressions Jan 2021-11-02 23:45:04 +01:00
  • 84a9c5e701 Read multi token properties for items Jan 2021-11-01 21:59:58 +01:00
  • 4d868d9b6d Load menu item properties with common field types Jan 2021-11-01 17:19:51 +01:00
  • b0a9406f96 Fix not dumping enableDvar correctly Jan 2021-11-01 17:19:17 +01:00
  • 99ca6f8efb Fix SimpleLexer not understanding floating point numbers that omit pre dot zero Jan 2021-11-01 15:12:46 +01:00
  • e19f526d8b Properly handle tabs in pragma directives and other precompiler statements Jan 2021-11-01 14:36:53 +01:00
  • be4e489118 Add sequences for simple common menu properties Jan 2021-11-01 13:30:12 +01:00
  • 2aa0eb2a8c Add generic property matchers for menus Jan 2021-11-01 12:28:40 +01:00
  • 77603a2617 Bundle all property sequences for menus, items and functions together in one file Jan 2021-11-01 10:59:28 +01:00
  • 68945de51a Add menu matcher for fullscreen property Jan 2021-11-01 10:25:15 +01:00
  • 6c5825de6d Fix SimpleMatcher for keyword ignore case does not properly ignore case Jan 2021-11-01 10:25:05 +01:00
  • 5df6fce48a Add MenuMatcherFactory with extensions for Numeric and Text token types Jan 2021-11-01 10:14:24 +01:00
  • ff823b4722 Move menu parsing classes to menu namespace Jan 2021-11-01 09:43:07 +01:00
  • 38d60983e8 Add menu sequence for name properties Jan 2021-10-31 18:44:02 +01:00
  • 68610e49f3 Add sourceFile parameter to MultiInput ParserStream Jan 2021-10-31 17:45:55 +01:00
  • ca1059b05c Add Menu Parsing Result Jan 2021-10-31 17:33:46 +01:00
  • e79376eb3e Add menu defines for feature levels Jan 2021-10-31 16:45:49 +01:00
  • 9816d01ac2 Make DefinesProxy go over a line with defines substitution multiple times until no further substitution has been done Jan 2021-10-31 16:21:04 +01:00
  • bba55706bf Add basic parsing for menu lists with only loadMenus instructions Jan 2021-10-31 15:37:46 +01:00
  • 037e13b874 Add IgnoreCase Keyword matcher for simple parser Jan 2021-10-31 15:22:03 +01:00
  • dcffa3d14d Add ParserMultiInputStream Jan 2021-10-31 14:53:05 +01:00
  • d5a8d038a6 Add IW5 extra menu fields Jan 2021-10-24 22:27:31 +02:00
  • cd2cec3546 Correctly handle referencing assets when dumping menulist Jan 2021-10-24 22:04:31 +02:00
  • 568095f57e IW5 menu dumping initial commit Jan 2021-10-24 22:00:31 +02:00
  • c1fd5b80a4 Write all menu function definitions on top of every menu list item Jan 2021-10-24 16:22:36 +02:00
  • 70c31143f4 if the menu list name matches the menu name, embed it directly Jan 2021-10-24 15:38:59 +02:00
  • a2af7db92b Add missing nullptr check for newsticker iw4 menu dumping Jan 2021-10-24 15:15:05 +02:00
  • 805c00539b Move IW4 menu dumping logic to separate class and constants to common scope Jan 2021-10-24 14:59:43 +02:00
  • 4e5e6d05bd Implement function inlining for menu legacy mode Jan 2021-10-24 10:35:57 +02:00