mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-24 08:54:15 +00:00
Reorganize sources and files (#414)
* Reorganize sources * Refactor * Remove relative paths * Renames * Fix gitignore * Remove stuff * Try fixing format script * Fix format * Fix format * Fix naming script * Test format * Fix format
This commit is contained in:
committed by
GitHub
parent
6a85e62406
commit
c47206617d
20
LEGO1/lego/legoomni/src/paths/legopathcontroller.cpp
Normal file
20
LEGO1/lego/legoomni/src/paths/legopathcontroller.cpp
Normal file
@@ -0,0 +1,20 @@
|
||||
#include "legopathcontroller.h"
|
||||
|
||||
// STUB: LEGO1 0x10044f40
|
||||
LegoPathController::LegoPathController()
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x10045740
|
||||
LegoPathController::~LegoPathController()
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x10045c10
|
||||
MxResult LegoPathController::Tickle()
|
||||
{
|
||||
// TODO
|
||||
return SUCCESS;
|
||||
}
|
||||
67
LEGO1/lego/legoomni/src/paths/legopathpresenter.cpp
Normal file
67
LEGO1/lego/legoomni/src/paths/legopathpresenter.cpp
Normal file
@@ -0,0 +1,67 @@
|
||||
#include "legopathpresenter.h"
|
||||
|
||||
#include "legoomni.h"
|
||||
#include "legovideomanager.h"
|
||||
#include "mxautolocker.h"
|
||||
|
||||
DECOMP_SIZE_ASSERT(LegoPathPresenter, 0x54);
|
||||
|
||||
// FUNCTION: LEGO1 0x100448d0
|
||||
LegoPathPresenter::LegoPathPresenter()
|
||||
{
|
||||
Init();
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x10044ab0
|
||||
void LegoPathPresenter::Init()
|
||||
{
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x10044b40
|
||||
MxResult LegoPathPresenter::AddToManager()
|
||||
{
|
||||
MxResult status = FAILURE;
|
||||
|
||||
if (VideoManager()) {
|
||||
VideoManager()->AddPresenter(*this);
|
||||
status = SUCCESS;
|
||||
}
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x10044b70
|
||||
void LegoPathPresenter::Destroy(MxBool p_fromDestructor)
|
||||
{
|
||||
if (VideoManager())
|
||||
VideoManager()->RemovePresenter(*this);
|
||||
|
||||
{
|
||||
MxAutoLocker lock(&this->m_criticalSection);
|
||||
Init();
|
||||
}
|
||||
|
||||
if (!p_fromDestructor)
|
||||
MxMediaPresenter::Destroy(FALSE);
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x10044c10
|
||||
void LegoPathPresenter::Destroy()
|
||||
{
|
||||
Destroy(FALSE);
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x10044d40
|
||||
void LegoPathPresenter::RepeatingTickle()
|
||||
{
|
||||
if (this->m_action->GetDuration() == -1)
|
||||
return;
|
||||
|
||||
EndAction();
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x10044d60
|
||||
void LegoPathPresenter::ParseExtra()
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
Reference in New Issue
Block a user