feat(glue): implement CCharacterSelection::RenderPrep

This commit is contained in:
fallenoak 2025-10-13 20:18:45 -05:00
parent fb79622cec
commit d18e8cf608
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D
3 changed files with 16 additions and 1 deletions

View File

@ -16,3 +16,7 @@ void CCharacterComponent::Init(ComponentData* data, const char* a3) {
// TODO // TODO
} }
void CCharacterComponent::RenderPrep(int32_t a2) {
// TODO
}

View File

@ -29,6 +29,7 @@ class CCharacterComponent {
// Member functions // Member functions
void Init(ComponentData* data, const char* a3); void Init(ComponentData* data, const char* a3);
void RenderPrep(int32_t a2);
}; };
#endif #endif

View File

@ -79,7 +79,17 @@ void CCharacterSelection::OnGetCharacterList() {
} }
void CCharacterSelection::RenderPrep() { void CCharacterSelection::RenderPrep() {
// TODO auto character = CCharacterSelection::GetSelectedCharacter();
if (!character) {
return;
}
auto component = character->component;
if (!component) {
return;
}
component->RenderPrep(0);
} }
void CCharacterSelection::SetBackgroundModel(const char* modelPath) { void CCharacterSelection::SetBackgroundModel(const char* modelPath) {