From c71d701027ca4605ff2ab7ae95edc10a832e70bc Mon Sep 17 00:00:00 2001 From: fallenoak Date: Sun, 12 Oct 2025 12:08:05 -0500 Subject: [PATCH] feat(model): add attachment members to CM2Model --- src/model/CM2Model.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/model/CM2Model.hpp b/src/model/CM2Model.hpp index e557bf5..23b1e82 100644 --- a/src/model/CM2Model.hpp +++ b/src/model/CM2Model.hpp @@ -82,6 +82,12 @@ class CM2Model { CM2Model** m_animatePrev = nullptr; CM2Model* m_animateNext = nullptr; CM2Model* m_attachParent = nullptr; + // TODO m_attachments; (presumably M2ModelAttachment) + uint32_t m_attachId = -1; + uint32_t m_attachIndex = 0xFFFF; + CM2Model* m_attachList = nullptr; + CM2Model** m_attachPrev = nullptr; + CM2Model* m_attachNext = nullptr; uint32_t m_time = 0; CM2Model** m_drawPrev = nullptr; CM2Model* m_drawNext = nullptr;