update makefile, clean up ScoreKeeperShared
This commit is contained in:
@@ -154,6 +154,7 @@ ScoreKeeper.h ScoreKeeper.cpp \
|
||||
ScoreKeeperGuitar.cpp ScoreKeeperGuitar.h \
|
||||
ScoreKeeperNormal.cpp ScoreKeeperNormal.h \
|
||||
ScoreKeeperRave.cpp ScoreKeeperRave.h \
|
||||
ScoreKeeperShared.cpp ScoreKeeperShared.h \
|
||||
Song.cpp Song.h SongCacheIndex.cpp SongCacheIndex.h \
|
||||
SongOptions.cpp SongOptions.h SongUtil.cpp SongUtil.h StageStats.cpp StageStats.h Steps.cpp Steps.h \
|
||||
SoundEffectControl.cpp SoundEffectControl.h \
|
||||
|
||||
@@ -15,7 +15,7 @@ void ScoreKeeperShared::OnNextSong( int iSongInCourseIndex, const Steps* pSteps,
|
||||
{
|
||||
vector<NoteData> vParts;
|
||||
PlayerNumber pn = m_pPlayerState->m_PlayerNumber;
|
||||
|
||||
|
||||
NoteDataUtil::SplitCompositeNoteData( *pNoteData, vParts );
|
||||
ScoreKeeperNormal::OnNextSong( iSongInCourseIndex, pSteps, &vParts[pn] );
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ class ScoreKeeperShared : public ScoreKeeperNormal
|
||||
{
|
||||
public:
|
||||
ScoreKeeperShared( PlayerState *pPlayerState, PlayerStageStats *pPlayerStageStats );
|
||||
|
||||
|
||||
void OnNextSong( int iSongInCourseIndex, const Steps* pSteps, const NoteData* pNoteData );
|
||||
};
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user