From 9e25e6246f2d1980ed0bec1ee819f9ef22bbf148 Mon Sep 17 00:00:00 2001 From: fallenoak Date: Tue, 21 Oct 2025 22:09:05 -0500 Subject: [PATCH] feat(component): partially implement CCharacterComponent::RenderPrepAll --- src/component/CCharacterComponent.cpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/component/CCharacterComponent.cpp b/src/component/CCharacterComponent.cpp index b004ad1..5a14f72 100644 --- a/src/component/CCharacterComponent.cpp +++ b/src/component/CCharacterComponent.cpp @@ -320,6 +320,24 @@ int32_t CCharacterComponent::RenderPrep(int32_t a2) { void CCharacterComponent::RenderPrepAll() { // TODO + + this->m_flags &= ~0x8; + + this->VariationsLoaded(1); + this->ItemsLoaded(1); + + for (uint32_t i = 0; i < NUM_COMPONENT_VARIATIONS; i++) { + CCharacterComponent::s_prepFunc[i](this); + } + + // TODO + + this->m_flags &= ~0x1; + + // TODO dirty mask? + this->m_sections = 0; + + // TODO } void CCharacterComponent::RenderPrepSections() {