Commit Graph

1133 Commits

Author SHA1 Message Date
Jan
df2a5294e8 fix: consider structures that are assets requiring marking 2024-01-23 19:29:43 +01:00
Jan
70dba19484 fix: do not consider a structure require marking when it contains a string member 2024-01-23 19:29:09 +01:00
Jan
91cbfa2bbb chore: use marker template in loader for scriptstrings and dependencies 2024-01-22 22:40:03 +01:00
Jan
685a99577b chore: remove scriptstring and dependency registration from ZoneLoad template 2024-01-22 22:39:18 +01:00
Jan
9d7c0d3452 feat: add asset marking 2024-01-22 21:47:46 +01:00
Jan
c8d25059b9 fix: fix StringTableLoaderV3 not properly initializing cell indices 2024-01-20 20:04:22 +01:00
Jan
2a1b64021b chore: use generic loaders for iw4,iw5,t5,t6 instead of duplicating implementations 2024-01-20 15:38:38 +00:00
Jan
8de849dc85 feat: add iw3 StringTable loading via generic loader 2024-01-20 15:37:15 +00:00
Jan
4696011d9d chore: extend CsvStream to be able to emit const char* allocated with a MemoryManager 2024-01-20 16:30:59 +01:00
Jan
09f3313d76 chore: make localize common loaders const 2024-01-20 11:39:26 +01:00
Jan
bcdde6a244 feat: add localize entry loading for IW3 2024-01-20 11:37:41 +01:00
b10c752391 populate sound alias sub lists correctly. allocate memory for loadedAssets count 2024-01-15 12:58:14 -05:00
b5dd6df1cd begin working on SndBank loading from raw 2024-01-12 16:38:53 -05:00
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