Commit Graph

  • 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 Jan 2019-11-14 14:57:21 +01:00
  • 60565da607 ZoneCommon: Minor fixes to T6 structures Jan 2019-11-14 14:55:18 +01:00
  • b59ca3b261 ZoneCodeGenerator: Save whether a structure is anonymous and therefore a name has been generated or not. Jan 2019-11-14 14:54:36 +01:00
  • f777c049c6 ZoneCodeGenerator: Add postprocessor to inspect whether a structure is a leaf (No complex tasks for loading/writing required, like pointers, strings, scriptstrings) Jan 2019-11-14 14:53:12 +01:00
  • ef8a040db4 ZoneCodeGenerator: Add toString methods for Domain objects for better readability when debugging Jan 2019-11-14 14:50:53 +01:00
  • b7ab2a1aa6 ZoneCodeGenerator: Change ContentLoader to use vars for fastfile pointer transfer and change ZoneInputStream API to be able to specify load location to better reflect the way the games do it. Jan 2019-11-14 14:48:40 +01:00
  • 3839b22f71 ZoneCodeGenerator: Fix invalid string commands for PhysConstraints and DestructibleDef Jan 2019-11-10 22:14:36 +01:00
  • 73424c9bc1 ZoneCodeGenerator: Add tests for reordering, scriptstring, string Jan 2019-11-10 22:14:01 +01:00
  • 6ca7f18f9f ZoneCodeGenerator: Add arraysize test to explicitly override the size of an array with a dynamic one Jan 2019-11-10 18:07:28 +01:00
  • 76cae3a948 ZoneCodeGenerator: Fix LoadArray template to reference array elements correctly Jan 2019-11-10 18:06:08 +01:00
  • 746dd825bf ZoneCodeGenerator: Add tests for TestCount Jan 2019-11-10 18:04:23 +01:00
  • f2cc95ee32 ZoneCodeGenerator: Make use of the parsed tokens in TestCount and TestCondition Jan 2019-11-10 18:04:00 +01:00
  • 2bcb776bbf ZoneCodeGenerator: Add toString methods for operands and operations for debugging purposes Jan 2019-11-08 03:00:43 +01:00
  • 6c1404116c ZoneCodeGenerator: When parsing Evaluation nest operations so the operator precendence is evaluated as specified Jan 2019-11-08 03:00:20 +01:00
  • 0a8d5246b2 ZoneCodeGenerator: Add unit tests for Structs, Unions and variables Jan 2019-11-06 18:46:16 +01:00
  • 82604038c7 ZoneCodeGenerator: Fix recognizing but not doing anything with const tokens in variables Jan 2019-11-06 18:41:21 +01:00
  • 70a5763d4f ZoneCodeGenerator: Add unit tests for typedef test Jan 2019-11-01 15:14:29 +01:00
  • f71ae1bcf5 ZoneCodeGenerator: Remove the const keyword from typename but instead save whether a reference is cosnt in the typedeclaration Jan 2019-11-01 01:46:40 +01:00
  • 3d30915308 ZoneCodeGenerator: Remove align statement. Alignments will be defined via types created by a typedef that have a __declspec(align(X)) part Jan 2019-10-31 15:41:35 +01:00
  • d1e097bbdf ZoneCodeGenerator: Add tests for CommandFile statements that are getting interpreted Jan 2019-10-30 20:29:16 +01:00
  • 9b12bd7e41 ZoneCodeGenerator: Fix wrong exception being thrown in tests: Use TestFailedException instead of LoadingException Jan 2019-10-30 15:23:31 +01:00
  • 825b14bfd4 ZoneCodeGenerator: Fix TestAsset not throwing an exception when info is missing due to wrong if condition Jan 2019-10-30 15:02:25 +01:00
  • 799d3cbce7 ZoneCodeGenerator: Change block Statement to get the number of fastfileblock from the enum entry instead of manually specifying it Jan 2019-10-30 15:01:45 +01:00
  • 7ab7447827 ZoneCodeGenerator: Move Test tests to correct folder and namespace corresponding to ZoneCodeGenerator Jan 2019-10-29 12:53:37 +01:00
  • 7117eb4506 ZoneCodeGenerator: Add test case for MatcherArray with an invalid enum value name Jan 2019-10-29 12:32:15 +01:00
  • 117ba118af ZoneCodeGenerator: Add tests for Matchers to test TokenOffset and Tag behaviour Jan 2019-10-29 12:21:07 +01:00
  • d5ecaa186d ZoneCodeGenerator: Fix GroupLoop adding Tags to result even when not successful Jan 2019-10-29 12:20:41 +01:00
  • 23f82894b7 ZoneCodeGenerator: Make GroupOptional always add Tag due to consistency (Tags get added when matches succeeds) Jan 2019-10-29 12:20:08 +01:00
  • 7a6df40be5 ZoneCodeGenerator: Fix basematcher adding tag to result even when not matched successfully Jan 2019-10-27 15:38:27 +01:00
  • 090efd98f0 ZoneCodeGenerator: Add tests for CommandFilePreprocessor Jan 2019-10-27 15:05:17 +01:00
  • d4da8645b1 Seperate unit tests for commentprocessor and c_header preprocessor Jan 2019-10-27 14:12:05 +01:00
  • 146c992dd5 Change c# projects to dotnet framework version 4.5 due to dependencies not being available for newer versions Jan 2019-10-27 13:31:50 +01:00
  • 5245f40307 ZoneCodeGenerator: Create parent class for all tests that use Evaluations Jan 2019-10-27 01:46:43 +02:00
  • 6ea19c6fe2 ZoneCodeGenerator: Fix PeekTag and NextTag returning null when no tags exist anymore. It should instead return an empty string Jan 2019-10-27 01:46:20 +02:00
  • 49883bfce3 ZoneCodeGenerator: Add bitwise and, or, xor operations Jan 2019-10-27 01:45:34 +02:00
  • 86f754bdd7 ZoneCodeGenerator: Fix GroupOptional not registering Tag when being matched Jan 2019-10-27 01:44:52 +02:00
  • cb04f5986b ZoneCodeGenerator: Fix Literals with multiple tokens only compare the first token Jan 2019-10-26 22:31:03 +02:00
  • 06585fb776 ZoneCodeGenerator: Add basis for align, strings and improved count tests Jan 2019-10-21 17:00:37 +02:00
  • 00d5cb40ae Add T6 XModel structs to its command file Jan 2019-10-21 16:59:38 +02:00
  • 47a5b7abde Add arraysize to pointers of XModel struct to better signalize the size Jan 2019-10-21 16:59:18 +02:00
  • 786daabe36 Gitlab CI Jan 2019-10-25 18:59:36 +00:00
  • dc61dd1bce Change Utils and ZoneWriting vpaths in premake scripts to properly represent folder structure Jan 2019-10-25 15:30:23 +02:00
  • 034de70bbc Add code generation on compiling to premake scripts using custom build commands Jan 2019-10-25 02:13:37 +02:00
  • d93b4f5fac Comfort changes when building Jan 2019-10-24 14:29:59 +02:00
  • 979b6b3dbe Add updating of submodules to generation batch file Jan 2019-10-22 12:21:38 +02:00
  • d213bab3f2 Add premake scripts for c# projects Jan 2019-10-22 11:32:19 +02:00
  • 0d103e24a5 Add premake scripts for projects Jan 2019-10-22 02:40:06 +02:00
  • cae05efb7b Crypto: Use CryptoLibrary source file instead of inlining in header Jan 2019-10-22 02:39:45 +02:00
  • ed160e841b Fix salsa20 header not using extern C when using in c++ Jan 2019-10-22 02:39:16 +02:00
  • debb8d481e Add premake solution generation for third party projects for now only Jan 2019-10-22 00:13:38 +02:00
  • fb3b62fa69 Make salsa20 dependency a c project instead of c++ Jan 2019-10-22 00:13:13 +02:00
  • 5b97aee87f Remove solution files from repository Jan 2019-10-22 00:00:14 +02:00
  • caa48101c4 Add submodules for dependencies Jan 2019-10-21 20:52:25 +02:00
  • 1ef5deb731 Remove thirdparty source from repository Jan 2019-10-21 19:05:14 +02:00
  • 91d76382f3 ZoneCodeGenerator: Add Dumping step for testing purposes Jan 2019-10-21 17:01:48 +02:00
  • a1670305c7 ZoneCodeGenerator: Add Next and Peek queries for Tags and Matches Jan 2019-10-04 12:50:00 +02:00
  • f13eac7436 ZoneCodeGenerator: Remove unused condition matchers in count test Jan 2019-10-02 18:43:35 +02:00
  • 0ee689532b ZoneCodeGenerator: Fix conditions only being able to have one conditionStatement Jan 2019-10-02 18:42:58 +02:00
  • ac1d426fb2 ZoneCodeGenerator: Add always to CommandFile condition and allow multiple conditions linked together in a chain Jan 2019-10-02 16:26:16 +02:00
  • 785e2c9bfb ZoneCodeGenerator: Add Evaluation as basis for specifying conditions and counts Jan 2019-10-02 15:47:24 +02:00
  • 61eb92588e Utils: Fix FileAPI printf not using the correct print method Jan 2019-10-02 12:49:21 +02:00
  • 9d1b7325a2 Code Quality: Use enum class instead of enum to make sure enum members can only be accessed when scoped to the enum Jan 2019-10-02 12:48:58 +02:00
  • 2c611a1368 Update projects to Visual Studio 2019 platform Jan 2019-10-02 12:21:34 +02:00
  • c4296996a9 ZoneCommon/ZoneLoading: Add additional dependencies and fix output files Jan 2019-09-28 19:06:26 +02:00
  • aa95bca439 ZoneCommon: Move target folder to tests subdirectory Jan 2019-09-28 13:40:14 +02:00
  • 3ba1f6d5f9 ZoneCodeGenerator: Move usages postprocessor to be post commandfile instead of post headerfile Jan 2019-09-28 13:14:23 +02:00
  • 03a6c4020c ZoneCommon: Remove wrong alignment override of 2 on SndBank Jan 2019-09-28 12:31:52 +02:00
  • c150350fc0 ZoneCodeGenerator/ZoneCommon: Automatically generate unit tests for struct sizes and alignments to make sure they match the expected values for fastfiles Jan 2019-09-28 12:31:19 +02:00
  • e7e65127e2 ZoneCodeGenerator: Fix CustomAlignment not being applied to structs Jan 2019-09-28 12:41:14 +02:00
  • 9e516cea1f ZoneCodeGenerator: When parsing open files in non-exclusive reading mode so other instances of ZoneCodeGenerator can run at the same time Jan 2019-09-28 12:02:09 +02:00
  • 63bbcfe5cb Pick appropriate Loader for every existing T6 asset and not only for RawFile Jan 2019-09-28 00:39:16 +02:00
  • 6cd003c11b Remove accidental t.txt entry in T6_Load generator output Jan 2019-09-28 00:38:07 +02:00
  • 4b2479faa0 Remove manually crafted rawfile loading code to make room for the generated code Jan 2019-09-28 00:36:26 +02:00
  • 3220722d41 Fix certain projects not being actived for compiling in Release|x86 Jan 2019-09-27 23:40:47 +02:00
  • fc75911223 Change tool executable name to have a "64" suffix when compiled for x64 Jan 2019-09-27 23:33:45 +02:00
  • da9b5d8b37 Fix misconfigured project files for x64 configuration Jan 2019-09-27 23:33:07 +02:00
  • b7387cd704 Generate zone loading code with ZoneCodeGenerator via custom build tool options when compiling Jan 2019-09-27 23:05:59 +02:00
  • ff62e6d0fb Fix crash on empty files in ZoneCodeGenerator Jan 2019-09-27 23:02:47 +02:00
  • fcc13d374f Fix ZoneLoad template not inheriting the base class and other minor mistakes Jan 2019-09-27 23:02:27 +02:00
  • 37b0926a91 Fix templates in ZoneCodeGenerator not being marked as embeded Jan 2019-09-27 22:58:48 +02:00
  • 49dfff1efe Add verbose parameter to ZoneCodeGenerator instead of always being verbose in debug mode Jan 2019-09-27 22:57:58 +02:00
  • f9b7fa57c8 Add support for T6 server zones which are unsigned and unencrypted Jan 2019-09-27 15:31:33 +02:00
  • d662e5dcfa Implement ZoneLoading in ZoneLoading component class Jan 2019-09-26 22:35:59 +02:00
  • 36cc8d3065 Make use of ArgumentParser and UsageInformation Generator in unlink tool Jan 2019-09-26 21:43:49 +02:00
  • c76352077a Implement UsageInformation Utility Jan 2019-09-26 21:43:25 +02:00
  • 75bd49d501 Implement ArgumentParser Utility based on the CSharp version of ZoneCodeGenerator Jan 2019-09-26 21:43:03 +02:00
  • 8991b6ab15 Add skeleton for ArgumentParser in Utils component Jan 2019-09-24 23:33:08 +02:00
  • 9f198ce7a2 Add empty Unlinker tool project Jan 2019-09-24 23:32:47 +02:00
  • eeff08d772 Add PathUtils to Utils component Jan 2019-09-24 23:32:04 +02:00
  • 42af6df5d8 Rename ZoneLoader and ZoneWriter components to ZoneLoading and ZoneWriting to make a difference between the executive class and the component class Jan 2019-09-24 22:35:11 +02:00
  • 0d8432d4f7 Import code from previous AssetBuilder version Jan 2019-09-24 10:45:09 +02:00
  • 5609557516 Initial project setup Jan 2019-09-19 10:53:28 +02:00
  • 584ff36ca2 Add GPLv3 as license Jan 2019-09-17 22:55:02 +02:00
  • 30874e34e3 Initial commit Jan 2019-09-17 18:01:03 +00:00