26 Commits

Author SHA1 Message Date
Jan
f4a2639e30 ZoneCodeGenerator: Make members have a block they are being loaded into instead of structures 2019-12-06 16:31:20 +01:00
Jan
8a99a49486 ZoneCodeGenerator: Implement template code for pointer array methods 2019-12-06 16:14:27 +01:00
Jan
5853950888 ZoneCodeGenerator: Fixup templates and structs to be able to generate code for AddonMapEnts 2019-12-05 02:56:35 +01:00
Jan
ffda895f95 ZoneCodeGenerator: Fix being able to load strings for non const char pointers 2019-12-04 13:48:15 +01:00
Jan
a1546f3080 ZoneCodeGenerator: Fix generating code for arrays of scriptstrings 2019-12-04 13:47:24 +01:00
Jan
3276050e45 ZoneCodeGenerator: Remove test comment from template 2019-11-24 02:47:10 +01:00
Jan
b8bd20f693 ZoneCodeGenerator: Add support for scriptstring array pointers 2019-11-24 02:46:40 +01:00
Jan
5d3c13e833 ZoneCodeGenerator: Add computations for single references to be able to correctly handle arrays 2019-11-24 01:58:01 +01:00
Jan
032eb997ca ZoneCodeGenerator: Add renderer for DataType to be able to safely display typenames without spaces 2019-11-24 01:55:19 +01:00
Jan
377dc5c99b ZoneCodeGenerator: Set conditions on structs that make the build fail right now 2019-11-21 21:47:56 +01:00
Jan
27f92e6c33 ZoneCodeGenerator: Add Computations class for StructureInformation including IsUsed to check whether a structure has at least 1 usage 2019-11-21 21:46:03 +01:00
Jan
c547520ae8 ZoneCodeGenerator: Remove PostProcessor for asset names and instead add a statement for command files due to different member names for names 2019-11-21 13:35:38 +01:00
Jan
4f78570023 ZoneCodeGenerator: Add embedded reference handling to templates 2019-11-21 01:46:41 +01:00
Jan
b0780ca565 ZoneCodeGenerator: Add a preprocessor extracting a member chain to get the name of the asset in the template 2019-11-21 01:44:04 +01:00
Jan
ee2653657e ZoneCodeGenerator: Add template code and separate into different template files for a better overview and less cluttered template code 2019-11-15 14:55:35 +01:00
Jan
3bf0334c59 ZoneCodeGenerator: Add and rename member computations to make more sense 2019-11-15 14:54:29 +01:00
Jan
dda9cc0700 ZoneCodeGenerator: Change code templates to support loading of simple assets like rawfile 2019-11-14 14:59:48 +01:00
Jan
8c303d394d ZoneCodeGenerator: Add all used membertypes to a list in context 2019-11-14 14:58:50 +01:00
Jan
63722e220d ZoneCodeGenerator: Move computed conditions to sub class for MemberInformation since the template engine does not support computations and there will be a decent amount probably. So they are now moved to a different class to not cludder the main class too much 2019-11-14 14:57:21 +01:00
Jan
76cae3a948 ZoneCodeGenerator: Fix LoadArray template to reference array elements correctly 2019-11-10 18:06:08 +01:00
Jan
f2cc95ee32 ZoneCodeGenerator: Make use of the parsed tokens in TestCount and TestCondition 2019-11-10 18:04:00 +01:00
Jan
034de70bbc Add code generation on compiling to premake scripts using custom build commands 2019-10-25 02:13:37 +02:00
Jan
785e2c9bfb ZoneCodeGenerator: Add Evaluation as basis for specifying conditions and counts 2019-10-02 15:47:24 +02:00
Jan
c150350fc0 ZoneCodeGenerator/ZoneCommon: Automatically generate unit tests for struct sizes and alignments to make sure they match the expected values for fastfiles 2019-09-28 12:31:19 +02:00
Jan
fcc13d374f Fix ZoneLoad template not inheriting the base class and other minor mistakes 2019-09-27 23:02:27 +02:00
Jan
0d8432d4f7 Import code from previous AssetBuilder version 2019-09-24 10:45:09 +02:00