Jan Laupetin
bf89ae06ae
refactor: support multiple variants for games in zonecode
2026-10-31 07:50:46 +01:00
Jan
ab7d8f5670
fix: various wrong alignment values ( #823 )
...
* fix: alignment mistakes on various games
* chore: reduce overhead of zcg definition with members fields
* fix: make sure Material alloc alignment is 4
2026-06-07 01:14:37 +00:00
Michael Oliver
97591f59f4
refactor(zcg): use wordsize instead of architecture
2026-04-30 13:50:11 +01:00
Jan Laupetin
14b143466d
fix: not adding offset of reusable type when type is not structure
2026-03-14 15:56:08 +01:00
Jan Laupetin
90d7f92ddd
chore: replace all usages of removed ClassUtils macros
2026-03-06 00:13:04 +01:00
Jan Laupetin
1540b69ac1
refactor: asset refs are specified via asset name not enum entry
2026-02-05 17:36:55 +01:00
Jan Laupetin
00546740e4
fix: filling union members that are not supposed to be written
...
* This causes some pointers to be partially overwritten when filling in the wrong order as well
2026-01-17 00:45:21 +00:00
Jan
667d76e50e
wip: change redirect pointer to lookup
2025-06-19 18:59:26 +01:00
Jan
930867f07f
fix: properly load matching structure dynamic array inside non-matching structure embed
2025-06-19 18:59:24 +01:00
Jan
e120d01697
fix: dynamic array reallocation for x64
2025-06-19 18:59:21 +01:00
Jan
03ccede91c
refactor: implement base x64 fastfile loading for iw4
2025-06-19 18:59:20 +01:00
Jan Laupetin
68ee502c72
refactor: remove name sequence from zcg commands
2025-04-28 17:23:39 +02:00
Jan Laupetin
1fe1b30831
chore: use Asset definition instead of enum entry for zcg
2025-04-28 12:53:02 +01:00
Jan Laupetin
4e9599aabf
chore: detect structs that differ on different architectures
...
* and exclude them from assetstructtests
2025-04-27 21:04:41 +02:00
Jan
60f5c1a18f
refactor: adjust zcg code for working in x64
2025-04-26 19:08:15 +02:00
Jan
9f8a933277
chore: update ZoneCodeGenerator code style
2025-04-20 09:45:37 +02:00
Jan
89074c8601
fix: not reallocating IW5 clipMap pInfo from temp block
2024-03-30 20:10:20 +01:00
Jan
239001e6f2
refactor: use std ranges functions where applicable
2024-03-24 20:49:15 +01:00
Jan
4f0ee35740
refactor: use std::extent_v instead of std::extent
2024-03-24 19:46:43 +01:00
Jan
fef815e708
feat: recognize indirect asset refs when marking assets
2024-02-07 00:53:52 +01:00
Jan
9d7c0d3452
feat: add asset marking
2024-01-22 21:47:46 +01:00
Clang Format
c858695f0c
Adjust further code formatting
2023-11-19 21:07:28 +00:00
Clang Format
6b4f5d94a8
Reformat code with clang format
2023-11-19 21:07:21 +00:00
Jan
1d33cf2adf
Save offset for reusing for any type that has a reusable reference
2021-03-20 16:04:17 +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
b4d8e9c17b
Make compilation process compatible to linux on gcc
2021-03-03 06:21:25 -08: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
9578a24c49
Fix ZCG new operation 2 needs parenthesis if precendence is equal
2021-02-28 17:04:39 +01:00
Jan
48afb4d514
Remove unused info fields for custom fastfile align
2021-02-20 00:34:19 +01:00
Jan
0cafabc44e
implement set block sequence
2021-02-19 20:44:46 +01:00
Jan
550eb1e4d3
implement parsing of actions
2021-02-19 17:39:35 +01:00
Jan
7c51c26255
Calculate size and alignment in post processor
2021-02-19 16:23:16 +01:00
Jan
cce9494856
parse typedefs
2021-02-19 00:15:00 +01:00
Jan
fb55cdb468
parse struct and union sequences
2021-02-18 21:55:13 +01:00
Jan
57547854c4
Parse forward declarations
2021-02-18 18:38:00 +01:00
Jan
5d5fc86923
create enum definitions from headers
2021-02-18 17:15:46 +01:00
Jan
f9ef7cc35b
Add Tests for ZCG cpp
2021-02-10 18:03:50 +01:00