fix build

This commit is contained in:
Misha 2024-01-18 20:10:42 -05:00
parent a0f56337d6
commit 9bbe36eec6
No known key found for this signature in database
GPG Key ID: 8441D12AEF33FED8
5 changed files with 14 additions and 22 deletions

View File

@ -27,9 +27,12 @@ class InfocenterDoor : public LegoWorld {
virtual MxResult Create(MxDSAction& p_dsAction) override; // vtable+0x18 virtual MxResult Create(MxDSAction& p_dsAction) override; // vtable+0x18
virtual void VTable0x50() override; // vtable+0x50 virtual void VTable0x50() override; // vtable+0x50
virtual MxBool VTable0x5c() override; // vtable+0x5c
virtual MxBool VTable0x64() override; // vtable+0x64 // FUNCTION: LEGO1 0x100377a0
virtual void VTable0x68(MxBool p_add) override; // vtable+0x68 virtual MxBool VTable0x5c() override { return TRUE; } // vtable+0x5c
virtual MxBool VTable0x64() override; // vtable+0x64
virtual void VTable0x68(MxBool p_add) override; // vtable+0x68
// SYNTHETIC: LEGO1 0x100378d0 // SYNTHETIC: LEGO1 0x100378d0
// InfocenterDoor::`scalar deleting destructor' // InfocenterDoor::`scalar deleting destructor'

View File

@ -24,7 +24,8 @@ class InfocenterState : public LegoState {
return !strcmp(p_name, InfocenterState::ClassName()) || LegoState::IsA(p_name); return !strcmp(p_name, InfocenterState::ClassName()) || LegoState::IsA(p_name);
} }
virtual MxBool VTable0x14() override; // vtable+0x14 // FUNCTION: LEGO1 0x10071830
virtual MxBool VTable0x14() override { return FALSE; } // vtable+0x14
inline MxU32 GetInfocenterBufferElement(MxS32 p_index) { return m_buffer[p_index]; } inline MxU32 GetInfocenterBufferElement(MxS32 p_index) { return m_buffer[p_index]; }
inline MxU32 GetUnknown0x74() { return m_unk0x74; } inline MxU32 GetUnknown0x74() { return m_unk0x74; }

View File

@ -36,12 +36,6 @@ void InfocenterDoor::VTable0x50()
FUN_10015820(FALSE, LegoOmni::c_disableInput | LegoOmni::c_disable3d | LegoOmni::c_clearScreen); FUN_10015820(FALSE, LegoOmni::c_disableInput | LegoOmni::c_disable3d | LegoOmni::c_clearScreen);
} }
// FUNCTION: LEGO1 0x100377a0
MxBool InfocenterDoor::VTable0x5c()
{
return TRUE;
}
// STUB: LEGO1 0x10037cd0 // STUB: LEGO1 0x10037cd0
MxBool InfocenterDoor::VTable0x64() MxBool InfocenterDoor::VTable0x64()
{ {

View File

@ -14,9 +14,3 @@ InfocenterState::~InfocenterState()
{ {
// TODO // TODO
} }
// FUNCTION: LEGO1 0x10071830
MxBool InfocenterState::VTable0x14()
{
return FALSE;
}

View File

@ -41,15 +41,15 @@ MxResult RegistrationBook::Tickle()
return SUCCESS; return SUCCESS;
} }
// STUB: LEGO1 0x10078180
void RegistrationBook::VTable0x68(MxBool p_add)
{
// TODO
}
// FUNCTION: LEGO1 0x100783e0 // FUNCTION: LEGO1 0x100783e0
MxBool RegistrationBook::VTable0x64() MxBool RegistrationBook::VTable0x64()
{ {
DeleteObjects(&m_atom, 500, 506); DeleteObjects(&m_atom, 500, 506);
return TRUE; return TRUE;
} }
// STUB: LEGO1 0x10078180
void RegistrationBook::VTable0x68(MxBool p_add)
{
// TODO
}