117 Commits

Author SHA1 Message Date
b8b76adc73
fix(menus): make functions case insensitive 2023-12-10 21:33:02 +01:00
Clang Format
c858695f0c
Adjust further code formatting 2023-11-19 21:07:28 +00:00
Jan
0c4835bc36
Fix build due to reordered headers 2023-11-19 21:07:27 +00:00
Jan
8c4d311527
Fix formatting of two remaining files 2023-11-19 21:07:27 +00:00
Clang Format
6b4f5d94a8
Reformat code with clang format 2023-11-19 21:07:21 +00:00
Jan
1e6824368c Fix bugs related to parsing IW5 base game menus 2023-09-26 22:27:32 +02:00
Jan
486d704ce6 Add MP only IW5 UiScripts 2023-09-26 20:59:55 +02:00
Jan
13dfbc9bbb Add IW5 specific uiscripts 2023-09-25 22:55:00 +02:00
Jan
4ff8b3396e Implement the rest of IW5 menu event handler sequences 2023-09-25 21:54:27 +02:00
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
0b92b9b871 Fix setLocalVar not correctly flushing script when not setting static var 2023-09-24 11:46:39 +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
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
db60287a7b Apply statemaps to materials 2022-08-20 19:23:49 +02:00
Jan
886bcfeaf8 Add non static evaluation for simple expressions 2022-08-13 14:13:11 +02:00
Jan
a092f76ec9 Add option to not parse floating point numbers when using SimpleLexer 2022-03-30 19:07:54 +02:00
Jan
93fea39ddd Move StructuredDataDef Parsing to new package 2022-03-21 10:30:54 +01:00
Jan
0a226652f2 Rename CommonStructuredDataStructEntry to Property 2022-03-20 17:40:12 +01:00
Jan
b2140260a4 Dump CommonStructuredDataDefSet instead of the game's internal structures 2022-03-19 23:39:50 +01:00
Jan
c38367d55b Move common structureddatadef classes to objcommon 2022-03-12 14:02:52 +01:00
Jan
dff7912dbc Parse padding instructions for StructuredDataDef 2022-02-06 10:49:58 +01:00
Jan
497c9fc6cf Rename StructuredDataDef classes to remove "Def" from classes that do not need it 2022-01-22 14:47:47 +01:00
Jan
2da6ab8479 Fix empty StructuredDataDef struct having a size of 8 when it is the root struct 2022-01-22 14:41:20 +01:00
Jan
f061ff91f5 Create default StructuredDataDef struct when none was specified so there is always a root struct 2022-01-22 14:35:43 +01:00
Jan
dd23e3f66d Fix StructuredDataDef multi dimensional arrays not getting parsed correctly 2022-01-22 13:57:10 +01:00
Jan
9ed169fcba Calculate StructuredDataDef sizes and offsets 2022-01-22 13:40:08 +01:00
Jan
96ef7a46fb Convert StructuredDataDef for IW4 2022-01-20 23:38:45 +01:00
Jan
b894a524e8 Parse structured data def reserved enum count 2022-01-20 22:37:33 +01:00
Jan
944586fcde Parse StructuredDataDef structs 2022-01-19 19:58:41 +01:00
Jan
1c1fbd1007 Add initial draft of structured data def parser to parse enums only for now 2022-01-18 22:55:50 +01:00
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
4b80ed1e9e Do not parse menus more than once when they have already been parsed 2022-01-01 16:39:28 +01:00
Jan
b5475e30f0 Only load menu files once 2021-12-31 00:09:25 +01:00
Jan
8e4b2bb057 Add non default forecolor flag if forecolor is not white 2021-12-29 18:08:38 +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