2117 Commits

Author SHA1 Message Date
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
9578a24c49 Fix ZCG new operation 2 needs parenthesis if precendence is equal 2021-02-28 17:04: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
5db8c3adf1 fix image formats not being inside all image formats array 2021-02-20 10:49:25 +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
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
7ff87c2b73 fix setting custom align 2021-02-20 03:40:35 +01:00
Jan
a2fe10bba6 make zonecode use the new zonecode generator to generate its code 2021-02-20 03:30:45 +01:00
Jan
ed47d514e1 do not make dummy output for zoneload template 2021-02-20 03:30:23 +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
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
48afb4d514 Remove unused info fields for custom fastfile align 2021-02-20 00:34:19 +01:00
Jan
a6f547f1df add post processors for leafs, memberleafs, unions and usages 2021-02-20 00:32:26 +01:00
Jan
42851bcaf8 add unit tests for game 2021-02-19 23:23:46 +01:00
Jan
e09793818f add unit tests for sequence architecture 2021-02-19 23:17:53 +01:00
Jan
5a7b184aa2 add placeholder test classes 2021-02-19 23:06:23 +01:00
Jan
0d9405cb4a add action sequence tests 2021-02-19 23:06:13 +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