mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Refactor MxStreamList
based lists (#1260)
* Refactor stream lists * Fix naming * Fix header inclusion * Fix annotations * Move function definitions to header * Remove mxstreamprovider.cpp * Naming
This commit is contained in:

committed by
GitHub

parent
48c327ca5a
commit
5b19d7953a
@@ -4,10 +4,25 @@
|
||||
#include "decomp.h"
|
||||
#include "mxatom.h"
|
||||
#include "mxcore.h"
|
||||
#include "mxutilitylist.h"
|
||||
|
||||
class MxDSFile;
|
||||
class MxDSObject;
|
||||
class MxPresenter;
|
||||
|
||||
// SIZE 0x0c
|
||||
class MxDSObjectList : public MxUtilityList<MxDSObject*> {
|
||||
public:
|
||||
// FUNCTION: BETA10 0x10150e30
|
||||
MxDSObject* FindAndErase(MxDSObject* p_action) { return FindInternal(p_action, TRUE); }
|
||||
|
||||
// FUNCTION: BETA10 0x10150fc0
|
||||
MxDSObject* Find(MxDSObject* p_action) { return FindInternal(p_action, FALSE); }
|
||||
|
||||
private:
|
||||
MxDSObject* FindInternal(MxDSObject* p_action, MxBool p_delete);
|
||||
};
|
||||
|
||||
// VTABLE: LEGO1 0x100dc868
|
||||
// VTABLE: BETA10 0x101c23f0
|
||||
// SIZE 0x2c
|
||||
@@ -107,4 +122,7 @@ protected:
|
||||
MxDSObject* DeserializeDSObjectDispatch(MxU8*&, MxS16);
|
||||
MxDSObject* CreateStreamObject(MxDSFile*, MxS16);
|
||||
|
||||
// TEMPLATE: BETA10 0x10150950
|
||||
// MxUtilityList<MxDSObject *>::PopFront
|
||||
|
||||
#endif // MXDSOBJECT_H
|
||||
|
Reference in New Issue
Block a user