mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-30 11:41:16 +00:00
Minor adjustments
This commit is contained in:
parent
7d848155ed
commit
ec695ee83c
@ -152,7 +152,7 @@ void LegoWorldPresenter::VTable0x60(MxPresenter* p_presenter)
|
|||||||
MxCompositePresenter::VTable0x60(p_presenter);
|
MxCompositePresenter::VTable0x60(p_presenter);
|
||||||
MxDSAction* action = p_presenter->GetAction();
|
MxDSAction* action = p_presenter->GetAction();
|
||||||
|
|
||||||
if (action->GetDuration() != -1 && (action->GetFlags() & 1) == 0) {
|
if (action->GetDuration() != -1 && (action->GetFlags() & MxDSAction::Flag_Looping) == 0) {
|
||||||
if (!action->IsA("MxDSMediaAction")) {
|
if (!action->IsA("MxDSMediaAction")) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -116,6 +116,7 @@ class MxPresenter : public MxCore {
|
|||||||
__declspec(dllexport) virtual void Enable(MxBool p_enable); // vtable+0x54
|
__declspec(dllexport) virtual void Enable(MxBool p_enable); // vtable+0x54
|
||||||
|
|
||||||
MxEntity* CreateEntity(const char* p_name);
|
MxEntity* CreateEntity(const char* p_name);
|
||||||
|
void SendToCompositePresenter(MxOmni*);
|
||||||
MxBool IsEnabled();
|
MxBool IsEnabled();
|
||||||
|
|
||||||
inline MxS32 GetCurrentTickleState() const { return this->m_currentTickleState; }
|
inline MxS32 GetCurrentTickleState() const { return this->m_currentTickleState; }
|
||||||
@ -127,7 +128,6 @@ class MxPresenter : public MxCore {
|
|||||||
{
|
{
|
||||||
m_compositePresenter = p_compositePresenter;
|
m_compositePresenter = p_compositePresenter;
|
||||||
}
|
}
|
||||||
void SendToCompositePresenter(MxOmni*);
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
__declspec(dllexport) void Init();
|
__declspec(dllexport) void Init();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user