39 Commits

Author SHA1 Message Date
0021c85536
fix: address review 2024-09-15 11:36:05 +02:00
a0551d72da
feat: track time spent linking zone 2024-09-12 15:52:42 +02:00
Jan
a3acba8bc0
chore: update all usages of memory manager allocation 2024-04-22 21:21:48 +02:00
Jan
132cccb971
refactor: use new line character instead of std::endl 2024-03-24 20:24:22 +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
538c4be839 Fix not supporting nullptr scriptstrings 2021-12-30 16:51:16 +01:00
Jan
88710cb3bf IW5 Fixups 2021-07-23 16:28:59 +02:00
Jan
f201dfafd8 IW5 support initial commit 2021-07-23 01:12:36 +02:00
Jan
2ac1ec7cb0 Add zone writing for T5 2021-06-24 16:58:12 +02:00
Jan
2edca7a57e Add T5 basis 2021-04-27 18:19:32 +02:00
Jan
a8c62de081 Add written variable for zone writing code to be able to differ between written data and original data 2021-05-08 16:41:42 +02:00
Jan
acc11a1609 Fix IW4 fastfile writer factory steps 2021-05-08 16:41:21 +02:00
Jan
4d37d37fd7 Add IW4 zone writing 2021-05-08 14:02:08 +02:00
Jan
687d1185a3 Add IW3 zone writing 2021-04-17 11:19:55 +02:00
Jan
1267b8aa7b iw3 basis 2021-04-12 19:18:55 +02:00
Jan
1058ee7881 Write null memory at end of t6 fastfiles like the original linker does because the game's reader needs it for some reason 2021-03-22 09:49:42 +01:00
Jan
d99eb0ab24 Use asset identified by name and type when writing asset dependency to make sure that the pointer always matches one that would have been written to the zone already even when using an asset from another loaded zone 2021-03-21 21:29:02 +01:00
Jan
a2ef445455 Fix adding offsets on strings and assets 2021-03-21 10:19:51 +01:00
Jan
2f700a48a9 Make sure fastfile offset is taken after alignment, marking following is done on the originally written data and writing partially uses the original data when writing dynamic sized data
too lazy to split into single commits
2021-03-19 15:09:44 +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
8736280ea8 Fix zone writing code not setting ptr following 2021-03-18 13:02:31 +01:00
Jan
0a4886e7ab Make sure zone memory can allocate blocks that are larger than its default maximum size and throw an error if allocation failed 2021-03-18 11:48:41 +01:00
Jan
50808bfad7 Fix xchunk processor not resetting input buffer size 2021-03-18 11:47:55 +01:00
Jan
2add1ba22d Make sure xchunk write size can specified to be smaller than xchunk size to respect zlib to add size instead of removing size due to not being able to compress 2021-03-18 11:47:41 +01:00
Jan
58eb64114c Add missing headers for gcc 2021-03-17 23:32:42 +01:00
Jan
1c35f43c25 Add noexcept specifier to XChunkException and WritingException 2021-03-17 23:25:58 +01:00
Jan
0bd4160956 Use static variable for void* PTR_INSERT and PTR_FOLLOWING instead of constexpr because thats incompatible with g++ 2021-03-17 23:16:09 +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
ca1329323b Add header writing to IW4 ZoneWriterFactory 2021-03-16 13:30:36 +01:00
Jan
03775944ce Add skeleton for IW4 writing 2021-03-16 12:52:26 +01:00
Jan
4feea62280 ZoneWriting stuff 2021-03-16 12:37:15 +01:00
Jan
9d26c9c927 Add ZoneWriting basis 2021-03-15 22:36:07 +01:00
Jan
e6a91c0305 add linker basis 2021-03-08 12:46:27 +01:00
Jan
5b97aee87f Remove solution files from repository 2019-10-22 00:00:14 +02:00
Jan
2c611a1368 Update projects to Visual Studio 2019 platform 2019-10-02 12:21:34 +02:00
Jan
42af6df5d8 Rename ZoneLoader and ZoneWriter components to ZoneLoading and ZoneWriting to make a difference between the executive class and the component class 2019-09-24 22:35:11 +02:00