mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 16:22: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
|
// TODO
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void CCharacterComponent::RenderPrep(int32_t a2) {
|
||||||
|
// TODO
|
||||||
|
}
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -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) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user