Commit Graph

1070 Commits

Author SHA1 Message Date
Jan
034809c7bb Fix formatting 2024-01-07 14:36:23 +00:00
Jan
44b0f4da5e Move DXGI_FORMAT definition into separate namespace to make it compatible to existing definitions 2024-01-06 20:41:50 +01:00
Jan
cd53c3cbe4 Move D3DFormat definition into separate namespace to make it compatible to existing definitions 2024-01-06 20:35:00 +01:00
Jan
c4150279d0 Add naive expression dumping for menus for debugging purposes 2024-01-06 19:39:07 +01:00
Jan
6eca361517 Fix IW4 menu dumper not dumping custom functions properly 2024-01-06 13:41:02 +01:00
Jan
15bec9c356 Remove duplicated dumping of disabled property in items 2024-01-06 12:07:47 +01:00
Jan
383042046e Merge pull request #58 from skiff/main
T6 SndBank & SndDriverGlobals Asset Dumping
2024-01-01 16:54:16 +01:00
c8f1c16130 fix SND_HashName 2024-01-01 10:29:26 -05:00
Jan
9d0beaa8fc Communicate to the asset loader when parsing localize file failed 2023-12-31 13:45:17 +01:00
Jan
eb065658e6 Use CommonLocalizeEntry in parser 2023-12-31 13:41:44 +01:00
Jan
7c50dd84a7 Reduced duplicated code between localize asset loaders 2023-12-31 13:32:38 +01:00
Jan
4eabf98712 Merge pull request #71 from diamante0018/main
feat: add warning for dupe localize assets
2023-12-31 12:38:56 +01:00
Jan
196e2edd8a Use ZoneState to check whether localize key is duplicated 2023-12-31 12:28:13 +01:00
Jan
e4cfda73dc Move localize parsing into localize root folder 2023-12-31 11:09:45 +01:00
Jan
29a77ff0d8 Correctly name token-paste instead of token-join 2023-12-30 20:05:49 +01:00
Jan
e090e112e6 Implement token pasting 2023-12-30 20:03:35 +01:00
Jan
eece5bb91d Leave in token joining operator but do stringize forward lookup instead 2023-12-30 18:47:32 +01:00
Jan
edb88273e7 Fix not correct adding input suffix when expanding nested macro 2023-12-30 16:45:06 +01:00
Jan
70d4d77266 Identify token joining operators 2023-12-30 16:41:17 +01:00
Jan
729b72c1d9 Consider triple number sign in macro value combination of ## and # 2023-12-30 14:39:08 +01:00
Jan
799fa37c44 Fix not ignoring whitespace after macro parameter comma 2023-12-30 14:16:49 +01:00
Jan
d3519c2f62 Do not expand macros in strings 2023-12-30 14:01:59 +01:00
Jan
2af58e5cac Fix broken stringization resolution 2023-12-30 13:52:05 +01:00
Jan
3901ea2d3c Make DefinesProxy expand nested macros independently to avoid recursion 2023-12-30 11:06:27 +01:00
85539b24be fix alias type 2023-12-27 23:10:24 -05:00
b7355f9870 fix snd bank alias flags 2023-12-27 23:05:32 -05:00
Jan
e8d029d846 Implement stringization operator 2023-12-27 15:20:15 +01:00
09f7473db4 feat: add warning for dupe localize assets 2023-12-26 16:57:28 +01:00
Jan
7820390dd8 Support static expressions for menu simple string properties 2023-12-25 22:59:56 +01:00
Jan
f5c987ce59 Add unit tests for menu item rect 2023-12-25 19:52:05 +01:00
Jan
7fff36dab2 Accept expressions as part of the column sequence 2023-12-25 11:34:49 +01:00
Jan
69cd172879 Accept setLocalVar scripts without value as default value expression 2023-12-25 09:50:24 +01:00
Jan
4ba33f03a0 Support comma in brackets and braces in preprocessor args 2023-12-24 01:01:17 +01:00
Jan
381aaccdf4 Fix unused variables 2023-12-24 00:29:31 +01:00
Jan
3ad2414754 Fix not being able to use two multi-line macros after another 2023-12-24 00:21:36 +01:00
Jan
9c80332147 Update macro expansion logic to accept parameters over multiple lines 2023-12-24 00:05:27 +01:00
Jan
b1d4176b6e Ensure not closing macro definition parameters throws an error 2023-12-23 13:54:57 +01:00
Jan
12bb974324 Make DefinesProxy use ContinueDefine method instead of duplicated code 2023-12-23 13:54:45 +01:00
Jan
74154653aa Fix macro parameters not being able to be specified over multiple lines when defining 2023-12-23 13:53:45 +01:00
8b62bc0bc0 Address review comments. 2023-12-14 13:48:44 -08:00
96e67dc1fa Use clang-format. 2023-12-14 13:28:16 -08:00
bcf9956da2 Fix warning. 2023-12-14 13:28:16 -08:00
76a98e65fd Replace magic numbers with macros from zutil.h. Compress animtrees when linking. 2023-12-14 13:28:16 -08:00
4b05c6aa9b Add decompression of animtree rawfiles for T6. 2023-12-14 13:28:16 -08:00
Jan
82f3d4925f Fix not respecting case-insensitive functions when converting menus 2023-12-14 19:32:51 +01:00
Jan
0b1120f26f Add menu base function as lowercase to the function map to enable case-insensitivity 2023-12-14 18:29:09 +01:00
Jan
00c866c246 Fix custom menu function not being compared case-insensitive 2023-12-14 18:22:02 +01:00
53a3c71847 code review comments 2023-12-13 08:33:51 -05:00
15669fd58c T6 SndBank & SndDriverGlobals 2023-12-11 22:43:20 -05:00
b8b76adc73 fix(menus): make functions case insensitive 2023-12-10 21:33:02 +01:00