fixed some structures
This commit is contained in:
@@ -26,7 +26,7 @@ RslStream::relocate(void)
|
||||
}
|
||||
}
|
||||
|
||||
RslFrame*
|
||||
RslFrame*
|
||||
RslFrameForAllChildren(RslFrame *frame, RslFrameCallBack callBack, void *data)
|
||||
{
|
||||
for(RslFrame *child = frame->child;
|
||||
@@ -37,7 +37,7 @@ RslFrameForAllChildren(RslFrame *frame, RslFrameCallBack callBack, void *data)
|
||||
return frame;
|
||||
}
|
||||
|
||||
RslClump*
|
||||
RslClump*
|
||||
RslClumpForAllAtomics(RslClump *clump, RslAtomicCallBack callback, void *pData)
|
||||
{
|
||||
RslAtomic *a;
|
||||
@@ -52,7 +52,7 @@ RslClumpForAllAtomics(RslClump *clump, RslAtomicCallBack callback, void *pData)
|
||||
return clump;
|
||||
}
|
||||
|
||||
RslGeometry*
|
||||
RslGeometry*
|
||||
RslGeometryForAllMaterials(RslGeometry *geometry, RslMaterialCallBack fpCallBack, void *pData)
|
||||
{
|
||||
for(int32 i = 0; i < geometry->matList.numMaterials; i++)
|
||||
@@ -64,14 +64,14 @@ RslGeometryForAllMaterials(RslGeometry *geometry, RslMaterialCallBack fpCallBack
|
||||
|
||||
RslFrame *dumpFrameCB(RslFrame *frame, void *data)
|
||||
{
|
||||
printf(" frm: %x %s %x\n", frame->nodeId, frame->name, frame->unk3);
|
||||
printf(" frm: %x %s %x\n", frame->nodeId, frame->name, frame->hierId);
|
||||
RslFrameForAllChildren(frame, dumpFrameCB, data);
|
||||
return frame;
|
||||
}
|
||||
|
||||
RslMaterial *dumpMaterialCB(RslMaterial *material, void*)
|
||||
{
|
||||
printf(" mat: %s %x %x\n", material->texname, material->pad, material->refCount);
|
||||
printf(" mat: %s %x\n", material->texname, material->refCount);
|
||||
if(material->matfx){
|
||||
RslMatFX *fx = material->matfx;
|
||||
printf(" matfx: ", fx->effectType);
|
||||
|
||||
Reference in New Issue
Block a user