Jan
|
55d5746650
|
ZoneCode: Add Action on loading a GfxImage to set the loadedSize property to 0 to indicate Texture data has not yet been loaded
|
2020-02-06 21:26:34 +01:00 |
|
Jan
|
75f6caab54
|
ObjCommon: Refactor classes for holding Texture information
|
2020-02-06 19:01:45 +01:00 |
|
Jan
|
63330ff908
|
ZoneCommon: Extract non ZoneMemory management from ZoneMemory into Utils::MemoryManager class
|
2020-02-05 16:52:43 +01:00 |
|
Jan
|
b67b4ee316
|
ObjLoading: Add documentation for IObjLoader, ObjLoading and IWD
|
2020-02-04 23:48:11 +01:00 |
|
Jan
|
b8de90a675
|
ObjLoading: Do not attempt to load textures that already have a loaddef
|
2020-02-04 19:52:23 +01:00 |
|
Jan
|
d01f5c49a8
|
ZoneLoading: Add implementation for LoadImageData action:
Duplicate any ImageLoadDef that contains data, otherwise discard temporary empty loaddef
|
2020-02-04 19:45:45 +01:00 |
|
Jan
|
b8c2557482
|
ObjLoading: Display error message on directory_iterator throwing an exception
|
2020-02-04 19:44:56 +01:00 |
|
Jan
|
10342a7b58
|
Unlinker: Check if a file exists before attempting to load it
|
2020-02-04 19:44:30 +01:00 |
|
Jan
|
dde77901a3
|
ObjCommon: WIP: ImageData
|
2020-01-06 20:32:33 +01:00 |
|
Jan
|
c67911bdbb
|
ZoneCommon: Add class object construction and destruction methods to ZoneMemory
|
2020-01-04 15:13:44 +01:00 |
|
Jan
|
297358cdb0
|
ZoneLoading: Fix AssetLoader not initializing varScriptString
|
2020-01-03 18:13:04 +01:00 |
|
Jan
|
4971ec190d
|
ZoneCodeGenerator: Call custom action on loading singlepointer and embedded
|
2020-01-03 18:12:43 +01:00 |
|
Jan
|
91327c57ce
|
ZoneCodeGenerator: Fix not generating tests for structure sizes and alignments
|
2020-01-03 17:25:31 +01:00 |
|
Jan
|
bdb0958c16
|
ZoneCodeGenerator: Add possibility to define custom actions that should be performed after loading a certain Structure
|
2020-01-03 17:25:10 +01:00 |
|
Jan
|
c995a12001
|
ZoneCodeGenerator: Fix aligning wrong when custom aligning is set in size calculation
|
2020-01-03 17:23:57 +01:00 |
|
Jan
|
96f2067030
|
ObjLoading: Read index section of ipaks and try to open images from it when loading obj data
|
2020-01-03 01:13:07 +01:00 |
|
Jan
|
204d3aed78
|
ObjLoading: Fix Repository not updating iterator when erasing entry
|
2020-01-03 01:11:28 +01:00 |
|
Jan
|
c2f3bca268
|
ObjLoading: Add indexing and reading of files in IWDs
|
2020-01-02 00:52:56 +01:00 |
|
Jan
|
0abdb64832
|
ObjLoading: Be able to load and index IWD files
|
2020-01-01 18:46:33 +01:00 |
|
Jan
|
a4d55ffae7
|
ThirdParty: Fix minizip not having all nessecary files included
|
2019-12-31 00:20:16 +01:00 |
|
Jan
|
153f8f2e89
|
Unlinker/ObjLoading: Add skeleton for dynamically loading search paths based on current zone
|
2019-12-30 23:52:33 +01:00 |
|
Jan
|
5f833969f9
|
Utils: Fix UsageInformation still outputting a dash when no short name is specified. Same for long name.
|
2019-12-30 23:51:13 +01:00 |
|
Jan
|
af55c202cf
|
ObjLoading/ObjWriting: Initial skeleton for loading and writing obj files
|
2019-12-29 16:40:03 +01:00 |
|
Jan
|
a0d4e87b8e
|
ZoneCommon: Change name of global variable for the T6 Game instance
|
2019-12-29 16:39:29 +01:00 |
|
Jan
|
c488e4c714
|
Add minilzo and minizip as dependencies
|
2019-12-29 16:38:14 +01:00 |
|
Jan
|
d77438d654
|
Project: Update .gitignore to only ignore paths are are supposed to be ignored with the current premake setup: build and local
|
2019-12-27 16:32:21 +01:00 |
|
Jan
|
ce063adcc5
|
Utils: Make file of FileAPI an interface to be able to integrate custom file implementations when using
|
2019-12-25 14:07:51 +01:00 |
|
Jan
|
00b3322cb2
|
ZoneLoading: Extract all obj dumping relevant parts to ObjWriting component
|
2019-12-25 14:07:24 +01:00 |
|
Jan
|
e8de3a3f39
|
Unlinker: Make Unlinker handle each zone directly after loading so it doesn't run out of memory when trying to load too many zones at once
|
2019-12-24 18:42:25 +01:00 |
|
Jan
|
7121f2e215
|
ZoneLoading: Add ZoneMemory and the possibility to unload zones and their memory
|
2019-12-24 18:41:42 +01:00 |
|
Jan
|
d224eb8ce5
|
ZoneLoading: Simulate the vanilla edge case that the chunk size is in the end of the loadbuffer and cannot quite fit into it so the space is padded and the chunk size is loaded from the beginning of the buffer
|
2019-12-24 17:21:58 +01:00 |
|
Jan
|
31192e8372
|
ZoneCode: Fix XSurface VertListCount not being unsigned even though it is used as it is
|
2019-12-24 17:20:34 +01:00 |
|
Jan
|
86790d1486
|
ZoneCodeGenerator: Fix not respecting when in an operation the second operand should be calculated first but the precedence is the same
|
2019-12-24 17:19:49 +01:00 |
|
Jan
|
33ec343460
|
ZoneCodeGenerator: Add possibility to specify a custom array count to signalize how many entries of a static array should be loaded
|
2019-12-24 12:41:27 +01:00 |
|
Jan
|
9e10cffdce
|
ZoneCode: Fix XAnim bone count not being unsigned even though they are used as they were
|
2019-12-24 12:09:11 +01:00 |
|
Jan
|
69fff81b02
|
ZoneCode: Fix XModel bone count not being unsigned but being used as it was
|
2019-12-24 11:40:23 +01:00 |
|
Jan
|
4932994355
|
ZoneLoading: Remove unused asset counting part
|
2019-12-24 11:40:00 +01:00 |
|
Jan
|
551deeec34
|
ZoneCode: Add commands for GfxWorld and enable it
|
2019-12-24 01:59:58 +01:00 |
|
Jan
|
80bc10752a
|
ZoneLoading: Fix not respecting the block type when trying to load data
|
2019-12-24 01:59:40 +01:00 |
|
Jan
|
731bef73df
|
ZoneCodeGenerator: Fix unit tests to do with evaluation array indices
|
2019-12-23 23:54:19 +01:00 |
|
Jan
|
94369e3ecf
|
ZoneCode: Add commands for GfxWorld
|
2019-12-23 23:46:37 +01:00 |
|
Jan
|
971d198f59
|
ZoneCodeGenerator: Remove unwanted spacing from single pointer template
|
2019-12-23 23:46:26 +01:00 |
|
Jan
|
62ac2e8aae
|
ZoneCodeGenerator: Replace OperandDynamics static array indices with Evaluations
|
2019-12-23 23:46:04 +01:00 |
|
Jan
|
db8e4c987c
|
ZoneCode: Fix alignments and structs for XAnims
|
2019-12-23 21:24:23 +01:00 |
|
Jan
|
d6f49c459c
|
ZoneLoading: Only dump localized strings when there are any in the pool
|
2019-12-23 21:24:06 +01:00 |
|
Jan
|
ca1d188759
|
ZoneLoading: Fix typo in InvalidOffsetBlockOffsetException message
|
2019-12-23 21:23:48 +01:00 |
|
Jan
|
ef1ca03ed3
|
ZoneCode: Fix commands for SndBank
|
2019-12-23 17:55:57 +01:00 |
|
Jan
|
21f395ab7d
|
ZoneLoading: When using the temp block multiple times after another when for example loading nested assets, remember the last position of the temp block and return to there when popping it
|
2019-12-23 17:55:42 +01:00 |
|
Jan
|
0d801948bc
|
ZoneLoading: Enable now properly working assets
|
2019-12-23 17:05:53 +01:00 |
|
Jan
|
1544bbbd18
|
ZoneCodeGenerator: Add loading of dynamic arrays
|
2019-12-23 17:05:38 +01:00 |
|
Jan
|
2fea7654a9
|
ZoneLoading: Fix not being able to load a null scriptstring and aligning incorrectly when loading the header
|
2019-12-23 17:05:12 +01:00 |
|
Jan
|
af56d9193d
|
ZoneLoading: Always initialize AssetPools as dynamic since not all loaded assets are contained inside the initial assetlist
|
2019-12-23 17:04:23 +01:00 |
|
Jan
|
8d8f60bf41
|
ZoneCode: Fix Commands for Material, GfxImage and Techset
|
2019-12-23 17:03:16 +01:00 |
|
Jan
|
db08cf5ebc
|
ZoneLoading: Fix InsertPointer not increasing the buffer position by the size of the pointer
|
2019-12-23 17:02:22 +01:00 |
|
Jan
|
236108e5fb
|
ZoneCodeGenerator: Add ability to split loading of a structure due to a dynamic member
|
2019-12-22 23:33:00 +01:00 |
|
Jan
|
0db6f90980
|
ZoneCodeGenerator: Add computations to check for dynamic array sizes and partially loaded structures
|
2019-12-22 16:16:21 +01:00 |
|
Jan
|
ec8c00a4b9
|
ZoneCodeGenerator: Make setting a dynamic array size only possible if the targeted member is the last entry of its structure
|
2019-12-22 16:15:45 +01:00 |
|
Jan
|
57ef79692a
|
ZoneCodeGenerator: Add precompiler support for ifdef so a namespace can be defined in the t6_assets header for compiling in ZoneCommon without display errors
|
2019-12-21 16:37:57 +01:00 |
|
Jan
|
c8a2bec12b
|
ZoneCodeGenerator: Fix commands for GfxImage
|
2019-12-21 13:16:17 +01:00 |
|
Jan
|
f3c9e6053f
|
ZoneCodeGenerator: Fix not finalizing DataTypes of typedefs when calculating sizes
|
2019-12-21 12:04:35 +01:00 |
|
Jan
|
295d9543f7
|
ZoneCodeGenerator: Take account of temp blocks when loading single pointers
|
2019-12-18 15:31:59 +01:00 |
|
Jan
|
4d611f9770
|
ZoneCode: Add commands for clipMap
|
2019-12-18 15:31:10 +01:00 |
|
Jan
|
be17ae6a48
|
ZoneCodeGenerator: Make pointer counts be able to differ by array index
|
2019-12-18 15:30:47 +01:00 |
|
Jan
|
a7936c9eaa
|
ZoneCodeGenerator: Fix LoadTempPtr method doing insertpointer and allocating in the wrong order
|
2019-12-18 15:26:12 +01:00 |
|
Jan
|
92e84e69f9
|
ZoneCodeGenerator: Remove spaces between array indices
|
2019-12-18 15:22:16 +01:00 |
|
Jan
|
5b8cd9cbc6
|
ZoneCode: Fix and enable menuDef and WeaponVariantDef
|
2019-12-07 13:40:27 +01:00 |
|
Jan
|
3e108c98b4
|
ZoneCodeGenerator: Fix TestReorder not being able to reorder members that came before a specified first entry
|
2019-12-07 13:39:30 +01:00 |
|
Jan
|
0f349e24c3
|
ZoneCodeGenerator: Improve toString debug output for memberinformation
|
2019-12-07 13:38:57 +01:00 |
|
Jan
|
e7725f6a9c
|
ZoneLoading: Fix and enable xmodel, destructibledef, gameworldsp/mp, attachment_unique, weaponcamo, fx, vehicledef
|
2019-12-07 03:49:32 +01:00 |
|
Jan
|
739c2ff61d
|
ZoneCodeGenerator: Fix PointerArrays not respecting that they might need to alloc space in the block
|
2019-12-07 03:48:49 +01:00 |
|
Jan
|
a7857172d7
|
ZoneLoading: Enable assets menuList, impactfx and footsteptablefx due to now working properly
|
2019-12-06 16:33:36 +01:00 |
|
Jan
|
9253ac14fa
|
ZoneCodeGenerator: Make unions work with conditions and only load one union member at a time consistently
|
2019-12-06 16:33:05 +01:00 |
|
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
|
406cfae0f5
|
ZoneCode: Fix Commands for FxEffectDef GameWorldSp and MaterialTechniqueSet
|
2019-12-06 15:41:44 +01:00 |
|
Jan
|
c386231576
|
ZoneCode: Fix and enable all already working assets
|
2019-12-05 04:05:44 +01:00 |
|
Jan
|
10334266b3
|
ZoneLoading: Enable mapents assets
|
2019-12-05 02:59:04 +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
|
42e571427b
|
ZoneCodeGenerator: Fix forward declarations not being resolved for typedefs
|
2019-12-05 02:54:56 +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
|
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 |
|