feat(component): implement CCharacterComponent::RenderPrepAL

This commit is contained in:
fallenoak 2025-10-22 00:31:24 -05:00
parent 904782c8df
commit 32e8b11233
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D
2 changed files with 8 additions and 0 deletions

View File

@ -117,7 +117,14 @@ void CCharacterComponent::InitDbData() {
// TODO CountFacialFeatures(varArrayLength, &CCharacterComponent::s_characterFacialHairStylesList);
}
void CCharacterComponent::PasteFromSkin(COMPONENT_SECTIONS section, void* srcTexture, MipBits* dstMips) {
// TODO
}
void CCharacterComponent::RenderPrepAL(CCharacterComponent* component) {
auto skin = component->m_texture[TEXTURE_INDEX(VARIATION_SKIN, 0)];
CCharacterComponent::PasteFromSkin(SECTION_ARM_LOWER, skin, CCharacterComponent::s_textureBuffer);
// TODO
}

View File

@ -86,6 +86,7 @@ class CCharacterComponent {
static void RenderPrepLU(CCharacterComponent* component);
static void RenderPrepTL(CCharacterComponent* component);
static void RenderPrepTU(CCharacterComponent* component);
static void PasteFromSkin(COMPONENT_SECTIONS section, void* srcTexture, MipBits* dstMips);
static void UpdateBaseTexture(EGxTexCommand cmd, uint32_t width, uint32_t height, uint32_t depth, uint32_t mipLevel, void* userArg, uint32_t& texelStrideInBytes, const void*& texels);
// Member variables