Lines Matching refs:sBoneBatches
1051 …if(!WriteData32(pFile, ePODFileMeshBoneBatchBoneMax,&s.pMesh[i].sBoneBatches.nBatchBoneMax)) retur… in WritePOD()
1052 …if(!WriteData32(pFile, ePODFileMeshBoneBatchCnt, &s.pMesh[i].sBoneBatches.nBatchCnt)) return false; in WritePOD()
1053 …FileMeshBoneBatches, s.pMesh[i].sBoneBatches.pnBatches, s.pMesh[i].sBoneBatches.nBatchBoneMax * s… in WritePOD()
1054 …(pFile, ePODFileMeshBoneBatchBoneCnts, s.pMesh[i].sBoneBatches.pnBatchBoneCnt, s.pMesh[i].sBoneBat… in WritePOD()
1055 …32(pFile, ePODFileMeshBoneBatchOffsets, s.pMesh[i].sBoneBatches.pnBatchOffset,s.pMesh[i].sBoneBatc… in WritePOD()
1478 …case ePODFileMeshBoneBatches: if(!src.ReadAfterAlloc32(s.sBoneBatches.pnBatches, nLen)) return fa… in ReadMesh()
1479 …case ePODFileMeshBoneBatchBoneCnts: if(!src.ReadAfterAlloc32(s.sBoneBatches.pnBatchBoneCnt, nLen))… in ReadMesh()
1480 …case ePODFileMeshBoneBatchOffsets: if(!src.ReadAfterAlloc32(s.sBoneBatches.pnBatchOffset, nLen)) r… in ReadMesh()
1481 …case ePODFileMeshBoneBatchBoneMax: if(!src.Read32(s.sBoneBatches.nBatchBoneMax)) return false; … in ReadMesh()
1482 …case ePODFileMeshBoneBatchCnt: if(!src.Read32(s.sBoneBatches.nBatchCnt)) return false; b… in ReadMesh()
2201 pMesh[i].sBoneBatches.Release();
3690 nBatchCnt = mesh.sBoneBatches.nBatchCnt ? mesh.sBoneBatches.nBatchCnt : 1;
3698 if(!mesh.sBoneBatches.nBatchCnt)
3705 if(h + 1 < mesh.sBoneBatches.nBatchCnt)
3706 nFaces = mesh.sBoneBatches.pnBatchOffset[h+1] - mesh.sBoneBatches.pnBatchOffset[h];
3708 nFaces = mesh.nNumFaces - mesh.sBoneBatches.pnBatchOffset[h];
3710 pFaces = &old.pData[3 * mesh.sBoneBatches.pnBatchOffset[h] * old.nStride];
3920 if(in.sBoneBatches.nBatchCnt)
3922 out.sBoneBatches.Release();
3924 out.sBoneBatches.nBatchBoneMax = in.sBoneBatches.nBatchBoneMax;
3925 out.sBoneBatches.nBatchCnt = in.sBoneBatches.nBatchCnt;
3927 if(in.sBoneBatches.pnBatches)
3929 …out.sBoneBatches.pnBatches = (int*) malloc(out.sBoneBatches.nBatchCnt * out.sBoneBatches.nBatchBon…
3931 if(out.sBoneBatches.pnBatches)
3932 …cpy(out.sBoneBatches.pnBatches, in.sBoneBatches.pnBatches, out.sBoneBatches.nBatchCnt * out.sBoneB…
3935 if(in.sBoneBatches.pnBatchBoneCnt)
3937 …out.sBoneBatches.pnBatchBoneCnt = (int*) malloc(out.sBoneBatches.nBatchCnt * sizeof(*out.sBoneBatc…
3939 if(out.sBoneBatches.pnBatchBoneCnt)
3940 …memcpy(out.sBoneBatches.pnBatchBoneCnt, in.sBoneBatches.pnBatchBoneCnt, out.sBoneBatches.nBatchCnt…
3943 if(in.sBoneBatches.pnBatchOffset)
3945 …out.sBoneBatches.pnBatchOffset = (int*) malloc(out.sBoneBatches.nBatchCnt * sizeof(out.sBoneBatche…
3947 if(out.sBoneBatches.pnBatchOffset)
3948 …memcpy(out.sBoneBatches.pnBatchOffset, in.sBoneBatches.pnBatchOffset, out.sBoneBatches.nBatchCnt *…
4163 outMesh.sBoneBatches.Release();
4192 if(inMesh.sBoneBatches.nBatchCnt)
4200 SafeAlloc(pPalette, inMesh.sBoneBatches.nBatchBoneMax);
4201 SafeAlloc(pPaletteInvTrans, inMesh.sBoneBatches.nBatchBoneMax);
4204 for(j = 0; j < (unsigned int) inMesh.sBoneBatches.nBatchCnt; ++j)
4206 ui32BatchPaletteSize = (unsigned int) inMesh.sBoneBatches.pnBatchBoneCnt[j];
4211 int i32NodeID = inMesh.sBoneBatches.pnBatches[j * inMesh.sBoneBatches.nBatchBoneMax + k];
4229 if(j + 1 < (unsigned int) inMesh.sBoneBatches.nBatchCnt)
4230 ui32Tris = inMesh.sBoneBatches.pnBatchOffset[j + 1] - inMesh.sBoneBatches.pnBatchOffset[j];
4232 ui32Tris = inMesh.nNumFaces - inMesh.sBoneBatches.pnBatchOffset[j];
4239 ui32Offset = 3 * inMesh.sBoneBatches.pnBatchOffset[j];