@@ -876,7 +876,7 @@ bool CExportSkeleton::ExportGeometry(IWriter &F, u8 infl)
876876 // OGF_CHILDREN
877877 F.open_chunk (OGF_CHILDREN);
878878 int chield = 0 ;
879- for (split_it = m_Splits.begin (); split_it!=m_Splits.end (); split_it++)
879+ for (SplitIt split_it = m_Splits.begin (); split_it!=m_Splits.end (); split_it++)
880880 {
881881 F.open_chunk (chield++);
882882 split_it->Save (F);
@@ -905,7 +905,7 @@ bool CExportSkeleton::ExportGeometry(IWriter &F, u8 infl)
905905 bool bRes = true ;
906906
907907 F.open_chunk (OGF_S_IKDATA);
908- for (bone_it = m_Source->FirstBone (); bone_it!=m_Source->LastBone (); ++bone_it,++bone_idx)
908+ for (BoneIt bone_it = m_Source->FirstBone (); bone_it!=m_Source->LastBone (); ++bone_it,++bone_idx)
909909 if (!(*bone_it)->ExportOGF (F))
910910 bRes = false ;
911911
@@ -1064,7 +1064,7 @@ bool CExportSkeleton::ExportMotionKeys(IWriter &F)
10641064 m_Source->CalculateRootObjectAnimation (ro_anchor);
10651065 }
10661066 bone_id = 0 ;
1067- for (b_it = b_lst.begin (); b_it!=b_lst.end (); b_it++,bone_id++)
1067+ for (BoneIt b_it = b_lst.begin (); b_it!=b_lst.end (); b_it++,bone_id++)
10681068 {
10691069 CBone *B = *b_it;
10701070 Fmatrix mat = B->_MTransform ();
@@ -1091,7 +1091,7 @@ bool CExportSkeleton::ExportMotionKeys(IWriter &F)
10911091 }
10921092 }
10931093 // free temp storage
1094- for (itm_idx = 0 ; itm_idx<b_lst.size (); ++itm_idx)
1094+ for (u32 itm_idx = 0 ; itm_idx<b_lst.size (); ++itm_idx)
10951095 {
10961096 bm_item &BM = items[itm_idx];
10971097 // check T
@@ -1128,7 +1128,7 @@ bool CExportSkeleton::ExportMotionKeys(IWriter &F)
11281128 Msg (" animation [%s] is 16bit-transform (%f)m" , cur_motion->Name (), St.magnitude ());
11291129 }
11301130
1131- for (t_idx = 0 ; t_idx<dwLen; ++t_idx)
1131+ for (u32 t_idx = 0 ; t_idx<dwLen; ++t_idx)
11321132 {
11331133 Fvector &t = BM._keysT [t_idx];
11341134 CKeyQR &r = BM._keysQR [t_idx];
0 commit comments