mirror of
https://github.com/zeldaret/tp
synced 2026-07-08 14:36:36 -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,7 +1,7 @@
|
||||
//
|
||||
// Generated By: dol2asm
|
||||
// Translation Unit: c_node_iter
|
||||
//
|
||||
/**
|
||||
* c_node_iter.cpp
|
||||
*
|
||||
*/
|
||||
|
||||
#include "SSystem/SComponent/c_node_iter.h"
|
||||
#include "SSystem/SComponent/c_node.h"
|
||||
@@ -9,15 +9,15 @@
|
||||
|
||||
/* 80266324-802663B4 0090+00 s=0 e=1 z=0 None .text
|
||||
* cNdIt_Method__FP10node_classPFP10node_classPv_iPv */
|
||||
int cNdIt_Method(node_class* pNode, cNdIt_MethodFunc pMethod, void* pUserData) {
|
||||
int cNdIt_Method(node_class* node, cNdIt_MethodFunc method, void* data) {
|
||||
int ret = 1;
|
||||
node_class* pNext = NODE_GET_NEXT(pNode);
|
||||
node_class* pNext = NODE_GET_NEXT(node);
|
||||
|
||||
while (pNode) {
|
||||
int methodRet = pMethod(pNode, pUserData);
|
||||
while (node) {
|
||||
int methodRet = method(node, data);
|
||||
if (!methodRet)
|
||||
ret = 0;
|
||||
pNode = pNext;
|
||||
node = pNext;
|
||||
pNext = NODE_GET_NEXT(pNext);
|
||||
}
|
||||
|
||||
@@ -26,14 +26,14 @@ int cNdIt_Method(node_class* pNode, cNdIt_MethodFunc pMethod, void* pUserData) {
|
||||
|
||||
/* 802663B4-80266440 008C+00 s=0 e=1 z=0 None .text
|
||||
* cNdIt_Judge__FP10node_classPFP10node_classPv_PvPv */
|
||||
void* cNdIt_Judge(node_class* pNode, cNdIt_JudgeFunc pJudge, void* pUserData) {
|
||||
node_class* pNext = NODE_GET_NEXT(pNode);
|
||||
void* cNdIt_Judge(node_class* node, cNdIt_JudgeFunc judge, void* data) {
|
||||
node_class* pNext = NODE_GET_NEXT(node);
|
||||
|
||||
while (pNode) {
|
||||
void* pJudgeRet = pJudge(pNode, pUserData);
|
||||
if (pJudgeRet != NULL)
|
||||
return pJudgeRet;
|
||||
pNode = pNext;
|
||||
while (node) {
|
||||
void* ret = judge(node, data);
|
||||
if (ret != NULL)
|
||||
return ret;
|
||||
node = pNext;
|
||||
pNext = NODE_GET_NEXT(pNext);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user