1047 Commits

Author SHA1 Message Date
Jan
d5e52e5df8 ZoneCode: Extend command file 2019-12-03 23:55:19 +01:00
Jan
964b2c782c ZoneCommon: Add enums related to menu asset 2019-12-03 23:55:03 +01:00
Jan
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 2019-12-03 23:54:02 +01:00
Jan
c05f04e28a ZoneCodeGenerator: Add expression to apply a certain fastfile block to a structure 2019-12-03 23:40:22 +01:00
Jan
799a999a66 ZoneCodeGenerator: Extend reorder test to be able to specify first member and skip any members before to start reordering from a certain point 2019-12-03 23:39:09 +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
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
1606f62ee7 ZoneCode: Fix DestructibleDef commands to include all strings 2019-11-24 02:45:58 +01:00
Jan
8355ad4b76 ZoneCodeGenerator: Fix const char strings not being registered as strings yet in the commands file 2019-11-24 01:58:27 +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
6d1359c3d9 ZoneCodeGenerator: Extend count statement without being able to specify * to more precisely state which count should be set 2019-11-24 01:56:57 +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
b79f237014 ZoneCodeGenerator: Make Usages PostProcessor only add usages when a member is used and not ignored 2019-11-21 21:42:07 +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
9b9256d2cb ZoneCommon: Fix EmblemSet asset struct 2019-11-21 01:46:58 +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
5f0f73838f ZoneCodeGenerator: Make static operands able to have the value of an enum entry 2019-11-21 01:29:24 +01:00
Jan
31b279c1e6 ZoneCodeGenerator: Fix operationType tokens not being sorted by length so shorter tokens can be matched before longer ones 2019-11-19 12:55:04 +01:00
Jan
8d4e4c0025 ZoneCodeGenerator: Fix | not being a recognized token of the lexer 2019-11-19 12:54:13 +01:00
Jan
2215fef883 ZoneLoading: Dump localized strings as str files 2019-11-19 02:30:27 +01:00
Jan
11168c782f ZoneLoading: Make AssetDumpers get the zone via their args 2019-11-19 02:30:04 +01:00
Jan
7077ba8ce3 Unlinker: Fix not creating a folder for zone file when dumping 2019-11-19 02:27:18 +01:00
Jan
2f108d533c ZoneLoading: Save which language a zone has when loading 2019-11-19 00:43:46 +01:00
Jan
81255695a7 ZoneLoading: Remove KeyValuePair Dumper because keyvaluepairs will be part of the zone file 2019-11-18 21:45:16 +01:00
Jan
97590148ad ZoneLoading: Add dumper for Stringtable assets 2019-11-18 21:44:51 +01:00
Jan
1d609cc2d2 Unlinker: Move zone file into zone_source folder 2019-11-18 21:44:20 +01:00
Jan
d220aa8fde ZoneLoading: Make ZoneDumper also generate a game specific zone file 2019-11-18 21:42:02 +01:00
Jan
73489ee455 ZoneLoading: Add dumping for Rawfile based assets 2019-11-16 01:24:09 +01:00
Jan
16a6da932f ZoneCommon: Fix AssetPoolStatic not initializing InfoPool in every case 2019-11-16 01:19:32 +01:00
Jan
0e91dfc339 Unlinker: Fix wrong name for DirectoryCreate method 2019-11-16 01:18:51 +01:00
Jan
508e308bfc Utils: Fix GetDirectory not returning correct result 2019-11-16 01:18:16 +01:00
Jan
0c60c28a36 Utils: Use const pointers when only read access to memory 2019-11-16 01:17:57 +01:00
Jan
2fe3954da8 Unlinker: Add skeleton for Dumping and listing of assets 2019-11-15 18:17:08 +01:00
Jan
d176e137a5 Utils: Change FileAPI and PathUtils to make use std::filesystem 2019-11-15 18:16:11 +01:00
Jan
4a616b6c24 Change C++ projects to use C++17 2019-11-15 18:13:38 +01:00
Jan
caa01a4864 ZoneCodeGenerator: Add commands for ddlDef and a bit of other stuff to not break from errors 2019-11-15 14:56:11 +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
08d0dda4f6 ZoneCodeGenerator: Make scriptstringprovider available to child classes of asset loader to be able to instantiate other loaders 2019-11-15 14:53:43 +01:00
Jan
cd93106c19 ZoneCodeGenerator: Fix fastfile offsets being wrong by 1 due to not respecting that all offsets are moved by 1 2019-11-15 14:52:53 +01:00
Jan
51862d8596 ZoneCodeGenerator: Fix throwing overflow exceptions too early due to wrong limit testing 2019-11-15 14:52:10 +01:00
Jan
ec9be6e1fd ZoneCodeGenerator: Fix XStringArrays being loaded twice 2019-11-15 14:51:17 +01:00
Jan
765b0d9e32 ZoneCodeGenerator: Fix XAssetList of T6 being loaded into block memory and therefore causing overflows 2019-11-15 14:50:23 +01:00
Jan
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 2019-11-15 14:47:45 +01:00
Jan
271c819e97 ZoneLoading: Enable further easy assets like qdb, slug, localize, scriptparsetree 2019-11-14 15:35:19 +01:00
Jan
dda9cc0700 ZoneCodeGenerator: Change code templates to support loading of simple assets like rawfile 2019-11-14 14:59:48 +01:00