Implement/match LegoOmni::GetScriptIndex (#571)

* Implement/match LegoOmni::GetScriptIndex

* Fix type

* Fix
This commit is contained in:
Christian Semmler
2024-02-16 20:10:42 -05:00
committed by GitHub
parent c67f613b8d
commit b47412183b
9 changed files with 35 additions and 25 deletions

View File

@@ -98,6 +98,9 @@ public:
return *this;
}
inline MxS32 GetIndex() { return m_index; }
inline const char* GetKey() { return m_key; }
private:
MxS32 m_index; // 0x00
char m_key[20]; // 0x04
@@ -200,7 +203,7 @@ public:
void CreateBackgroundAudio();
void RemoveWorld(const MxAtomId&, MxLong);
MxResult RegisterScripts();
undefined4 FUN_1005b490(char* p_worldName);
MxS32 GetScriptIndex(const char* p_key);
static MxS32 GetCurrPathInfo(LegoPathBoundary**, MxS32&);
static void CreateInstance();