diff --git a/Source/Resource/Models/AnimatedModelResource.cpp b/Source/Resource/Models/AnimatedModelResource.cpp index ae605b5..6cdd5cb 100644 --- a/Source/Resource/Models/AnimatedModelResource.cpp +++ b/Source/Resource/Models/AnimatedModelResource.cpp @@ -20,11 +20,11 @@ AnimatedModelNode::~AnimatedModelNode() { } } -// OFFSET: 0x007521F0 +// OFFSET: 0x007550E0 // FUNCTION: fn_07979 C3dAnimModelRes::C3dAnimModelRes(ModelResourceContext& context) - : shade(2), frameCount(0), animationLength(0), speed(1.0f), unknown_0150(0), unknown_0154(0.0f), unknown_0158(0.0f), unknown_015C(0.0f), alpha(255), - m_context(&context) { + : unknown_0110(0), unknown_0114(0), shade(2), frameCount(0), animationLength(0), speed(1.0f), unknown_0150(0), unknown_0154(0.0f), unknown_0158(0.0f), + unknown_015C(0.0f), alpha(255), m_context(&context) { } // OFFSET: 0x00753510 diff --git a/Source/Resource/Models/AnimatedModelResource.h b/Source/Resource/Models/AnimatedModelResource.h index 34f4f63..1b04df8 100644 --- a/Source/Resource/Models/AnimatedModelResource.h +++ b/Source/Resource/Models/AnimatedModelResource.h @@ -47,18 +47,20 @@ public: bool Load(const char* name) override; void Unload() override; - std::list nodes; - std::list rootNames; - std::string sourceName; - int shade; - int frameCount; - int animationLength; - float speed; - std::uint32_t unknown_0150; - float unknown_0154; - float unknown_0158; - float unknown_015C; - std::uint32_t alpha; + /* 0110 */ std::uint32_t unknown_0110; + /* 0114 */ std::uint32_t unknown_0114; + /* 0118 */ std::list nodes; + /* 0120 */ std::list rootNames; + /* 0128 */ std::string sourceName; + /* 0140 */ int shade; + /* 0144 */ int frameCount; + /* 0148 */ int animationLength; + /* 014C */ float speed; + /* 0150 */ std::uint32_t unknown_0150; + /* 0154 */ float unknown_0154; + /* 0158 */ float unknown_0158; + /* 015C */ float unknown_015C; + /* 0160 */ std::uint32_t alpha; private: ModelResourceContext* m_context;