mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 02:31:15 +00:00
MxRegionListCursor edit to prevent accuracy drop
This commit is contained in:
parent
25936af7f4
commit
5e68e038f4
@ -29,11 +29,28 @@ 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
|
||||||
|
// drastically reduced the match percentage for MxRegion::vtable18, so we will replicate
|
||||||
|
// the previous cursor hierarchy with this dummy class for now.
|
||||||
|
|
||||||
|
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(MxRegionList* 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