140 Commits

Author SHA1 Message Date
Jan
9f9e20988a
fix: zone def loader not taking correct token for asset name 2024-10-08 20:11:15 +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
62f774f264
fix: not properly normalizing asset names when looking up from GlobalAssetPools 2024-08-10 16:04:39 +02:00
Jan
a9488b8152
chore: normalize asset names before adding to asset pools 2024-05-11 12:57:17 +02:00
Jan
fc18f81302
fix: consider asset references when looking for assets of zone 2024-03-30 17:44:55 +01:00
Jan
e7a9e4b528
chore: use const reference for assetName in GetAsset methods 2024-03-30 17:19:32 +01:00
Jan
132cccb971
refactor: use new line character instead of std::endl 2024-03-24 20:24:22 +01:00
Jan
a3dfb9e431
fix: indirect asset references may not be fully lower case 2024-02-08 22:59:42 +01:00
Jan
54c37c318e
style: fix formatting 2024-02-07 01:18:00 +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
Clang Format
c858695f0c
Adjust further code formatting 2023-11-19 21:07:28 +00:00
Jan
0c4835bc36
Fix build due to reordered headers 2023-11-19 21:07:27 +00: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
1a36912b44 Fix unlinking every single asset in the global asset pools on unloading a zone 2022-04-16 16:32:55 +02: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
868bd070d0 Include and exclude asset type dumping configured by command line args 2021-10-11 18:47:53 +02: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
bb3e7d9e88 Load T5 fastfiles 2021-05-12 21:47:34 +02:00
Jan
e3a3d012e6 Add Commands for T5 2021-05-12 19:23:27 +02:00
Jan
2edca7a57e Add T5 basis 2021-04-27 18:19:32 +02:00
Jan
687d1185a3 Add IW3 zone writing 2021-04-17 11:19:55 +02:00
Jan
ecef868903 Add loading of iw3 fastfiles 2021-04-14 19:41:41 +02:00
Jan
6b72ac080f Finish iw3 zone code generation 2021-04-14 18:39:54 +02:00
Jan
1267b8aa7b iw3 basis 2021-04-12 19:18:55 +02:00
Jan
1cc5be2f64 Load iw4x zones for iw4 2021-04-01 20:29:42 +02:00
Jan
648fed20a6 Fix zone definition parser adding spaces after field to field value 2021-03-28 13:07:45 +02:00
Jan
5fbcbaf3c7 Fix not straight up inserting scriptstrings on loading from zone 2021-03-23 00:42:41 +01: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
c4aec3e147 Preserve zone definition meta data order 2021-03-21 10:19:27 +01:00
Jan
5e08469635 Use custom parser values instead of simple parser values for parsing Zone definitions 2021-03-20 14:07:48 +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
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
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
c9f88e5e93 Use ZoneConstants class for IW4 2021-03-16 13:19:56 +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
301f6e3e7a Use unique_ptr for ZoneLoading 2021-03-14 12:34:50 +01:00