implement/match ScoreState vtable

This commit is contained in:
Ramen2X 2023-10-18 21:58:16 -04:00
parent 52e6c9ac22
commit f4b006a8af
2 changed files with 17 additions and 0 deletions

View File

@ -1 +1,13 @@
#include "scorestate.h"
// OFFSET: LEGO1 0x1000de20
MxBool ScoreState::VTable0x14() {
return FALSE;
}
// OFFSET: LEGO1 0x1000de30
MxBool ScoreState::VTable0x18()
{
m_unk0x08 = TRUE;
return TRUE;
}

View File

@ -21,6 +21,11 @@ class ScoreState : public LegoState
return !strcmp(name, ScoreState::ClassName()) || LegoState::IsA(name);
};
virtual MxBool VTable0x14() override; // vtable+0x14
virtual MxBool VTable0x18() override; // vtable+0x18
private:
MxBool m_unk0x08;
};
#endif // SCORESTATE_H