Introduce clang-format (#240)

This commit is contained in:
Christian Semmler
2023-10-24 19:38:27 -04:00
committed by GitHub
parent e928fc9425
commit b449da1fa3
408 changed files with 12434 additions and 12813 deletions

View File

@@ -5,33 +5,34 @@
#include "mxtypes.h"
/*
* This is an as-of-yet unknown list-like data structure.
* The class hierarchy/structure isn't quite correct yet.
*/
* This is an as-of-yet unknown list-like data structure.
* The class hierarchy/structure isn't quite correct yet.
*/
struct MxUnkListNode {
MxUnkListNode *m_unk00;
MxUnkListNode *m_unk04;
undefined4 m_unk08;
MxUnkListNode* m_unk00;
MxUnkListNode* m_unk04;
undefined4 m_unk08;
};
class MxUnkList {
public:
inline MxUnkList() {
undefined unk;
this->m_unk00 = unk;
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;
}
MxUnkListNode* node = new MxUnkListNode();
node->m_unk00 = node;
node->m_unk04 = node;
undefined m_unk00;
MxUnkListNode *m_head;
MxU32 m_count;
this->m_head = node;
this->m_count = 0;
}
undefined m_unk00;
MxUnkListNode* m_head;
MxU32 m_count;
};
#endif // MXUNKLIST_H