65 Commits

Author SHA1 Message Date
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
3fd17fc6d3
fix: calculate requiring marking for structs even when called recursively 2024-01-24 00:16:09 +01:00
Jan
df2a5294e8
fix: consider structures that are assets requiring marking 2024-01-23 19:29:43 +01:00
Jan
70dba19484
fix: do not consider a structure require marking when it contains a string member 2024-01-23 19:29:09 +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
e7eb43a955 Correctly parse binary operations that can be interpreted as sign prefixes for numbers 2021-11-28 15:16:43 +01:00
Jan
69c08def7f Add expression parsing for menu parser 2021-11-03 23:46:18 +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
8d9080066f Extract commonly used Parser code to new Parser component 2021-03-08 20:06:34 +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
5f3aa2a460 Implement defines with parameters to ZoneCodeGenerator 2021-03-04 11:37:06 +01:00
Jan
29b962e949 Add offset of members to assetstructtests 2021-03-04 09:04:25 +01: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
5290d3a768 Update ZCG new console output 2021-03-01 14:12:36 +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
df549b811d fix custom bit size not being applied to variables 2021-02-20 10:46:04 +01:00
Jan
989bc9fc30 Fix enum parent type not being set 2021-02-20 10:45:44 +01:00
Jan
7ff87c2b73 fix setting custom align 2021-02-20 03:40:35 +01:00
Jan
60a689f58c forward declare every struct and union to be able to self-reference 2021-02-20 03:30:00 +01:00
Jan
a6f547f1df add post processors for leafs, memberleafs, unions and usages 2021-02-20 00:32:26 +01:00
Jan
e09793818f add unit tests for sequence architecture 2021-02-19 23:17:53 +01:00
Jan
0fcb3d388a implement reordering seequence 2021-02-19 21:34:37 +01:00
Jan
0cafabc44e implement set block sequence 2021-02-19 20:44:46 +01:00
Jan
48e3738c05 implement parsing for reusable and scriptstring and string 2021-02-19 20:23:11 +01:00
Jan
873c23fb56 implement name sequence parsing 2021-02-19 19:42:10 +01:00
Jan
3ffcac04dd implement count sequence parsing 2021-02-19 19:37:38 +01:00
Jan
4a0395c5df parse asset 2021-02-19 17:54:36 +01:00
Jan
550eb1e4d3 implement parsing of actions 2021-02-19 17:39:35 +01:00
Jan
524e188db1 fix evaluation not resolving correctly due to being unfinished 2021-02-19 17:02:49 +01:00
Jan
7c51c26255 Calculate size and alignment in post processor 2021-02-19 16:23:16 +01:00
Jan
1264be4274 Parse game and block commands 2021-02-19 10:03:34 +01:00
Jan
2747e1f0f2 resolve forward declarations 2021-02-19 01:11:06 +01:00
Jan
e51babaeb4 parse variables 2021-02-19 00:39:33 +01:00
Jan
cce9494856 parse typedefs 2021-02-19 00:15:00 +01:00
Jan
f0753c7e3c handle variable defines in child block close 2021-02-18 22:21:58 +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
83b7cd77c7 add parsed definitions to repostiory 2021-02-18 18:29:17 +01:00
Jan
031d851c43 Parse enum members 2021-02-18 18:10:49 +01:00
Jan
5d5fc86923 create enum definitions from headers 2021-02-18 17:15:46 +01:00
Jan
3c1599c1a0 Set closing block variable names 2021-02-18 15:59:22 +01:00
Jan
bb877f87bb Add sequences for commands 2021-02-18 14:41:27 +01:00
Jan
cef9b08efb Measure how long reading the header file takes 2021-02-14 10:46:29 +01:00
Jan
b25d64e5e7 Fix define directive not accepting define names with digits in them 2021-02-14 10:33:08 +01:00
Jan
e685348abd Add blocks to header parsing state that manipulate which sequences are valid 2021-02-14 10:27:47 +01:00
Jan
3f08be0564 Add stream proxy for declaring pack values 2021-02-14 10:27:18 +01:00