feat(component): implement more of CCharacterComponent::RenderPrep

This commit is contained in:
fallenoak 2025-10-15 20:11:26 -05:00
parent 550f7dbdd0
commit 66d3579173
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D
2 changed files with 38 additions and 3 deletions

View File

@ -38,14 +38,46 @@ void CCharacterComponent::Init(ComponentData* data, const char* a3) {
// TODO
}
void CCharacterComponent::RenderPrep(int32_t a2) {
int32_t CCharacterComponent::ItemsLoaded(int32_t a2) {
// TODO
return 1;
}
int32_t CCharacterComponent::RenderPrep(int32_t a2) {
if (this->m_data.flags & 0x1) {
if (this->m_flags & 0x4) {
this->GeosRenderPrep();
}
return;
return 1;
}
// TODO
if (a2) {
// TODO
this->VariationsLoaded(1);
this->ItemsLoaded(1);
this->m_flags |= 8u;
this->RenderPrepSections();
// TODO this->Sub79F820();
return 1;
}
// TODO
}
void CCharacterComponent::RenderPrepSections() {
// TODO
}
int32_t CCharacterComponent::VariationsLoaded(int32_t a2) {
// TODO
return 1;
}

View File

@ -54,7 +54,10 @@ class CCharacterComponent {
// Member functions
void GeosRenderPrep();
void Init(ComponentData* data, const char* a3);
void RenderPrep(int32_t a2);
int32_t ItemsLoaded(int32_t a2);
int32_t RenderPrep(int32_t a2);
void RenderPrepSections();
int32_t VariationsLoaded(int32_t a2);
};
#endif