Decouple <vector>
This commit is contained in:
@@ -7,6 +7,9 @@
|
||||
#include "Song.h"
|
||||
#include "RageFileDriverMemory.h"
|
||||
|
||||
#include <vector>
|
||||
|
||||
|
||||
/** @brief Load the difficulty names from CourseLoaderCRS. */
|
||||
extern const char *g_CRSDifficultyNames[]; // in CourseLoaderCRS
|
||||
|
||||
@@ -129,7 +132,7 @@ bool CourseWriterCRS::Write( const Course &course, RageFileBasic &f, bool bSavin
|
||||
{
|
||||
Song *pSong = entry.songID.ToSong();
|
||||
const RString &sSong = Basename( pSong->GetSongDir() );
|
||||
|
||||
|
||||
f.Write( "#SONG:" );
|
||||
if( !entry.songCriteria.m_sGroupName.empty() )
|
||||
f.Write( entry.songCriteria.m_sGroupName + '/' );
|
||||
@@ -173,12 +176,12 @@ bool CourseWriterCRS::Write( const Course &course, RageFileBasic &f, bool bSavin
|
||||
sModifiers += ',';
|
||||
sModifiers += ssprintf( "award%d", entry.iGainLives );
|
||||
}
|
||||
|
||||
|
||||
f.Write( sModifiers );
|
||||
|
||||
f.PutLine( ";" );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -186,7 +189,7 @@ bool CourseWriterCRS::Write( const Course &course, RageFileBasic &f, bool bSavin
|
||||
/*
|
||||
* (c) 2001-2004 Chris Danford, Glenn Maynard
|
||||
* All rights reserved.
|
||||
*
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the
|
||||
* "Software"), to deal in the Software without restriction, including
|
||||
@@ -196,7 +199,7 @@ bool CourseWriterCRS::Write( const Course &course, RageFileBasic &f, bool bSavin
|
||||
* copyright notice(s) and this permission notice appear in all copies of
|
||||
* the Software and that both the above copyright notice(s) and this
|
||||
* permission notice appear in supporting documentation.
|
||||
*
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
|
||||
|
||||
Reference in New Issue
Block a user