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
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)