Clean up dependencies.

Challenge notes don't count to making a song red.
This commit is contained in:
Glenn Maynard
2003-07-17 20:11:24 +00:00
parent d926a032ff
commit 9ff733b877
2 changed files with 11 additions and 2 deletions
+3
View File
@@ -20,6 +20,7 @@
#include "PrefsManager.h"
#include "RageException.h"
#include "arch/LoadingWindow/LoadingWindow.h"
#include "Course.h"
#include "AnnouncerManager.h"
#include "ThemeManager.h"
@@ -624,6 +625,8 @@ RageColor SongManager::GetSongColor( const Song* pSong )
for( unsigned i=0; i<pSong->m_apNotes.size(); i++ )
{
const Notes* pNotes = pSong->m_apNotes[i];
if( pNotes->GetDifficulty() == DIFFICULTY_CHALLENGE )
continue;
// if(pNotes->m_NotesType != nt)
// continue;
+8 -2
View File
@@ -13,13 +13,19 @@
*/
#include "Course.h"
class LoadingWindow;
class Song;
class StyleDef;
class Course;
class Notes;
struct PlayerOptions;
#include "RageTypes.h"
#include "GameConstantsAndTypes.h"
#include "SongOptions.h"
#include "PlayerOptions.h"
#include "PlayerNumber.h"
class SongManager
{
public: