2092 Commits

Author SHA1 Message Date
Jan
e93c20faf8 Optimize ParserFileStream making unused temp copies of path opject 2021-02-10 15:36:22 +01:00
Jan
f91c7f6afc Extract include directive matcher code into separated methods to improve readability 2021-02-10 15:29:54 +01:00
Jan
d876bc5e25 Add file inclusion for ZCG cpp 2021-02-10 14:21:58 +01:00
Jan
21440daf27 Change ZCG cpp to be able to handle multiple tasks 2021-02-08 18:02:27 +01:00
Jan
22b95e337a Add PrettyPrinter to ZCG cpp 2021-02-08 18:02:16 +01:00
Jan
6c45c99687 Add Repository Implementation for ZCG cpp 2021-02-08 17:06:00 +01:00
Jan
3b716965a5 Add information and computations to ZCG cpp 2021-02-08 14:33:57 +01:00
Jan
65cf1ef9c2 Add ZCG cpp domain classes 2021-02-07 23:31:45 +01:00
Jan
584492d1ef Implement ZCG CPP workflow basis 2021-02-07 17:28:19 +01:00
Jan
c09c685369 Create project for ZoneCodeGenerator rewrite in c++ 2020-11-01 23:12:28 +01: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
71c291ade2 Fix t6 weapondumper not freeing temporary fulldef 2020-10-24 12:50:54 +02:00
Jan
7868916a25 Add dumping of T6 vehicles as vehiclefiles 2020-10-24 02:48:16 +02:00
Jan
c68debc3da Add T6 playeranimtype from zombie mode for dumping weapons 2020-10-23 16:22:24 +02:00
Jan
70da70de65 Dump t6 weapon explosiontag in weaponfile 2020-10-23 15:55:30 +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
f8e7a10789 Also remove string reference in scriptstring callback from WeaponDumper 2020-10-23 13:35:50 +02:00
Jan
2e61f46544 Make InfoStringDumper scriptstring callback return std::string instead of const std::string& since a reference is not needed 2020-10-23 13:26:32 +02:00
Jan
99195232bb Add dumping of hideTags and noteTrackSoundMap to weapons for T6 2020-10-23 12:55:07 +02:00
Jan
991bcf6d58 Make sure that assets that use scriptstrings always have an empty scriptstring at position 0 2020-10-23 12:54:51 +02:00
Jan
3cfcfa0c5d Make sure scriptstring arrays are being reallocated when they are reusable so if it is being referenced again the scriptstring indices are the ones of the zone instead of the asset that originally loaded them 2020-10-23 12:54:18 +02:00
Jan
6cca45fc26 Add scriptstring value callback to weapon loading of t6 2020-10-23 12:52:44 +02:00
Jan
068add0eef Fix script string indices being off by one due to inserting empty script string that is not necessarly in the zone 2020-10-23 12:51:18 +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
d942c5a625 Make AbstractAssetDumper use the XAssetInfo instead of the raw asset pointer to be able to access dependencies and scriptstrings 2020-10-20 12:48:53 +02:00
Jan
ab217bb1a9 Fix AddonMapEnts dumping code not including necessary headers 2020-10-19 08:29:58 +02:00
Jan
fc336a1019 Add dumping of iw4 addonmapents 2020-10-18 17:41:52 +02:00
Jan
019e772cd2 Add dumping of iw4 loaded sounds 2020-10-18 17:41:14 +02:00
Jan
ac022ee78a Add dumping of luminance textures from iwis 2020-10-18 17:39:22 +02:00
Jan
f3afaf3110 move zoneloaderfactories in their respective game namespaces 2020-10-17 16:04:26 +02:00
Jan
f0c8ffa6be move contentloader classes to their respective game namespaces 2020-10-17 15:55:19 +02:00
Jan
464f8231df IWD code style changes 2020-10-17 15:15:17 +02:00
Jan
641ee15775 Move iwi writer for version 27 in its iwi27 namespace 2020-10-17 15:00:10 +02:00
Jan
395c139681 Use map for IWD entries to speed up finding entries by name 2020-10-17 14:59:36 +02:00
Jan
a1c965a4c0 Dump iw4 images 2020-10-16 15:57:39 +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
133437d644 Make assets header file an input for zonecode to make sure the code is regenerated when the asset header is changed 2020-10-10 23:25:19 +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
c952aacda1 Remove the zonecodegenerator requirement to reference members in a type reference because IW did nasty things in their game that require me to do so. 2020-09-16 10:18:11 +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