153 Commits

Author SHA1 Message Date
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
Jan
b8cfdba5ec Make ZoneDefinition parser recognize strings as asset names 2021-03-13 15:48:26 +01:00
Jan
a84a4051f9 Write ZoneDefinition entry in parenthesis if there are unparsable character sequences 2021-03-13 15:10:03 +01:00
Jan
5f6d976748 Fix ZoneDefinition parser condition for leaving out slashes 2021-03-13 14:54:36 +01:00
Jan
a7860c7c76 Add AssetLoader basis 2021-03-13 14:27:20 +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
9b15afa70e Make ZoneDefinition sequences also accept eof instead of new line 2021-03-10 15:17:36 +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
a15fd17dfe Change alignment specifier to __attribute__((align(x)) for non VC++ 2021-03-03 15:58:55 +01:00
Jan
b4d8e9c17b Make compilation process compatible to linux on gcc 2021-03-03 06:21:25 -08:00
Jan
911e43d4c2 add dumping of iw4 vehicle files 2020-10-27 22:35:26 +01:00
Jan
3b1e62e398 Add dumping of iw4 weapon files 2020-10-26 01:00:24 +01:00
Jan
b5141bcd1c Use countof and enum num entries to get the amount of entries in t6 weaponfulldef 2020-10-25 19:51:34 +01:00
Jan
eb97560e0d Add dumping of T6 physconstraints 2020-10-25 13:14:16 +01:00
Jan
a925bd505d Fix assets being added to their pools twice when loaded from a fastfile 2020-10-25 11:41:26 +01:00
Jan
6cca00b8d8 Add dumping of t6 physpreset, tracer and zbarrier in their respective infostring files 2020-10-24 13:46:37 +02:00
Jan
7868916a25 Add dumping of T6 vehicles as vehiclefiles 2020-10-24 02:48:16 +02: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
7acf07a4b4 Use offsetof macro instead of fixed offset values for weaponfields of t6 2020-10-20 17:30:10 +02:00
Jan
c86139b0fa Add dumping of t6 weapons 2020-10-20 12:49:20 +02:00
Jan
019e772cd2 Add dumping of iw4 loaded sounds 2020-10-18 17:41:14 +02:00
Jan
b8b8e4c267 Implement loading of the remaining iw4 assets which are the map assets 2020-10-11 12:22:20 +02:00
Jan
4a6c73c4d9 Fix XAnim Trans, Quat2, Quat alignment 2020-10-10 23:00:53 +02:00
Jan
6baf3416d4 Fix iw4 xanim to having an unsigned bonecount instead of signed 2020-10-10 13:33:58 +02:00
Jan
ba585426e9 Fix IW4 XAnimDynamicIndices to being loaded differently in trans, quat, quat2 2020-10-10 13:33:25 +02:00
Jan
e0e4fc255a Fix XModel quats and trans counts not being correct in IW4 2020-10-10 11:51:10 +02:00
Jan
af0dc46b31 Fix SoundAliasCustom loading for IW4 actually being loaded like const char** 2020-10-10 11:46:43 +02:00
Jan
6437d8daa4 Remove SndDriverGlobals references as an asset since it is non existant for IW4 PC builds 2020-09-15 12:54:32 +02:00
Jan
906d112619 Add loading of iw4 weapondef and vehicledef assets 2020-09-15 12:51:59 +02:00
Jan
c515747bc0 Add loading of iw4 font and addonmapents assets 2020-09-15 11:21:46 +02:00
Jan
fb93d7cb2f Add loading of iw4 assets clipmap and mapents 2020-09-15 10:44:45 +02:00