CString -> RString

This commit is contained in:
Chris Danford
2006-01-22 01:00:06 +00:00
parent 870ed267fc
commit 7f821e8cfc
578 changed files with 3943 additions and 3946 deletions
+4 -4
View File
@@ -90,17 +90,17 @@ bool RageModelGeometry::HasAnyPerVertexBones() const
#define THROW RageException::Throw( "Parse error in \"%s\" at line %d: '%s'", sPath.c_str(), iLineNum, sLine.c_str() )
void RageModelGeometry::LoadMilkshapeAscii( const CString& _sPath, bool bNeedsNormals )
void RageModelGeometry::LoadMilkshapeAscii( const RString& _sPath, bool bNeedsNormals )
{
CString sPath = _sPath;
RString sPath = _sPath;
FixSlashesInPlace(sPath);
const CString sDir = Dirname( sPath );
const RString sDir = Dirname( sPath );
RageFile f;
if( !f.Open( sPath ) )
RageException::Throw( "RageModelGeometry::LoadMilkshapeAscii Could not open \"%s\": %s", sPath.c_str(), f.GetError().c_str() );
CString sLine;
RString sLine;
int iLineNum = 0;
char szName[MS_MAX_NAME];
int nFlags, nIndex;