mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-27 18:34:06 +00:00
Implement/match LegoRaceMap (#1087)
* Implement/match LegoRaceMap * Fix CI, address review comments --------- Co-authored-by: jonschz <jonschz@users.noreply.github.com>
This commit is contained in:
@@ -409,6 +409,28 @@ MxPresenter* LegoVideoManager::GetPresenterAt(MxS32 p_x, MxS32 p_y)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x1007c180
|
||||
// FUNCTION: BETA10 0x100d6df4
|
||||
MxPresenter* LegoVideoManager::GetPresenterByActionObjectName(const char* p_actionObjectName)
|
||||
{
|
||||
MxPresenterListCursor cursor(m_presenters);
|
||||
MxPresenter* presenter;
|
||||
|
||||
while (TRUE) {
|
||||
if (!cursor.Prev(presenter)) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (!presenter->GetAction()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (strcmpi(presenter->GetAction()->GetObjectName(), p_actionObjectName) == 0) {
|
||||
return presenter;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x1007c290
|
||||
MxResult LegoVideoManager::RealizePalette(MxPalette* p_pallete)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user