38 Commits

Author SHA1 Message Date
Jan
4c09e94220
refactor: remove MemoryManager create method usages 2025-01-13 22:03:20 +00:00
Jan
fa6f9451d2
chore: extract ZoneAssetLoaderContainer to separate class 2025-01-03 10:25:51 +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
b00c65c8c0
refactor: get rid of global game variables 2024-10-19 22:09:26 +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
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
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
Clang Format
c858695f0c
Adjust further code formatting 2023-11-19 21:07:28 +00:00
Clang Format
6b4f5d94a8
Reformat code with clang format 2023-11-19 21:07:21 +00:00
Jan
1a1e1f9815 Change menu unit tests to account for discoveries and fixes of menu parser 2023-09-26 23:14:47 +02:00
Jan
6c164eee61 Update catch2 version 2023-06-18 13:40:30 +02:00
Jan
886bcfeaf8 Add non static evaluation for simple expressions 2022-08-13 14:13:11 +02: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
2df12e101e Disable static value evaluation for visible expression when optimizations are turned off 2022-01-01 16:59:27 +01:00
Jan
80a0fba606 Parse menu event handler setplayerdata 2021-12-28 14:17:02 +01:00
Jan
d2262ebaec Fix menu dvarStrList not working because of String chaining 2021-12-28 11:49:42 +01:00
Jan
7ea53808b7 Extend menu IT with materials 2021-12-27 11:27:59 +01:00
Jan
4ed8016110 Add eventhandlersets to menu parsing integration tests 2021-12-12 14:03:23 +01:00
Jan
a0200a9dbb Test certain properties with menu parsing integration test 2021-12-11 22:55:40 +01:00
Jan
c683c210f5 Add base for menu parsing integration tests 2021-12-11 21:40:13 +01:00
Jan
b082e471e7 Add permissive mode for menu parsing that accepts unknown script tokens as long as they can be put into the script 2021-11-28 17:55:26 +01:00
Jan
4f2a8454a6 Move common expression classes to simple parsing setup 2021-11-22 21:47:05 +01:00
Jan
109955b8f2 Add unit tests for most eventhandlerset script sequences 2021-11-14 18:17:13 +01:00
Jan
9afe9b2b32 Add unit tests for menu EventHandlerSetScope If Statements 2021-11-14 14:03:56 +01:00
Jan
0033ab2a2b Add base for menu parsing unit tests 2021-11-14 12:46:13 +01:00