From 793f36d58e8b733f4e1d8084b9a3161cd503a2eb Mon Sep 17 00:00:00 2001 From: elijah-thomas774 Date: Sun, 9 Jun 2024 21:56:21 -0400 Subject: [PATCH] lyt_animation OK --- configure.py | 2 +- include/nw4r/lyt/lyt_resources.h | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/configure.py b/configure.py index 80b5fc29..08bdcd94 100644 --- a/configure.py +++ b/configure.py @@ -363,7 +363,7 @@ config.libs = [ Object(Matching, "nw4r/lyt/lyt_material.cpp"), Object(Matching, "nw4r/lyt/lyt_texMap.cpp"), Object(Matching, "nw4r/lyt/lyt_drawInfo.cpp"), - Object(NonMatching, "nw4r/lyt/lyt_animation.cpp"), + Object(Matching, "nw4r/lyt/lyt_animation.cpp"), Object(Matching, "nw4r/lyt/lyt_resourceAccessor.cpp"), Object(Matching, "nw4r/lyt/lyt_arcResourceAccessor.cpp"), Object(Matching, "nw4r/lyt/lyt_common.cpp"), diff --git a/include/nw4r/lyt/lyt_resources.h b/include/nw4r/lyt/lyt_resources.h index dcdd27d4..644e6c3f 100644 --- a/include/nw4r/lyt/lyt_resources.h +++ b/include/nw4r/lyt/lyt_resources.h @@ -295,13 +295,13 @@ struct AnimationInfo { }; struct AnimationTarget { - u8 id; // at 0x0 - u8 target; // at 0x1 - u8 curveType; // at 0x2 - u8 padding1; // at 0x3 - u16 keyNum; // at 0x4 - u16 padding2[2]; // at 0x6 - u32 keyOffset; // at 0x8 + u8 id; // at 0x0 + u8 target; // at 0x1 + u8 curveType; // at 0x2 + u8 padding1; // at 0x3 + u16 keyNum; // at 0x4 + u8 padding2[2]; // at 0x6 + u32 keyOffset; // at 0x8 }; struct AnimationContent {