58 Commits

Author SHA1 Message Date
Jan
8b85cadb77
refactor: make memory from zone a reference instead of ptr 2025-05-02 22:08:06 +01:00
Jan
3b00c1d45b
refactor: fix x64 compilation for ZoneLoading 2025-04-26 19:48:03 +02:00
Jan
5d0c94e430
refactor: fix x64 compilation for ObjLoading 2025-04-26 19:48:03 +02:00
Jan
5635470b6e
refactor: cryptography component 2025-04-26 19:08:15 +02:00
Jan
6f31e8cc29
chore: fix compilation issues with x64 2025-04-06 18:02:47 +01:00
Jan
b4194eff28
chore: always use dynamic asset pools and remove static implementation 2025-01-21 22:14:24 +00:00
Jan
85d9f1c255
fix: salsa20 encryption only initializes encryption with zone name of at max 31 characters length 2025-01-15 00:47:01 +01:00
Jan
8c8ceae0bd
test: add unit test for ImageIPakPostProcessor 2025-01-08 17:36:01 +00: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
80c4a9a2ae
fix: do not reallocate assets for dynamic asset pool 2025-01-01 18:14:42 +01:00
Jan
2182196730
feat: add ipak and iwd zone definition metadata to replace type 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
778361728c
chore: make some zone classes use const references 2024-10-19 20:05:08 +01:00
Jan
0e3d9efb0f
fix: use multimap again for zone definition properties since stuff like ipak_read can be specified multiple times 2024-10-12 22:14:55 +02:00
Jan
1861bd689c
chore: respect previously set game when including additional zone files 2024-10-05 11:19:41 +01:00
Jan
b156c7348a
refactor: use asset_type_t for ZoneDefinition 2024-10-05 10:56:56 +01:00
Jan
132cccb971
refactor: use new line character instead of std::endl 2024-03-24 20:24:22 +01:00
Clang Format
6b4f5d94a8
Reformat code with clang format 2023-11-19 21:07:21 +00:00
Jan
483d47d79e Build referenced targets from within zone definitions 2023-10-21 15:33:14 +02:00
Jan
8514378465 Write IPak base skeleton without data 2023-10-07 19:41:54 +02:00
Jan
fb5c67b5ce Add possibility to include asset lists in project definition 2023-10-07 15:06:41 +02:00
Jan
dd56a57a3e Fix build with g++13 2023-10-01 10:50:39 +02:00
Jan
bb94162be4 Add possibility to override zone name in zone definition 2023-09-28 20:52:16 +02:00
Jan
bb613e4fcf Fix compilation on newer VS update 2022-12-03 11:01:36 +01:00
Jan
538c4be839 Fix not supporting nullptr scriptstrings 2021-12-30 16:51:16 +01:00
Jan
dcffa3d14d Add ParserMultiInputStream 2021-10-31 14:53:05 +01:00
Jan
687d1185a3 Add IW3 zone writing 2021-04-17 11:19:55 +02:00
Jan
5fbcbaf3c7 Fix not straight up inserting scriptstrings on loading from zone 2021-03-23 00:42:41 +01:00
Jan
c4aec3e147 Preserve zone definition meta data order 2021-03-21 10:19:27 +01:00
Jan
5443ed4261 Add scriptstrings from loaded zones to newly linked zone 2021-03-18 20:03:00 +01:00
Jan
2a6d7c84c2 Add ZoneScriptString class to store zone script strings 2021-03-18 16:55:30 +01:00
Jan
1c35f43c25 Add noexcept specifier to XChunkException and WritingException 2021-03-17 23:25:58 +01:00
Jan
724e221ba4 Write XChunks in fastfiles 2021-03-17 22:25:47 +01:00
Jan
f22012d282 Move XChunk processors to ZoneCommon 2021-03-16 20:42:48 +01:00
Jan
9d26c9c927 Add ZoneWriting basis 2021-03-15 22:36:07 +01:00
Jan
301f6e3e7a Use unique_ptr for ZoneLoading 2021-03-14 12:34:50 +01:00
Jan
a84a4051f9 Write ZoneDefinition entry in parenthesis if there are unparsable character sequences 2021-03-13 15:10:03 +01:00
Jan
43966e8e00 Remove unused xblocks vector in Zone 2021-03-12 10:57:31 +01:00
Jan
b360816190 Add AssetLoaders for linker that handle asset types for their specific game 2021-03-12 10:55:55 +01:00
Jan
792509d11d Read assetlists for ignoring assets 2021-03-11 14:04:53 +01:00
Jan
8798779b39 Add ZoneDefinition Lexer 2021-03-10 14:58:02 +01:00
Jan
6b80a1f951 Add sequences for ZoneDefinition includes and ignores 2021-03-09 11:20:05 +01:00
Jan
f3e8100526 Add ZoneDefinition Parsing 2021-03-09 11:04:34 +01:00
Jan
d96f813e73 Restructure ZoneDefinitionWriting 2021-03-08 17:28:24 +01:00
Jan
12461d27e7 move parts to new common component to avoid circular dependency of zonecommon and objcommon 2021-03-03 12:56:15 -08:00
Jan
1a45cf2107 Fix more gcc compilation issues 2021-03-03 09:12:27 -08:00
Jan
eed7164b5b Save scriptstrings per zone and not per asset since that solves all problems with multiple assets of the same zone referencing the same struct in memory that has scriptstring indices 2020-10-23 15:54:27 +02:00
Jan
f0b66f0a35 ZoneCommon: List zone content in the order it was loaded 2020-02-19 14:10:50 +01:00
Jan
992e9cea30 ZoneLoading: Properly link assets as dependencies instead of only saving the name of the dependency 2020-02-18 13:16:39 +01:00