Match a few methods (#270)

* match a few misc methods

* Update legonavcontroller.h

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
Misha 2023-11-05 17:41:35 -05:00 committed by GitHub
parent 42a82794a8
commit 33dcb139b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 13 deletions

View file

@ -1,5 +1,6 @@
#include "legonavcontroller.h"
#include "legoinputmanager.h"
#include "legoomni.h"
#include "legoutil.h"
#include "legovideomanager.h"
@ -106,18 +107,14 @@ LegoNavController::LegoNavController()
MxTimer* timer = Timer();
this->m_time = timer->GetTime();
// TODO: InputManager()
// LegoInputManager* inputManager = InputManager();
// inputManager->Register(this);
InputManager()->Register(this);
}
// TODO: InputManager()
// OFFSET: LEGO1 0x10054c30
// LegoNavController::~LegoNavController()
// {
// LegoInputManager* inputManager = InputManager();
// inputManager->UnRegister(this);
// }
LegoNavController::~LegoNavController()
{
InputManager()->UnRegister(this);
}
// OFFSET: LEGO1 0x10054ca0
void LegoNavController::SetControlMax(int p_hMax, int p_vMax)

View file

@ -37,7 +37,7 @@ class LegoNavController : public MxCore {
);
LegoNavController();
// virtual ~LegoNavController(); // vtable+0x0
virtual ~LegoNavController() override; // vtable+0x0
// OFFSET: LEGO1 0x10054b80
inline const char* ClassName() const override // vtable+0xc

View file

@ -31,8 +31,8 @@ MxCore* LegoObjectFactory::Create(const char* p_name)
}
}
// OFFSET: LEGO1 0x1000fb30 STUB
// OFFSET: LEGO1 0x1000fb30
void LegoObjectFactory::Destroy(MxCore* p_object)
{
// TODO
delete p_object;
}

View file

@ -20,7 +20,7 @@ Pizza::~Pizza()
TickleManager()->UnregisterClient(this);
}
// OFFSET: LEGO1 0x100388a0
// OFFSET: LEGO1 0x100388a0 STUB
MxResult Pizza::Tickle()
{
// TODO