2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-07-04 10:11:53 +00:00

Commit Graph

  • 739c2ff61d ZoneCodeGenerator: Fix PointerArrays not respecting that they might need to alloc space in the block Jan 2019-12-07 03:48:49 +01:00
  • a7857172d7 ZoneLoading: Enable assets menuList, impactfx and footsteptablefx due to now working properly Jan 2019-12-06 16:33:36 +01:00
  • 9253ac14fa ZoneCodeGenerator: Make unions work with conditions and only load one union member at a time consistently Jan 2019-12-06 16:33:05 +01:00
  • f4a2639e30 ZoneCodeGenerator: Make members have a block they are being loaded into instead of structures Jan 2019-12-06 16:31:20 +01:00
  • 8a99a49486 ZoneCodeGenerator: Implement template code for pointer array methods Jan 2019-12-06 16:14:27 +01:00
  • 406cfae0f5 ZoneCode: Fix Commands for FxEffectDef GameWorldSp and MaterialTechniqueSet Jan 2019-12-06 15:41:44 +01:00
  • c386231576 ZoneCode: Fix and enable all already working assets Jan 2019-12-05 04:05:44 +01:00
  • 10334266b3 ZoneLoading: Enable mapents assets Jan 2019-12-05 02:59:04 +01:00
  • 5853950888 ZoneCodeGenerator: Fixup templates and structs to be able to generate code for AddonMapEnts Jan 2019-12-05 02:56:35 +01:00
  • 42e571427b ZoneCodeGenerator: Fix forward declarations not being resolved for typedefs Jan 2019-12-05 02:54:56 +01:00
  • ffda895f95 ZoneCodeGenerator: Fix being able to load strings for non const char pointers Jan 2019-12-04 13:48:15 +01:00
  • a1546f3080 ZoneCodeGenerator: Fix generating code for arrays of scriptstrings Jan 2019-12-04 13:47:24 +01:00
  • d5e52e5df8 ZoneCode: Extend command file Jan 2019-12-03 23:55:19 +01:00
  • 964b2c782c ZoneCommon: Add enums related to menu asset Jan 2019-12-03 23:55:03 +01:00
  • 96ceb76e46 ZoneCode: Change WeaponDef asset to have normal members instead of arrays for graph knots since the ordering of loading needs the array entries separated and the current code generation doesn't allow for that Jan 2019-12-03 23:54:02 +01:00
  • c05f04e28a ZoneCodeGenerator: Add expression to apply a certain fastfile block to a structure Jan 2019-12-03 23:40:22 +01:00
  • 799a999a66 ZoneCodeGenerator: Extend reorder test to be able to specify first member and skip any members before to start reordering from a certain point Jan 2019-12-03 23:39:09 +01:00
  • ce9d0d37de ZoneCodeGenerator: Add "." to be recognized as a single token by the lexer Jan 2019-12-03 23:26:56 +01:00
  • 3276050e45 ZoneCodeGenerator: Remove test comment from template Jan 2019-11-24 02:47:10 +01:00
  • b8bd20f693 ZoneCodeGenerator: Add support for scriptstring array pointers Jan 2019-11-24 02:46:40 +01:00
  • 1606f62ee7 ZoneCode: Fix DestructibleDef commands to include all strings Jan 2019-11-24 02:45:58 +01:00
  • 8355ad4b76 ZoneCodeGenerator: Fix const char strings not being registered as strings yet in the commands file Jan 2019-11-24 01:58:27 +01:00
  • 5d3c13e833 ZoneCodeGenerator: Add computations for single references to be able to correctly handle arrays Jan 2019-11-24 01:58:01 +01:00
  • 6d1359c3d9 ZoneCodeGenerator: Extend count statement without being able to specify * to more precisely state which count should be set Jan 2019-11-24 01:56:57 +01:00
  • 032eb997ca ZoneCodeGenerator: Add renderer for DataType to be able to safely display typenames without spaces Jan 2019-11-24 01:55:19 +01:00
  • 377dc5c99b ZoneCodeGenerator: Set conditions on structs that make the build fail right now Jan 2019-11-21 21:47:56 +01:00
  • 27f92e6c33 ZoneCodeGenerator: Add Computations class for StructureInformation including IsUsed to check whether a structure has at least 1 usage Jan 2019-11-21 21:46:03 +01:00
  • b79f237014 ZoneCodeGenerator: Make Usages PostProcessor only add usages when a member is used and not ignored Jan 2019-11-21 21:42:07 +01:00
  • c547520ae8 ZoneCodeGenerator: Remove PostProcessor for asset names and instead add a statement for command files due to different member names for names Jan 2019-11-21 13:35:38 +01:00
  • 9b9256d2cb ZoneCommon: Fix EmblemSet asset struct Jan 2019-11-21 01:46:58 +01:00
  • 4f78570023 ZoneCodeGenerator: Add embedded reference handling to templates Jan 2019-11-21 01:46:41 +01:00
  • b0780ca565 ZoneCodeGenerator: Add a preprocessor extracting a member chain to get the name of the asset in the template Jan 2019-11-21 01:44:04 +01:00
  • 5f0f73838f ZoneCodeGenerator: Make static operands able to have the value of an enum entry Jan 2019-11-21 01:29:24 +01:00
  • 31b279c1e6 ZoneCodeGenerator: Fix operationType tokens not being sorted by length so shorter tokens can be matched before longer ones Jan 2019-11-19 12:55:04 +01:00
  • 8d4e4c0025 ZoneCodeGenerator: Fix | not being a recognized token of the lexer Jan 2019-11-19 12:54:13 +01:00
  • 2215fef883 ZoneLoading: Dump localized strings as str files Jan 2019-11-19 02:30:27 +01:00
  • 11168c782f ZoneLoading: Make AssetDumpers get the zone via their args Jan 2019-11-19 02:30:04 +01:00
  • 7077ba8ce3 Unlinker: Fix not creating a folder for zone file when dumping Jan 2019-11-19 02:27:18 +01:00
  • 2f108d533c ZoneLoading: Save which language a zone has when loading Jan 2019-11-19 00:43:46 +01:00
  • 81255695a7 ZoneLoading: Remove KeyValuePair Dumper because keyvaluepairs will be part of the zone file Jan 2019-11-18 21:45:16 +01:00
  • 97590148ad ZoneLoading: Add dumper for Stringtable assets Jan 2019-11-18 21:44:51 +01:00
  • 1d609cc2d2 Unlinker: Move zone file into zone_source folder Jan 2019-11-18 21:44:20 +01:00
  • d220aa8fde ZoneLoading: Make ZoneDumper also generate a game specific zone file Jan 2019-11-18 21:42:02 +01:00
  • 73489ee455 ZoneLoading: Add dumping for Rawfile based assets Jan 2019-11-16 01:24:09 +01:00
  • 16a6da932f ZoneCommon: Fix AssetPoolStatic not initializing InfoPool in every case Jan 2019-11-16 01:19:32 +01:00
  • 0e91dfc339 Unlinker: Fix wrong name for DirectoryCreate method Jan 2019-11-16 01:18:51 +01:00
  • 508e308bfc Utils: Fix GetDirectory not returning correct result Jan 2019-11-16 01:18:16 +01:00
  • 0c60c28a36 Utils: Use const pointers when only read access to memory Jan 2019-11-16 01:17:57 +01:00
  • 2fe3954da8 Unlinker: Add skeleton for Dumping and listing of assets Jan 2019-11-15 18:17:08 +01:00
  • d176e137a5 Utils: Change FileAPI and PathUtils to make use std::filesystem Jan 2019-11-15 18:16:11 +01:00
  • 4a616b6c24 Change C++ projects to use C++17 Jan 2019-11-15 18:13:38 +01:00
  • caa01a4864 ZoneCodeGenerator: Add commands for ddlDef and a bit of other stuff to not break from errors Jan 2019-11-15 14:56:11 +01:00
  • ee2653657e ZoneCodeGenerator: Add template code and separate into different template files for a better overview and less cluttered template code Jan 2019-11-15 14:55:35 +01:00
  • 3bf0334c59 ZoneCodeGenerator: Add and rename member computations to make more sense Jan 2019-11-15 14:54:29 +01:00
  • 08d0dda4f6 ZoneCodeGenerator: Make scriptstringprovider available to child classes of asset loader to be able to instantiate other loaders Jan 2019-11-15 14:53:43 +01:00
  • cd93106c19 ZoneCodeGenerator: Fix fastfile offsets being wrong by 1 due to not respecting that all offsets are moved by 1 Jan 2019-11-15 14:52:53 +01:00
  • 51862d8596 ZoneCodeGenerator: Fix throwing overflow exceptions too early due to wrong limit testing Jan 2019-11-15 14:52:10 +01:00
  • ec9be6e1fd ZoneCodeGenerator: Fix XStringArrays being loaded twice Jan 2019-11-15 14:51:17 +01:00
  • 765b0d9e32 ZoneCodeGenerator: Fix XAssetList of T6 being loaded into block memory and therefore causing overflows Jan 2019-11-15 14:50:23 +01:00
  • b15ce90fbb ZoneCodeGenerator: Add reusable statement for commands to be able to tell the generator that a member can be a fastfile offset and not nessecarly a following pointer Jan 2019-11-15 14:47:45 +01:00
  • 271c819e97 ZoneLoading: Enable further easy assets like qdb, slug, localize, scriptparsetree Jan 2019-11-14 15:35:19 +01:00
  • dda9cc0700 ZoneCodeGenerator: Change code templates to support loading of simple assets like rawfile Jan 2019-11-14 14:59:48 +01:00
  • f80d661c1b ZoneCodeGenerator: Add helper methods to Operation for the template engine to know whether parenthesis are required or not Jan 2019-11-14 14:59:21 +01:00
  • 8c303d394d ZoneCodeGenerator: Add all used membertypes to a list in context Jan 2019-11-14 14:58:50 +01:00
  • d7f05b97c9 ZoneCodeGenerator: Add skeleton for all commands for all assets and add commands for rawfile based structs and material/materialtechniqueset Jan 2019-11-14 14:58:18 +01:00
  • 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