mirror of
https://github.com/isledecomp/isle-portable.git
synced 2025-09-27 14:42:51 -04:00
LegoTexturePresenter destructor and AddToManager (#282)
* LegoTexturePresenter destructor and AddToManager * clang-format
This commit is contained in:
parent
888205c1fa
commit
8b2e7a92e1
@ -1,7 +1,17 @@
|
|||||||
#include "legotexturepresenter.h"
|
#include "legotexturepresenter.h"
|
||||||
|
|
||||||
// OFFSET: LEGO1 0x1004eb40 STUB
|
#include "legoomni.h"
|
||||||
|
#include "legovideomanager.h"
|
||||||
|
|
||||||
|
// OFFSET: LEGO1 0x1004eb40
|
||||||
LegoTexturePresenter::~LegoTexturePresenter()
|
LegoTexturePresenter::~LegoTexturePresenter()
|
||||||
{
|
{
|
||||||
// TODO
|
VideoManager()->RemovePresenter(*this);
|
||||||
|
}
|
||||||
|
|
||||||
|
// OFFSET: LEGO1 0x1004ebb0
|
||||||
|
MxResult LegoTexturePresenter::AddToManager()
|
||||||
|
{
|
||||||
|
VideoManager()->AddPresenter(*this);
|
||||||
|
return SUCCESS;
|
||||||
}
|
}
|
||||||
|
@ -21,6 +21,8 @@ public:
|
|||||||
{
|
{
|
||||||
return !strcmp(name, LegoTexturePresenter::ClassName()) || MxMediaPresenter::IsA(name);
|
return !strcmp(name, LegoTexturePresenter::ClassName()) || MxMediaPresenter::IsA(name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
virtual MxResult AddToManager() override; // vtable+0x34
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // LEGOTEXTUREPRESENTER_H
|
#endif // LEGOTEXTUREPRESENTER_H
|
||||||
|
Loading…
x
Reference in New Issue
Block a user