mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +00:00
Implement/match LegoPathController::Tickle (#913)
This commit is contained in:

committed by
GitHub

parent
32a3373360
commit
b6fc8e27b1
@@ -187,10 +187,11 @@ void LegoPathController::Destroy()
|
||||
}
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x10045c10
|
||||
// FUNCTION: LEGO1 0x10045c10
|
||||
// FUNCTION: BETA10 0x100b6d60
|
||||
MxResult LegoPathController::Tickle()
|
||||
{
|
||||
// TODO
|
||||
FUN_10046970();
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
@@ -244,6 +245,25 @@ void LegoPathController::FUN_10046930(LegoAnimPresenter* p_presenter)
|
||||
{
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x10046970
|
||||
// FUNCTION: BETA10 0x100b73d8
|
||||
void LegoPathController::FUN_10046970()
|
||||
{
|
||||
float time = Timer()->GetTime();
|
||||
|
||||
LegoPathActorSet lpas(m_actors);
|
||||
|
||||
for (LegoPathActorSet::iterator itpa = lpas.begin(); itpa != lpas.end(); itpa++) {
|
||||
LegoPathActor* actor = *itpa;
|
||||
|
||||
if (m_actors.find(actor) != m_actors.end()) {
|
||||
if (!((MxU8) actor->GetState() & LegoPathActor::c_bit3)) {
|
||||
actor->VTable0x70(time);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x10046b30
|
||||
MxResult LegoPathController::FUN_10046b30(LegoPathBoundary** p_path, MxS32& p_value)
|
||||
{
|
||||
|
Reference in New Issue
Block a user