feat(glue): implement CCharacterSelection::RenderPrep

This commit is contained in:
fallenoak committed 2025-10-13 20:18:45 -05:00
1 parent fb79622cec
commit d18e8cf608
3 files changed
+16 -1

No files matched your search

+4
View File
@@ -16,3 +16,7 @@ void CCharacterComponent::Init(ComponentData* data, const char* a3) {
// TODO
}
void CCharacterComponent::RenderPrep(int32_t a2) {
// TODO
}
+1
View File
@@ -29,6 +29,7 @@ class CCharacterComponent {
// Member functions
void Init(ComponentData* data, const char* a3);
void RenderPrep(int32_t a2);
};
#endif
+11 -1
View File
@@ -79,7 +79,17 @@ void CCharacterSelection::OnGetCharacterList() {
}
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) {