mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 00:02:45 +03:00
feat(component): implement more of CCharacterComponent::RenderPrep
This commit is contained in:
parent
550f7dbdd0
commit
66d3579173
@ -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;
|
||||
}
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user