mirror of
https://github.com/isledecomp/isle.git
synced 2025-03-31 09:00:07 -04:00
LegoTexturePresenter destructor and AddToManager (#282)
* LegoTexturePresenter destructor and AddToManager * clang-format
This commit is contained in:
parent
888205c1fa
commit
8b2e7a92e1
2 changed files with 14 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue