mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-02 00:32:45 +03:00
feat(glue): implement CCharacterSelection::RenderPrep
This commit is contained in:
parent
fb79622cec
commit
d18e8cf608
@ -16,3 +16,7 @@ void CCharacterComponent::Init(ComponentData* data, const char* a3) {
|
||||
|
||||
// TODO
|
||||
}
|
||||
|
||||
void CCharacterComponent::RenderPrep(int32_t a2) {
|
||||
// TODO
|
||||
}
|
||||
|
||||
@ -29,6 +29,7 @@ class CCharacterComponent {
|
||||
|
||||
// Member functions
|
||||
void Init(ComponentData* data, const char* a3);
|
||||
void RenderPrep(int32_t a2);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user