mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-24 08:54:15 +00:00
Refactor MxList cursors (#313)
* LegoWorldList * Refactor list cursors * Add decomp markers for list cursors * Fix decomp markers * MxRegionListCursor edit to prevent accuracy drop * Better fix for MxRegionListCursor
This commit is contained in:
27
LEGO1/legoworldlist.h
Normal file
27
LEGO1/legoworldlist.h
Normal file
@@ -0,0 +1,27 @@
|
||||
#ifndef LEGOWORLDLIST_H
|
||||
#define LEGOWORLDLIST_H
|
||||
|
||||
#include "mxlist.h"
|
||||
#include "mxtypes.h"
|
||||
|
||||
class LegoWorld;
|
||||
|
||||
// VTABLE: LEGO1 0x100d8700
|
||||
// class MxCollection<LegoWorld *>
|
||||
|
||||
// VTABLE: LEGO1 0x100d8718
|
||||
// class MxList<LegoWorld *>
|
||||
|
||||
// VTABLE: LEGO1 0x100d8730
|
||||
// class MxPtrList<LegoWorld>
|
||||
|
||||
// VTABLE: LEGO1 0x100d8680
|
||||
// SIZE 0x18
|
||||
class LegoWorldList : public MxPtrList<LegoWorld> {
|
||||
public:
|
||||
LegoWorldList() : MxPtrList<LegoWorld>(Destroy) {}
|
||||
virtual MxS8 Compare(LegoWorld*, LegoWorld*) override; // vtable+0x14
|
||||
static void Destroy(LegoWorld*);
|
||||
};
|
||||
|
||||
#endif // LEGOWORLDLIST_H
|
||||
Reference in New Issue
Block a user