feat(glue): handle UpdateSelectionCustomizationScene script function

This commit is contained in:
fallenoak 2023-02-22 21:37:37 -06:00
parent d12b72e533
commit 59bf077bf8
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D
3 changed files with 8 additions and 1 deletions

View File

@ -5,6 +5,10 @@
TSGrowableArray<CharacterSelectionDisplay> CCharacterSelection::s_characterList;
CSimpleModelFFX* CCharacterSelection::s_modelFrame;
void CCharacterSelection::RenderPrep() {
// TODO
}
void CCharacterSelection::SetBackgroundModel(const char* modelPath) {
if (!CCharacterSelection::s_modelFrame || !modelPath || !*modelPath) {
return;

View File

@ -16,6 +16,7 @@ class CCharacterSelection {
static CSimpleModelFFX* s_modelFrame;
// Static functions
static void RenderPrep();
static void SetBackgroundModel(const char* modelPath);
};

View File

@ -65,7 +65,9 @@ int32_t Script_DeclineCharacter(lua_State* L) {
}
int32_t Script_UpdateSelectionCustomizationScene(lua_State* L) {
WHOA_UNIMPLEMENTED(0);
CCharacterSelection::RenderPrep();
return 0;
}
int32_t Script_GetCharacterSelectFacing(lua_State* L) {