mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +00:00
MxList refactor (#290)
* MxList refactor * Reorder LegoPathControllerList::Destroy * MxPtrList custom destructor and more offsets Co-authored-by: Christian Semmler <mail@csemmler.com> * Fix member offset comments in collection classes * Fix template annotations --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
@@ -5,30 +5,22 @@
|
||||
|
||||
class MxPresenter;
|
||||
|
||||
// Unclear what the purpose of this class is
|
||||
// VTABLE 0x100d62f0
|
||||
// SIZE 0x18
|
||||
class MxPresenterListParent : public MxList<MxPresenter*> {
|
||||
public:
|
||||
MxPresenterListParent() { m_customDestructor = Destroy; }
|
||||
};
|
||||
// VTABLE 0x100d62f0 TEMPLATE
|
||||
// class MxPtrList<MxPresenter>
|
||||
|
||||
// VTABLE 0x100d6308
|
||||
// SIZE 0x18
|
||||
class MxPresenterList : public MxPresenterListParent {
|
||||
class MxPresenterList : public MxPtrList<MxPresenter> {
|
||||
public:
|
||||
virtual MxS8 Compare(MxPresenter*, MxPresenter*) override; // +0x14
|
||||
virtual MxS8 Compare(MxPresenter*, MxPresenter*) override; // vtable+0x14
|
||||
};
|
||||
|
||||
typedef MxListCursorChildChild<MxPresenter*> MxPresenterListCursor;
|
||||
|
||||
// OFFSET: LEGO1 0x1001cd20 TEMPLATE
|
||||
// MxListParent<MxPresenter *>::Compare
|
||||
// VTABLE 0x100d6350 TEMPLATE
|
||||
// class MxCollection<MxPresenter *>
|
||||
|
||||
// OFFSET: LEGO1 0x1001cd30 TEMPLATE
|
||||
// MxListParent<MxPresenter *>::Destroy
|
||||
|
||||
// OFFSET: LEGO1 0x1001ce20 TEMPLATE
|
||||
// MxList<MxPresenter *>::~MxList<MxPresenter *>
|
||||
// VTABLE 0x100d6368 TEMPLATE
|
||||
// class MxList<MxPresenter *>
|
||||
|
||||
#endif // MXPRESENTERLIST_H
|
||||
|
Reference in New Issue
Block a user