From afe809f33c033c4361cf820f16438d22031cce6d Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Mon, 29 Jan 2024 17:05:57 -0500 Subject: [PATCH] Store the unknown padding Don't know what it's used for yet still. --- src/model.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/model.rs b/src/model.rs index 0d659bc..08e2539 100755 --- a/src/model.rs +++ b/src/model.rs @@ -241,11 +241,13 @@ struct ModelData { #[br(count = submesh_bone_map_size / 2, err_context("lods = {:#?}", lods))] submesh_bone_map: Vec, - // TODO: what actually is this? + #[br(dbg)] padding_amount: u8, - #[br(pad_before = padding_amount)] - #[bw(pad_before = *padding_amount)] + // TODO: what actually is this? it's all zero + #[br(count = padding_amount)] + unknown_padding: Vec, + bounding_box: BoundingBox, model_bounding_box: BoundingBox, water_bounding_box: BoundingBox,