diff --git a/LEGO1/mxregionlist.h b/LEGO1/mxregionlist.h index c36131f3..a308ff4b 100644 --- a/LEGO1/mxregionlist.h +++ b/LEGO1/mxregionlist.h @@ -29,11 +29,28 @@ class MxRegionList : public MxPtrList { // VTABLE: LEGO1 0x100dcba0 // class MxListCursor +// 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 _ListCursorDummy : public MxListCursor { +public: + _ListCursorDummy(MxList* p_list) : MxListCursor(p_list){}; +}; + // VTABLE: LEGO1 0x100dcb88 +class MxRegionListCursor : public _ListCursorDummy { +public: + MxRegionListCursor(MxList* p_list) : _ListCursorDummy(p_list){}; +}; + +/* class MxRegionListCursor : public MxPtrListCursor { public: - MxRegionListCursor(MxRegionList* p_list) : MxPtrListCursor(p_list){}; + MxRegionListCursor(MxRegionList* p_list) : MxPtrListCursor(p_list){}; }; +*/ // VTABLE: LEGO1 0x100dcc40 // class MxCollection