mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 00:02:45 +03:00
feat(ui): implement Script_GetCharacterSelectFacing
This commit is contained in:
parent
e2eb6b3586
commit
1607fc9745
@ -8,6 +8,7 @@
|
||||
#include "ui/CSimpleModelFFX.hpp"
|
||||
|
||||
TSGrowableArray<CharacterSelectionDisplay> CCharacterSelection::s_characterList;
|
||||
float CCharacterSelection::s_charFacing;
|
||||
int32_t CCharacterSelection::s_enterWorldIndex;
|
||||
CSimpleModelFFX* CCharacterSelection::s_modelFrame;
|
||||
uint32_t CCharacterSelection::s_restrictHuman;
|
||||
|
||||
@ -15,6 +15,7 @@ class CCharacterSelection {
|
||||
public:
|
||||
// Static variables
|
||||
static TSGrowableArray<CharacterSelectionDisplay> s_characterList;
|
||||
static float s_charFacing;
|
||||
static int32_t s_enterWorldIndex;
|
||||
static CSimpleModelFFX* s_modelFrame;
|
||||
static uint32_t s_restrictHuman;
|
||||
|
||||
@ -175,7 +175,9 @@ int32_t Script_UpdateSelectionCustomizationScene(lua_State* L) {
|
||||
}
|
||||
|
||||
int32_t Script_GetCharacterSelectFacing(lua_State* L) {
|
||||
WHOA_UNIMPLEMENTED(0);
|
||||
lua_pushnumber(L, CCharacterSelection::s_charFacing * 57.29578);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
int32_t Script_SetCharacterSelectFacing(lua_State* L) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user