Commit Graph

56 Commits

Author SHA1 Message Date
Jan
53f46ccc23 wip: change redirect pointer to lookup 2025-06-14 12:52:24 +01:00
Jan
de2ad3d9b0 chore: make allocating redirect entry work with ptr directly 2025-06-14 00:40:02 +01:00
Jan
9731dd76e8 fix: pointer lookup for assets that should be reusable 2025-06-14 00:40:02 +01:00
Jan
f02f8d4c29 fix: properly load matching structure dynamic array inside non-matching structure embed 2025-06-14 00:40:02 +01:00
Jan
049a5dfc7c fix: dynamic fill loading missing conditions on unions 2025-06-14 00:40:01 +01:00
Jan
919a0c4fd2 fix: doing wrong alignment on dynamic filling 2025-06-14 00:40:01 +01:00
Jan
7225c40f7e fix: Make LoadPtrArray reusable methods for x64 2025-06-14 00:40:01 +01:00
Jan
4bb8120d77 fix: fill structs in runtime block that are not matching structure 2025-06-14 00:40:00 +01:00
Jan
469ea01767 fix: filling x64 structs with dynamic array size 2025-06-14 00:40:00 +01:00
Jan
4ba6f7a56b fix: dynamic array reallocation for x64 2025-06-14 00:40:00 +01:00
Jan
7838cfaa0c chore: temporarly adjust pointer insertion 2025-06-14 00:39:59 +01:00
Jan
a8248dfaf8 fix: not properly inserting pointer in x64 zone loading 2025-06-14 00:39:59 +01:00
Jan
e8d131f338 fix: make x64 modified loading code compatible with x86 again 2025-06-14 00:39:59 +01:00
Jan
bf4fee522e refactor: implement base x64 fastfile loading for iw4 2025-06-14 00:39:59 +01:00
Jan
78d8fba6f8 refactor: make ZoneInputStream a reference in zone loading 2025-06-14 00:39:58 +01:00
f6d7831e6e chore: implement base skeleton for architecture independent zone loading 2025-06-14 00:39:55 +01:00
Jan
eb16dfcd00 refactor: merge ZoneInputStream interface with only implementation 2025-05-02 22:08:07 +01:00
446c38d8ee refactor: reorder members of zcg generated classes 2025-05-02 22:08:06 +01:00
Jan
ed029bc24d refactor: adjust template const modifiers 2025-05-02 22:08:06 +01:00
Jan
8b85cadb77 refactor: make memory from zone a reference instead of ptr 2025-05-02 22:08:06 +01:00
Jan
9e940a6f53 refactor: use zone reference in AssetLoader 2025-05-02 22:08:06 +01:00
Jan
50612d117e refactor: update zcg generate file headers 2025-04-30 17:01:52 +01:00
7f59d35e87 refactor: replace GetAssetName method in ZoneLoad template 2025-04-28 17:09:40 +02:00
1fe1b30831 chore: use Asset definition instead of enum entry for zcg 2025-04-28 12:53:02 +01:00
2eefad105e chore: small code adjustments for generation code in zcg 2025-04-28 11:55:46 +01:00
Jan
10cbd47bdc chore: use std::format for zcg templates 2025-04-24 21:37:43 +01:00
Jan
9f8a933277 chore: update ZoneCodeGenerator code style 2025-04-20 09:45:37 +02:00
Jan
ffac925410 fix: reallocate assets before adding to zone pool when loading from
fastfile
2025-01-01 18:14:42 +01:00
Jan
89074c8601 fix: not reallocating IW5 clipMap pInfo from temp block 2024-03-30 20:10:20 +01:00
Jan
fef815e708 feat: recognize indirect asset refs when marking assets 2024-02-07 00:53:52 +01:00
Jan
91cbfa2bbb chore: use marker template in loader for scriptstrings and dependencies 2024-01-22 22:40:03 +01:00
Jan
685a99577b chore: remove scriptstring and dependency registration from ZoneLoad template 2024-01-22 22:39:18 +01:00
6b4f5d94a8 Reformat code with clang format 2023-11-19 21:07:21 +00:00
Jan
61a42afe28 Mark scriptstrings as used even when referencing them via zone pointer 2022-12-03 12:44:33 +01:00
Jan
dbcbb4a4b3 Make sure assets need to be declared as temp block to be located in temp block to handle special case of iw3 stringtable not being in temp block 2021-04-15 13:42:03 +02:00
Jan
4e05bc6b44 Fix errors in iw3 commands and structs 2021-04-15 10:37:39 +02:00
Jan
7c0504603e Basic write template based on load template 2021-03-18 10:58:07 +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
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
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
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