feat(component): implement CCharacterComponent::RenderPrepAL

This commit is contained in:
fallenoak committed 2025-10-22 00:31:24 -05:00
1 parent 904782c8df
commit 32e8b11233
2 files changed
+8

No files matched your search

+7
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
}
+1
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