50 Commits

Author SHA1 Message Date
Jan
12461d27e7 move parts to new common component to avoid circular dependency of zonecommon and objcommon 2021-03-03 12:56:15 -08:00
Jan
dc3fef5b0f Rework depedency management in premake lua scripts 2021-03-03 11:55:37 -08:00
Jan
f85c82f487 Remove old ZoneCodeGenerator implementation in c# 2021-03-01 14:30:10 +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
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
e51babaeb4 parse variables 2021-02-19 00:39:33 +01:00
Jan
b25d64e5e7 Fix define directive not accepting define names with digits in them 2021-02-14 10:33:08 +01:00
Jan
3f08be0564 Add stream proxy for declaring pack values 2021-02-14 10:27:18 +01:00
Jan
efa39a8ac3 Restructure StreamProxies to use common basis for matching directives 2021-02-14 10:26:18 +01:00
Jan
e277de4517 Fix lexer calculing hex number length 1 too long 2021-02-14 10:24:23 +01:00
Jan
216125739c Cache lines in Lexer and show original input when running into an error 2021-02-13 23:16:19 +01:00
Jan
f14357537e add unit tests for not consuming matchers 2021-02-13 16:18:53 +01:00
Jan
32f815c378 Make sure captures work with transforms 2021-02-13 16:01:58 +01:00
Jan
37232e3176 Matcher and sequence testing stuffs 2021-02-13 14:54:34 +01:00
Jan
87b7921c73 Add Header Lexer for ZCG cpp 2021-02-12 00:01:41 +01:00
Jan
8b8f1d4f2a Add unit tests for IncludingStreamProxy 2021-02-11 13:44:18 +01:00
Jan
1822979a8b Add implementation for ZCG cpp defines proxy 2021-02-10 23:46:15 +01:00
Jan
f9ef7cc35b Add Tests for ZCG cpp 2021-02-10 18:03:50 +01:00
Jan
c952aacda1 Remove the zonecodegenerator requirement to reference members in a type reference because IW did nasty things in their game that require me to do so. 2020-09-16 10:18:11 +02:00
Jan
ccef1dca28 Add dumper for DDS and texture converter for reordering colors 2020-09-04 12:51:13 +02:00
Jan
f73c27a7dc Premake: Add include guard to make sure dependencies do not include themselves in an infinite chain when two components depend on each other 2020-02-07 02:46:24 +01:00
Jan
731bef73df ZoneCodeGenerator: Fix unit tests to do with evaluation array indices 2019-12-23 23:54:19 +01:00
Jan
ce9d0d37de ZoneCodeGenerator: Add "." to be recognized as a single token by the lexer 2019-12-03 23:26:56 +01:00
Jan
8d4e4c0025 ZoneCodeGenerator: Fix | not being a recognized token of the lexer 2019-11-19 12:54:13 +01:00
Jan
746dd825bf ZoneCodeGenerator: Add tests for TestCount 2019-11-10 18:04:23 +01:00
Jan
f2cc95ee32 ZoneCodeGenerator: Make use of the parsed tokens in TestCount and TestCondition 2019-11-10 18:04:00 +01:00
Jan
0a8d5246b2 ZoneCodeGenerator: Add unit tests for Structs, Unions and variables 2019-11-06 18:46:16 +01:00
Jan
70a5763d4f ZoneCodeGenerator: Add unit tests for typedef test 2019-11-01 15:14:29 +01:00
Jan
f71ae1bcf5 ZoneCodeGenerator: Remove the const keyword from typename but instead save whether a reference is cosnt in the typedeclaration 2019-11-01 01:46:40 +01:00
Jan
3d30915308 ZoneCodeGenerator: Remove align statement. Alignments will be defined via types created by a typedef that have a __declspec(align(X)) part 2019-10-31 15:41:35 +01:00
Jan
d1e097bbdf ZoneCodeGenerator: Add tests for CommandFile statements that are getting interpreted 2019-10-30 20:29:16 +01:00
Jan
7ab7447827 ZoneCodeGenerator: Move Test tests to correct folder and namespace corresponding to ZoneCodeGenerator 2019-10-29 12:53:37 +01:00
Jan
7117eb4506 ZoneCodeGenerator: Add test case for MatcherArray with an invalid enum value name 2019-10-29 12:32:15 +01:00
Jan
117ba118af ZoneCodeGenerator: Add tests for Matchers to test TokenOffset and Tag behaviour 2019-10-29 12:21:07 +01:00
Jan
090efd98f0 ZoneCodeGenerator: Add tests for CommandFilePreprocessor 2019-10-27 15:05:17 +01:00
Jan
d4da8645b1 Seperate unit tests for commentprocessor and c_header preprocessor 2019-10-27 14:12:05 +01:00
Jan
146c992dd5 Change c# projects to dotnet framework version 4.5 due to dependencies not being available for newer versions 2019-10-27 13:31:50 +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
d213bab3f2 Add premake scripts for c# projects 2019-10-22 11:32:19 +02:00
Jan
0d103e24a5 Add premake scripts for projects 2019-10-22 02:40:06 +02:00
Jan
a1670305c7 ZoneCodeGenerator: Add Next and Peek queries for Tags and Matches 2019-10-04 12:50:00 +02:00
Jan
2c611a1368 Update projects to Visual Studio 2019 platform 2019-10-02 12:21:34 +02:00
Jan
c4296996a9 ZoneCommon/ZoneLoading: Add additional dependencies and fix output files 2019-09-28 19:06:26 +02:00
Jan
aa95bca439 ZoneCommon: Move target folder to tests subdirectory 2019-09-28 13:40:14 +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
49dfff1efe Add verbose parameter to ZoneCodeGenerator instead of always being verbose in debug mode 2019-09-27 22:57:58 +02:00
Jan
0d8432d4f7 Import code from previous AssetBuilder version 2019-09-24 10:45:09 +02:00