diff --git a/src/NotesLoaderSSC.cpp b/src/NotesLoaderSSC.cpp index ab7da6b480..59c7aed3ee 100644 --- a/src/NotesLoaderSSC.cpp +++ b/src/NotesLoaderSSC.cpp @@ -684,6 +684,8 @@ bool SSCLoader::LoadEditFromMsd( const MsdFile &msd, const RString &sEditFilePat Song* pSong = NULL; Steps* pNewNotes = NULL; bool bSSCFormat = false; + bool bHasOwnTiming = false; + TimingData stepsTiming; for( unsigned i=0; im_Timing = stepsTiming; + } pNewNotes->SetSMNoteData( sParams[1] ); pNewNotes->TidyUpData(); pSong->AddSteps( pNewNotes ); diff --git a/src/SongPosition.cpp b/src/SongPosition.cpp index f6e6afb35b..1a68e620a6 100644 --- a/src/SongPosition.cpp +++ b/src/SongPosition.cpp @@ -1,12 +1,3 @@ -/* - * SongPosition.cpp - * stepmania - * - * Created by [Full Username] on 5/10/11. - * Copyright 2011 [Organization Name]. All rights reserved. - * - */ - #include "SongPosition.h" void SongPosition::UpdateSongPosition( float fPositionSeconds, const TimingData &timing, const RageTimer ×tamp ) @@ -54,3 +45,31 @@ void SongPosition::UpdateSongPosition( float fPositionSeconds, const TimingData */ } + +/** + * @file + * @author Thai Pangsakulyanont (c) 2011 + * @section LICENSE + * 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 + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, and/or sell copies of the Software, and to permit persons to + * whom the Software is furnished to do so, provided that the above + * 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 + * THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS + * INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT + * OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS + * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR + * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + * PERFORMANCE OF THIS SOFTWARE. + */ + diff --git a/src/SongPosition.h b/src/SongPosition.h index 4571ca29d4..97d2d6fd3c 100644 --- a/src/SongPosition.h +++ b/src/SongPosition.h @@ -40,7 +40,7 @@ class SongPosition /** * @file - * @author Chris Danford, Glenn Maynard (c) 2001-2004 + * @author Thai Pangsakulyanont (c) 2011 * @section LICENSE * All rights reserved. *