2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-05-05 09:59:36 +00:00
Commit Graph

46 Commits

Author SHA1 Message Date
Jan 68dfac10db fix: consider attachmentunique szXAnims an assetref 2024-02-13 16:57:15 +01:00
Jan 405cad06a8 feat: load T6 FxEffectDefRef as asset ref 2024-02-07 01:06:16 +01:00
Jan fef815e708 feat: recognize indirect asset refs when marking assets 2024-02-07 00:53:52 +01:00
Jan 0c4835bc36 Fix build due to reordered headers 2023-11-19 21:07:27 +00:00
Clang Format 6b4f5d94a8 Reformat code with clang format 2023-11-19 21:07:21 +00:00
Jan 636034d87c Add menu ItemType enums to all games 2021-08-27 21:46:02 +02:00
Jan e3a3d012e6 Add Commands for T5 2021-05-12 19:23:27 +02:00
Jan dbcbb4a4b3 Make sure assets need to be declared as temp block to be located in temp block to handle special case of iw3 stringtable not being in temp block 2021-04-15 13:42:03 +02:00
Jan d65f906ecb Remove FxImpactTable asset name 2021-03-13 15:48:55 +01:00
Jan 88c48e8107 Add dynamic allocation alignment to be able to load T6 MemoryBlock asset which isnt used at all so why am i doing this again 2021-03-05 09:23:37 +01:00
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 682e2e44ca Fix T6 commands not including commands for weaponcamo 2021-03-01 13:14:52 +01:00
Jan 7c51c26255 Calculate size and alignment in post processor 2021-02-19 16:23:16 +01:00
Jan e99e66cec5 Separate command files to a single command file per asset and include them in the main command file 2021-02-11 11:51:36 +01:00
Jan 589347ce08 ZoneCommon: Add Texture pointer from OAT to GfxTexture union of T6 to be able to save loaded texture data in GfxImage 2020-02-07 20:54:40 +01:00
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 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 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 551deeec34 ZoneCode: Add commands for GfxWorld and enable it 2019-12-24 01:59:58 +01:00
Jan 94369e3ecf ZoneCode: Add commands for GfxWorld 2019-12-23 23:46:37 +01:00
Jan db8e4c987c ZoneCode: Fix alignments and structs for XAnims 2019-12-23 21:24:23 +01:00
Jan ef1ca03ed3 ZoneCode: Fix commands for SndBank 2019-12-23 17:55:57 +01:00
Jan 8d8f60bf41 ZoneCode: Fix Commands for Material, GfxImage and Techset 2019-12-23 17:03:16 +01:00
Jan c8a2bec12b ZoneCodeGenerator: Fix commands for GfxImage 2019-12-21 13:16:17 +01:00
Jan 4d611f9770 ZoneCode: Add commands for clipMap 2019-12-18 15:31:10 +01:00
Jan 5b8cd9cbc6 ZoneCode: Fix and enable menuDef and WeaponVariantDef 2019-12-07 13:40:27 +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 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 5853950888 ZoneCodeGenerator: Fixup templates and structs to be able to generate code for AddonMapEnts 2019-12-05 02:56:35 +01:00
Jan d5e52e5df8 ZoneCode: Extend command file 2019-12-03 23:55:19 +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 377dc5c99b ZoneCodeGenerator: Set conditions on structs that make the build fail right now 2019-11-21 21:47:56 +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 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 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 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 d7f05b97c9 ZoneCodeGenerator: Add skeleton for all commands for all assets and add commands for rawfile based structs and material/materialtechniqueset 2019-11-14 14:58:18 +01:00
Jan 3839b22f71 ZoneCodeGenerator: Fix invalid string commands for PhysConstraints and DestructibleDef 2019-11-10 22:14:36 +01:00
Jan 6ca7f18f9f ZoneCodeGenerator: Add arraysize test to explicitly override the size of an array with a dynamic one 2019-11-10 18:07:28 +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 799d3cbce7 ZoneCodeGenerator: Change block Statement to get the number of fastfileblock from the enum entry instead of manually specifying it 2019-10-30 15:01:45 +01:00
Jan 00d5cb40ae Add T6 XModel structs to its command file 2019-10-21 16:59:38 +02:00
Jan 034de70bbc Add code generation on compiling to premake scripts using custom build commands 2019-10-25 02:13:37 +02:00