git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@314
8a3a26a2-13c4-0310-b231-
cf6edde360e5
if ('A' <= *cp && *cp <= 'Z')
*cp += 'a' - 'A';
}
if ('A' <= *cp && *cp <= 'Z')
*cp += 'a' - 'A';
}
fclose( fp );
strcpy(gl_filename, filename);
fclose( fp );
strcpy(gl_filename, filename);
{
numFramesInAnimation = maxFrames;
}
{
numFramesInAnimation = maxFrames;
}
{
numFramesInAnimation = pObject->anim.numFrames;
if ( maxFrames != -1 )
{
numFramesInAnimation = pObject->anim.numFrames;
if ( maxFrames != -1 )
// the purpose of this whole chunk of code below is to extract the relative path
// from a full path in the ASE
// the purpose of this whole chunk of code below is to extract the relative path
// from a full path in the ASE
strcpy( bitmap, s_token + 1 );
if ( strchr( bitmap, '"' ) )
*strchr( bitmap, '"' ) = 0;
strcpy( bitmap, s_token + 1 );
if ( strchr( bitmap, '"' ) )
*strchr( bitmap, '"' ) = 0;
- Error( "Unknown token '%s' while parsing MESH_TVERTLIST" );
+ Error( "Unknown token '%s' while parsing MESH_TVERTLIST", token );
else if ( !strcmp( token, "*MESH" ) && !ase.grabAnims )
{
/*
else if ( !strcmp( token, "*MESH" ) && !ase.grabAnims )
{
/*
- if ( strstr( ase.objects[ase.currentObject].name, "tag_" ) == ase.objects[ase.currentObject].name )
+ if ( strstr( ase.objects[ase.currentObject].name, "tag_" ) == ase.objects[ase.currentObject].name )
{
s_forceStaticMesh = true;
ASE_ParseBracedBlock( ASE_KeyMESH );
{
s_forceStaticMesh = true;
ASE_ParseBracedBlock( ASE_KeyMESH );
ase.objects[ase.currentObject].anim.numFrames = ase.objects[ase.currentObject].anim.currentFrame;
ase.objects[ase.currentObject].numAnimations++;
/*
ase.objects[ase.currentObject].anim.numFrames = ase.objects[ase.currentObject].anim.currentFrame;
ase.objects[ase.currentObject].numAnimations++;
/*
- // ignore meshes that aren't part of animations if this object isn't a
+ // ignore meshes that aren't part of animations if this object isn't a