mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-11 13:08:33 -04:00
MSL_C fully matched / some SSystem cleanup/ obj_rgate OK (#2011)
* cleanup SSystem files * MSL_C fully matched * fix build * remove asm * reorganize MSL_C/Runtime libs into more accurate setup * little more cleanup * cleanup some MSL headers * obj_rgate OK * remove asm * some rgate documentation
This commit is contained in:
@@ -1,41 +1,40 @@
|
||||
//
|
||||
// Generated By: dol2asm
|
||||
// Translation Unit: c_tree
|
||||
//
|
||||
/**
|
||||
* c_tree.cpp
|
||||
*
|
||||
*/
|
||||
|
||||
#include "SSystem/SComponent/c_tree.h"
|
||||
#include "SSystem/SComponent/c_list.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
/* 80266440-80266460 0020+00 s=0 e=1 z=0 None .text cTr_SingleCut__FP10node_class */
|
||||
int cTr_SingleCut(node_class* pNode) {
|
||||
return cLs_SingleCut(pNode);
|
||||
int cTr_SingleCut(node_class* node) {
|
||||
return cLs_SingleCut(node);
|
||||
}
|
||||
|
||||
/* 80266460-802664A4 0044+00 s=0 e=1 z=0 None .text
|
||||
* cTr_Addition__FP21node_lists_tree_classiP10node_class */
|
||||
int cTr_Addition(node_lists_tree_class* pTree, int listIdx, node_class* pNode) {
|
||||
if (listIdx >= pTree->mNumLists)
|
||||
int cTr_Addition(node_lists_tree_class* tree, int listIdx, node_class* node) {
|
||||
if (listIdx >= tree->mNumLists)
|
||||
return 0;
|
||||
|
||||
return cLs_Addition(&pTree->mpLists[listIdx], pNode);
|
||||
return cLs_Addition(&tree->mpLists[listIdx], node);
|
||||
}
|
||||
|
||||
/* 802664A4-802664E8 0044+00 s=0 e=1 z=0 None .text
|
||||
* cTr_Insert__FP21node_lists_tree_classiP10node_classi */
|
||||
int cTr_Insert(node_lists_tree_class* pTree, int listIdx, node_class* pNode, int idx) {
|
||||
if (listIdx >= pTree->mNumLists)
|
||||
int cTr_Insert(node_lists_tree_class* tree, int listIdx, node_class* node, int idx) {
|
||||
if (listIdx >= tree->mNumLists)
|
||||
return 0;
|
||||
|
||||
return cLs_Insert(&pTree->mpLists[listIdx], idx, pNode);
|
||||
return cLs_Insert(&tree->mpLists[listIdx], idx, node);
|
||||
}
|
||||
|
||||
/* 802664E8-80266540 0058+00 s=0 e=2 z=0 None .text
|
||||
* cTr_Create__FP21node_lists_tree_classP15node_list_classi */
|
||||
void cTr_Create(node_lists_tree_class* pTree, node_list_class* pLists, int numLists) {
|
||||
pTree->mpLists = pLists;
|
||||
pTree->mNumLists = numLists;
|
||||
void cTr_Create(node_lists_tree_class* tree, node_list_class* lists, int numLists) {
|
||||
tree->mpLists = lists;
|
||||
tree->mNumLists = numLists;
|
||||
|
||||
while (numLists-- > 0)
|
||||
cLs_Create(pLists++);
|
||||
cLs_Create(lists++);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user