mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-27 18:21:15 +00:00
Better fix for MxRegionListCursor
This commit is contained in:
parent
5e68e038f4
commit
bd74959002
@ -29,28 +29,15 @@ class MxRegionList : public MxPtrList<MxRegionTopBottom> {
|
|||||||
// VTABLE: LEGO1 0x100dcba0
|
// VTABLE: LEGO1 0x100dcba0
|
||||||
// class MxListCursor<MxRegionTopBottom *>
|
// class MxListCursor<MxRegionTopBottom *>
|
||||||
|
|
||||||
// TODO: MxRegionListCursor should probably extend MxPtrListCursor. Doing this has
|
// TODO: The initialize list param type should be MxRegionList, but doing that
|
||||||
// drastically reduced the match percentage for MxRegion::vtable18, so we will replicate
|
// drastically reduced the match percentage for MxRegion::vtable18.
|
||||||
// the previous cursor hierarchy with this dummy class for now.
|
// It also works with MxPtrList, so we'll do that until we figure this out.
|
||||||
|
|
||||||
template <class T>
|
|
||||||
class _ListCursorDummy : public MxListCursor<T> {
|
|
||||||
public:
|
|
||||||
_ListCursorDummy(MxList<T>* p_list) : MxListCursor<T>(p_list){};
|
|
||||||
};
|
|
||||||
|
|
||||||
// VTABLE: LEGO1 0x100dcb88
|
// VTABLE: LEGO1 0x100dcb88
|
||||||
class MxRegionListCursor : public _ListCursorDummy<MxRegionTopBottom*> {
|
|
||||||
public:
|
|
||||||
MxRegionListCursor(MxList<MxRegionTopBottom*>* p_list) : _ListCursorDummy<MxRegionTopBottom*>(p_list){};
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
|
||||||
class MxRegionListCursor : public MxPtrListCursor<MxRegionTopBottom> {
|
class MxRegionListCursor : public MxPtrListCursor<MxRegionTopBottom> {
|
||||||
public:
|
public:
|
||||||
MxRegionListCursor(MxRegionList* p_list) : MxPtrListCursor<MxRegionTopBottom>(p_list){};
|
MxRegionListCursor(MxPtrList<MxRegionTopBottom>* p_list) : MxPtrListCursor<MxRegionTopBottom>(p_list){};
|
||||||
};
|
};
|
||||||
*/
|
|
||||||
|
|
||||||
// VTABLE: LEGO1 0x100dcc40
|
// VTABLE: LEGO1 0x100dcc40
|
||||||
// class MxCollection<MxRegionLeftRight *>
|
// class MxCollection<MxRegionLeftRight *>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user