1212 Commits

Author SHA1 Message Date
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
Alex
85539b24be fix alias type 2023-12-27 23:10:24 -05:00
Alex
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
JezuzLizard
8b62bc0bc0 Address review comments. 2023-12-14 13:48:44 -08:00
JezuzLizard
96e67dc1fa Use clang-format. 2023-12-14 13:28:16 -08:00
JezuzLizard
bcf9956da2 Fix warning. 2023-12-14 13:28:16 -08:00
JezuzLizard
76a98e65fd Replace magic numbers with macros from zutil.h. Compress animtrees when linking. 2023-12-14 13:28:16 -08:00
JezuzLizard
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
Alex
53a3c71847 code review comments 2023-12-13 08:33:51 -05:00
Alex
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
Jan
20af6c4ba5
Merge pull request #48 from diamante0018/main
feature: Load GSC BIN files from gsc-tool  from raw
2023-12-09 23:00:10 +01:00
0ad1964864
fix: address review comments 2023-12-09 22:49:32 +01:00
902a2bc27d
feat: dump scriptfiles to gsc bin (gsc-tool) format 2023-12-09 16:07:53 +01:00
9306210227
feature: Load GSC bin files from gsc-tool from raw 2023-12-09 14:33:56 +01:00
Clang Format
c858695f0c
Adjust further code formatting 2023-11-19 21:07:28 +00:00
Jan
d5f881be04
Fix more missing headers 2023-11-19 21:07:27 +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