mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-22 16:04:17 +00:00
LegoTexturePresenter destructor and AddToManager (#282)
* LegoTexturePresenter destructor and AddToManager * clang-format
This commit is contained in:
@@ -1,7 +1,17 @@
|
||||
#include "legotexturepresenter.h"
|
||||
|
||||
// OFFSET: LEGO1 0x1004eb40 STUB
|
||||
#include "legoomni.h"
|
||||
#include "legovideomanager.h"
|
||||
|
||||
// OFFSET: LEGO1 0x1004eb40
|
||||
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);
|
||||
}
|
||||
|
||||
virtual MxResult AddToManager() override; // vtable+0x34
|
||||
};
|
||||
|
||||
#endif // LEGOTEXTUREPRESENTER_H
|
||||
|
Reference in New Issue
Block a user