mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Implement/match remaining MxDSMultiAction functions (#136)
* Implement/match MxDSMultiAction::Deserialize * Implement remaining functions of MxDSMultiAction * Remove space
This commit is contained in:
committed by
GitHub
parent
6dd94d3626
commit
548f337cad
@@ -59,6 +59,7 @@ public:
|
||||
virtual ~MxList();
|
||||
|
||||
void Append(T*);
|
||||
void DeleteAll();
|
||||
MxU32 GetCount() { return m_count; }
|
||||
void SetDestroy(void (*p_customDestructor)(T *)) { this->m_customDestructor = p_customDestructor; }
|
||||
|
||||
@@ -115,6 +116,12 @@ public:
|
||||
template <class T>
|
||||
// OFFSET: LEGO1 0x1001ce20
|
||||
MxList<T>::~MxList()
|
||||
{
|
||||
DeleteAll();
|
||||
}
|
||||
|
||||
template <class T>
|
||||
inline void MxList<T>::DeleteAll()
|
||||
{
|
||||
for (MxListEntry<T> *t = m_first;;) {
|
||||
if (!t)
|
||||
|
||||
Reference in New Issue
Block a user