// // Generated by dtk // Translation Unit: c_tree.cpp // #include "SSystem/SComponent/c_tree.h" #include "SSystem/SComponent/c_list.h" #include "dolphin/types.h" /* 80244FD0-80244FF0 .text cTr_SingleCut__FP10node_class */ int cTr_SingleCut(node_class* pNode) { return cLs_SingleCut(pNode); } /* 80244FF0-80245034 .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) return 0; return cLs_Addition(&pTree->mpLists[listIdx], pNode); } /* 80245034-80245078 .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) return 0; return cLs_Insert(&pTree->mpLists[listIdx], idx, pNode); } /* 80245078-802450D0 .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; while (numLists-- > 0) cLs_Create(pLists++); }