2023-10-08 11:25:38 -04:00
|
|
|
#ifndef MXUNKLIST_H
|
|
|
|
#define MXUNKLIST_H
|
|
|
|
|
|
|
|
#include "decomp.h"
|
|
|
|
#include "mxtypes.h"
|
|
|
|
|
|
|
|
/*
|
2023-10-24 19:38:27 -04:00
|
|
|
* This is an as-of-yet unknown list-like data structure.
|
|
|
|
* The class hierarchy/structure isn't quite correct yet.
|
|
|
|
*/
|
2023-10-08 11:25:38 -04:00
|
|
|
|
|
|
|
struct MxUnkListNode {
|
2023-10-24 19:38:27 -04:00
|
|
|
MxUnkListNode* m_unk00;
|
|
|
|
MxUnkListNode* m_unk04;
|
|
|
|
undefined4 m_unk08;
|
2023-10-08 11:25:38 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
class MxUnkList {
|
|
|
|
public:
|
2023-10-24 19:38:27 -04:00
|
|
|
inline MxUnkList()
|
|
|
|
{
|
|
|
|
undefined unk;
|
|
|
|
this->m_unk00 = unk;
|
|
|
|
|
|
|
|
MxUnkListNode* node = new MxUnkListNode();
|
|
|
|
node->m_unk00 = node;
|
|
|
|
node->m_unk04 = node;
|
|
|
|
|
|
|
|
this->m_head = node;
|
|
|
|
this->m_count = 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
undefined m_unk00;
|
|
|
|
MxUnkListNode* m_head;
|
|
|
|
MxU32 m_count;
|
2023-10-08 11:25:38 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // MXUNKLIST_H
|