2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-09-12 19:47:27 +00:00

Commit Graph

  • 57f37ec0ea Add IW4 asset loader classes for all asset types that did not have one yet Jan 2022-01-02 01:07:09 +01:00
  • 98d62039eb If menu optimization is enabled, optimize away unnecessary if statements Jan 2022-01-01 23:12:27 +01:00
  • 8a3bbf948b Make sure you can specify event handlers more than once to be able to append script data Jan 2022-01-01 20:00:09 +01:00
  • d900b9cccd Fix not correctly setting type data for text scroll items Jan 2022-01-01 19:40:08 +01:00
  • 21f68c117e Fix float expression forecolors not setting dynamic forecolor flag Jan 2022-01-01 18:44:04 +01:00
  • 2df12e101e Disable static value evaluation for visible expression when optimizations are turned off Jan 2022-01-01 16:59:27 +01:00
  • 64a1e4c176 Fix menu visibility Jan 2022-01-01 16:39:39 +01:00
  • 4b80ed1e9e Do not parse menus more than once when they have already been parsed Jan 2022-01-01 16:39:28 +01:00
  • 5d1df29542 Make sure to only dump menu files once Jan 2021-12-31 16:34:42 +01:00
  • 28011d6b64 Add enums for GfxStateBits for future reference Jan 2021-12-31 11:58:56 +01:00
  • 657d32e5f6 Properly update menulist asset dependencies Jan 2021-12-31 00:30:58 +01:00
  • b5475e30f0 Only load menu files once Jan 2021-12-31 00:09:25 +01:00
  • 1e3946974c Fix menu converter not properly referencing functions Jan 2021-12-30 19:22:17 +01:00
  • 9136a7de3b Enable of usage of functions that were defined in the same menu file Jan 2021-12-30 19:20:01 +01:00
  • 3bbe5a4835 Remove outdated assertion for empty scriptstring list on loading Jan 2021-12-30 19:19:42 +01:00
  • 538c4be839 Fix not supporting nullptr scriptstrings Jan 2021-12-30 16:51:16 +01:00
  • 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 Jan 2021-12-29 18:50:34 +01:00
  • 8e4b2bb057 Add non default forecolor flag if forecolor is not white Jan 2021-12-29 18:08:38 +01:00
  • f628d33a95 Properly dump and convert visible property for items Jan 2021-12-29 17:04:18 +01:00
  • 83492b907f Properly dump and render rect property for items Jan 2021-12-29 17:04:03 +01:00
  • a7aac965da Convert menu item type data Jan 2021-12-29 14:46:53 +01:00
  • f30bbd65da Initialize default values of menus via class level defaults Jan 2021-12-29 13:50:45 +01:00
  • bf7e136c54 Convert enable dvar values Jan 2021-12-29 11:50:39 +01:00
  • 02f8924ada Fix floating expression converting not respecting static values Jan 2021-12-29 11:50:29 +01:00
  • 95b2e4b851 fix linker not having "no optimization" command line argument available Jan 2021-12-29 11:49:11 +01:00
  • 0ede5b30d4 Convert float expressions Jan 2021-12-29 10:16:28 +01:00
  • 96ad97b784 Apply menu elements defaults Jan 2021-12-29 09:02:40 +01:00
  • d8b1f58b40 Accept any character on menu permissive mode Jan 2021-12-29 02:52:13 +01:00
  • c87e87eafc Correctly write menu items to zone Jan 2021-12-29 02:51:58 +01:00
  • a0ff11a857 Create default GfxImage assets Jan 2021-12-29 02:51:33 +01:00
  • dcff6132b9 Fix menulist dumping functions not skipping nullptrs indices Jan 2021-12-29 02:05:44 +01:00
  • ae095f8fe5 Add focussound conversion for menus Jan 2021-12-29 02:05:21 +01:00
  • 3589035ed6 Use expression supporting data strings for menus Jan 2021-12-29 01:25:18 +01:00
  • 847e4d568c Add static dvars to menu conversion Jan 2021-12-29 01:14:31 +01:00
  • 5e31be9bac Finalize menu assets after loading all assets Jan 2021-12-29 00:20:54 +01:00
  • 7188b0946d Make use of custom functions when converting menus Jan 2021-12-28 23:52:42 +01:00
  • 338de302d9 Add free function to memory manager Jan 2021-12-28 23:51:23 +01:00
  • ca9ee04738 Dump menu functions with a function like call Jan 2021-12-28 19:49:20 +01:00
  • 43610b381d Reduce menu reading console output on successful read Jan 2021-12-28 19:40:39 +01:00
  • d24e847204 Add command line argument for disable menu optimizations on loading Jan 2021-12-28 18:26:41 +01:00
  • 6d622e6ae1 Create Default materials for iw4 Jan 2021-12-28 18:04:51 +01:00
  • f0edfc5939 Fix IW4x menu script arguments Jan 2021-12-28 18:04:32 +01:00
  • 30bc876ee4 Add menu iw4x uiscripts Jan 2021-12-28 15:31:56 +01:00
  • bfe488acad Add missing expressions for openSound and closeSound for menus Jan 2021-12-28 14:17:16 +01:00
  • 80a0fba606 Parse menu event handler setplayerdata Jan 2021-12-28 14:17:02 +01:00
  • 15f57fedcd Make menu dumper consider empty tokens require parenthesis Jan 2021-12-28 14:16:22 +01:00
  • d2262ebaec Fix menu dvarStrList not working because of String chaining Jan 2021-12-28 11:49:42 +01:00
  • f8c79d27d0 Discord menu function that have already been defined when parsing Jan 2021-12-27 14:16:17 +01:00
  • 245a2ed642 Add equals operation to simpleexpressionvalue to check if an expression is the same as another one Jan 2021-12-27 14:15:44 +01:00
  • cc88fb0a5a Log menu parsing errors in stderr Jan 2021-12-27 11:32:47 +01:00
  • d4154d0cc2 Parse menu function values Jan 2021-12-27 11:28:11 +01:00
  • 7ea53808b7 Extend menu IT with materials Jan 2021-12-27 11:27:59 +01:00
  • 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