2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-05-26 11:31:43 +00:00
Commit Graph

35 Commits

Author SHA1 Message Date
Jan 4e05bc6b44 Fix errors in iw3 commands and structs 2021-04-15 10:37:39 +02: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 1d33cf2adf Save offset for reusing for any type that has a reusable reference 2021-03-20 16:04:17 +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 8736280ea8 Fix zone writing code not setting ptr following 2021-03-18 13:02:31 +01:00
Jan 7c0504603e Basic write template based on load template 2021-03-18 10:58:07 +01:00
Jan 4feea62280 ZoneWriting stuff 2021-03-16 12:37:15 +01:00
Jan 88c48e8107 Add dynamic allocation alignment to be able to load T6 MemoryBlock asset which isnt used at all so why am i doing this again 2021-03-05 09:23:37 +01:00
Jan 29b962e949 Add offset of members to assetstructtests 2021-03-04 09:04:25 +01:00
Jan a10b3b7d3c Change ZoneLoad alloc method getting alignment via alignof to alignment value being specified directly via number 2021-03-04 08:44:23 +01:00
Jan 5290d3a768 Update ZCG new console output 2021-03-01 14:12:36 +01:00
Jan e33250a2de Remove unused and comment parts of the zoneload zcg new template 2021-03-01 13:55:58 +01:00
Jan 1ce87f3ca3 fix some stuff for zoneload zcg new template 2021-03-01 13:15:12 +01:00
Jan e7c37574e7 Add dynamic array to zoneload zcg new 2021-03-01 12:54:41 +01:00
Jan 602d263472 fix a few snippet conditions for zoneloading in zcg new 2021-03-01 12:10:57 +01:00
Jan 11eb9ae4ce implement pointerarray 2021-02-28 23:37:14 +01:00
Jan 226c589bb8 make sure to calculate alignment of following modifiers properly 2021-02-28 23:17:39 +01:00
Jan 48d672edbe fix pointer array strings 2021-02-28 22:58:15 +01:00
Jan 25dbe10ba2 fix template error for singlepointer 2021-02-28 22:42:53 +01:00
Jan 7b29d61bb5 Fix types referenced via typedef not being accounted for when building rendering context 2021-02-28 22:42:44 +01:00
Jan 1164ec1777 Add embedded array to zcg template 2021-02-28 17:22:32 +01:00
Jan 41faee0979 Restructure template code for arraypointer and singlepointer to better reuse code instead of duplicating it 2021-02-28 17:09:39 +01:00
Jan 5b7f33b63d implement loadzone singlepointer 2021-02-20 16:46:00 +01:00
Jan 04491e21f2 zoneload member skeleton 2021-02-20 15:44:26 +01:00
Jan 5be0b28323 Implement ZoneLoad skeleton 2021-02-20 14:40:14 +01:00
Jan 447e729964 prevent shuffling usedtypes when building rendering context 2021-02-20 12:36:12 +01:00
Jan fe121853e2 render zoneload header 2021-02-20 12:28:38 +01:00
Jan 44e739ba44 fix rendering context only adding asset types instead of the other way around 2021-02-20 10:45:29 +01:00
Jan b4f1e09315 Change cpp unit test framework to catch2 for all cpp unit test projects 2021-02-20 10:44:33 +01:00
Jan ed47d514e1 do not make dummy output for zoneload template 2021-02-20 03:30:23 +01:00
Jan a2029da1d5 Implement asset struct tests rendering 2021-02-20 03:14:00 +01:00
Jan d4a98b7c52 add basis for code rendering 2021-02-20 02:33:40 +01:00
Jan f9ef7cc35b Add Tests for ZCG cpp 2021-02-10 18:03:50 +01:00