140 Commits

Author SHA1 Message Date
Jan
6f31e8cc29
chore: fix compilation issues with x64 2025-04-06 18:02:47 +01:00
Jan
4c09e94220
refactor: remove MemoryManager create method usages 2025-01-13 22:03:20 +00:00
Jan
d1e6aa9da0
test: add unit test for IwdCreator 2025-01-08 21:25:48 +00:00
Jan
fa249b0bd3
test: add unit test for IPakCreator 2025-01-08 21:05:11 +00:00
Jan
54e240e98c
fix: compilation 2025-01-08 17:39:34 +00:00
Jan
3b5ca86b0d
test: add unit test for ImageIwdPostProcessor 2025-01-08 17:37:19 +00:00
Jan
8c8ceae0bd
test: add unit test for ImageIPakPostProcessor 2025-01-08 17:36:01 +00:00
Jan
e0f8b3d3ca
chore: add abstraction for opening output files to be able to mock it 2025-01-07 00:02:38 +01:00
Jan
cacccf64e1
fix: make sure kvps are in a deterministic order 2025-01-05 10:16:14 +00:00
Jan
83833cb84e
fix: use canonical instead of absolute in test initialization 2025-01-05 09:05:47 +00:00
Jan
ce3786f086
chore: check exact paths of test executable and provide temp dir 2025-01-05 00:16:58 +00:00
Jan
fc9e6ce14d
test: add test for KeyValuePairsCompilerT6 2025-01-05 00:16:57 +00:00
Jan
fa6f9451d2
chore: extract ZoneAssetLoaderContainer to separate class 2025-01-03 10:25:51 +01:00
Jan
b5937ef975
fix: fix not finalizing obj containers when parsing zone definition 2025-01-01 21:19:28 +01:00
Jan
aa212e0958
chore: parse includes and assetlists while parsing zone definition 2025-01-01 18:14:43 +01:00
Jan
692c31b711
chore: fix test compilation 2025-01-01 18:14:42 +01:00
Jan
9ebea5034a
chore: generalize default asset creators 2025-01-01 18:14:40 +01:00
Jan
be6c30c503
refactor: rework search paths 2025-01-01 18:14:39 +01:00
Jan
2034db3330
fix: make name of zone definition the target name by default 2024-11-12 19:37:38 +01:00
Jan
b00c65c8c0
refactor: get rid of global game variables 2024-10-19 22:09:26 +02:00
Jan
2dccd423af
refactor: extract image code into single component 2024-09-27 21:16:29 +02:00
Jan
5cc52c42cd
refactor: image and obj data loading 2024-09-26 07:22:35 +02:00
Jan
04b80b5208
chore: move AddAsset function shortcuts to interface 2024-04-22 18:52:47 +02:00
Jan
666ea2be9d
chore: change tests to reflect new action parsing behaviour 2024-03-30 20:10:20 +01:00
Jan
239001e6f2
refactor: use std ranges functions where applicable 2024-03-24 20:49:15 +01:00
Jan
4f0ee35740
refactor: use std::extent_v instead of std::extent 2024-03-24 19:46:43 +01:00
Jan
4591787989
chore: drop third party lib for reading flac header 2024-02-10 16:38:20 +01:00
Jan
0a13281295
chore: load indirectly referenced assets if they are not ignored 2024-02-06 23:56:05 +01:00
Jan
ac0d8a83a0
chore: refactor pool allocation and add indirect references 2024-02-06 23:03:40 +01:00
Jan
ada3a3251e
test: add unit tests for string table asset loaders 2024-01-20 20:03:59 +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
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
37b1f7fe87
Add more DefinesStreamProxy tests to harden expected behavior 2023-12-28 17:20:44 +01:00
Jan
b151c37dc0
Add unit tests for preprocessor operators 2023-12-27 15:20:03 +01:00
Jan
0bcadc1abe
Add test to ensure menu simple color properties can be static
expressions
2023-12-26 13:11:59 +01:00
Jan
851baa5931
Add test to ensure menu simple floating point properties can be static
expressions
2023-12-26 13:09:20 +01:00
Jan
749f44b2c4
Add tests to ensure menu simple int properties can be static expressions 2023-12-26 13:06:48 +01:00
Jan
7820390dd8
Support static expressions for menu simple string properties 2023-12-25 22:59:56 +01:00
Jan
1b5d6f7439
Add unit test for menu item origin 2023-12-25 19:52:20 +01:00
Jan
f5c987ce59
Add unit tests for menu item rect 2023-12-25 19:52:05 +01:00
Jan
eb8ce86245
Add assertions to dvarStrList test to make sure the state is correct 2023-12-25 17:48:32 +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
067f1a854e
Add unit tests for properly parsing comma in square brackets and curly
braces in macro usages
2023-12-24 00:44:27 +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
b1d4176b6e
Ensure not closing macro definition parameters throws an error 2023-12-23 13:54:57 +01:00
Jan
c1c5378b08
Fix example line formatting in DefinesStreamProxy Test 2023-12-23 13:54:53 +01:00
Jan
b7022291a8
Add unit tests for expected behaviour for DefinesStreamProxy 2023-12-23 13:53:42 +01:00