Sources/CcgDump/CryBoneDesc.cpp
// sets the name of the bone out of the given buffer of the given max size

sets the name of the bone out of the given buffer of the given max size
sets the name of the bone out of the given buffer of the given max size
void CryBoneDesc::setName (const char* szName)
{
	m_strName.assign (szName);
	static const char *g_arrLimbNames[4] = { "L UpperArm","R UpperArm","L Thigh","R Thigh" };
	m_nLimbId = -1;
	for (int j=0; j < SIZEOF_ARRAY(g_arrLimbNames) ;j++)
		if (strstr(szName,g_arrLimbNames[j]))
		{
			m_nLimbId = j;
			break;
		}
}
void CryBoneDesc :: setName ( const char * szName ) { m_strName . assign ( szName ) ; static const char * g_arrLimbNames [ 4 ] = { " " , " " , " " , " " } ; m_nLimbId = -1 ; for ( int j = 0 ; j < SIZEOF_ARRAY ( g_arrLimbNames ) ; j ++ ) if ( strstr ( szName , g_arrLimbNames [ j ] ) ) { m_nLimbId = j ; break ; } }
sets the name of the bone out of the given buffer of the given max size
sets the name of the bone out of the given buffer of the given max size