mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +00:00
implement LegoInputManager::ProcessOneEvent (#498)
* push changes * fix * Match * Rename functions * Space * Fix GetPresenterAt --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
@@ -330,10 +330,19 @@ void LegoVideoManager::DrawFPS()
|
||||
// TODO
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x1007c080
|
||||
void LegoVideoManager::VTable0x38(undefined4, undefined4)
|
||||
// FUNCTION: LEGO1 0x1007c080
|
||||
MxPresenter* LegoVideoManager::GetPresenterAt(MxS32 p_x, MxS32 p_y)
|
||||
{
|
||||
// TODO
|
||||
MxPresenterListCursor cursor(m_presenters);
|
||||
MxPresenter* presenter;
|
||||
|
||||
while (cursor.Prev(presenter)) {
|
||||
if (presenter->IsHit(p_x, p_y)) {
|
||||
return presenter;
|
||||
}
|
||||
}
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x1007c290
|
||||
|
Reference in New Issue
Block a user