diff --git a/Docs/Changelog_sm5.txt b/Docs/Changelog_sm5.txt index 995287f8f5..f01dfec96c 100644 --- a/Docs/Changelog_sm5.txt +++ b/Docs/Changelog_sm5.txt @@ -8,6 +8,10 @@ ________________________________________________________________________________ StepMania 5.0 Preview 3 | 20110??? -------------------------------------------------------------------------------- +2011/08/04 +---------- +* [NoteTypes, ScreenEdit] Removed artificial MAX_NOTES_PER_MEASURE limit. [AJ] + 2011/08/02 ---------- * [NotesSSC] Only write timing/attack tags for the step if there is a diff --git a/Themes/_fallback/Languages/en.ini b/Themes/_fallback/Languages/en.ini index 21b3fa55dc..e9d015f4e8 100644 --- a/Themes/_fallback/Languages/en.ini +++ b/Themes/_fallback/Languages/en.ini @@ -1,4 +1,4 @@ -[Common] +[Common] WindowTitle=StepMania StepMania=StepMania @@ -2175,7 +2175,7 @@ Oriya=Oriya Punjabi=Punjabi Polish=Polski Pashto=پښتو -Portuguese=português +Portuguese=Português Quechua=Quechua Rhaeto-Romance=Rhaeto-Romance Kirundi=Kirundi diff --git a/src/NoteTypes.h b/src/NoteTypes.h index 7339ec1292..5f430f3c72 100644 --- a/src/NoteTypes.h +++ b/src/NoteTypes.h @@ -257,13 +257,6 @@ const int MAX_NOTE_TRACKS = 16; * Is this a recommended course of action? -Wolfman2000 */ const int ROWS_PER_BEAT = 48; -/** - * @brief Enforce a maximum number of notes per measure in the step editor. - * - * TODO: See if there is a way to de-hard-code this number. - */ -const int MAX_NOTES_PER_MEASURE = 50; - /** @brief The max number of rows allowed for a Steps pattern. */ const int MAX_NOTE_ROW = (1<<30); diff --git a/src/PaneDisplay.cpp b/src/PaneDisplay.cpp index 0e3a82ca4c..4761dd1b8e 100644 --- a/src/PaneDisplay.cpp +++ b/src/PaneDisplay.cpp @@ -124,9 +124,9 @@ void PaneDisplay::SetContent( PaneCategory c ) const Profile *pProfile = PROFILEMAN->IsPersistentProfile(m_PlayerNumber) ? PROFILEMAN->GetProfile(m_PlayerNumber) : NULL; bool bIsPlayerEdit = pSteps && pSteps->IsAPlayerEdit(); - // Note: in SM3.9, all values would get set to a "?" if the current - // selection (pSong/pCourse, in this case) is invalid. In sm-ssc, we use - // the falback values (everything is blank). + // Note: In SM3.9, all values would get set to a "?" if the current + // selection (pSong/pCourse, in this case) is invalid. + // We use fallback values (everything is blank). // TODO: add a theme option to use a similar behavior. -aj if(GAMESTATE->IsCourseMode() && !pTrail) diff --git a/src/ScreenEdit.cpp b/src/ScreenEdit.cpp index 0676400bfa..aa325b842f 100644 --- a/src/ScreenEdit.cpp +++ b/src/ScreenEdit.cpp @@ -4992,7 +4992,6 @@ void ScreenEdit::ClearUndo() } static LocalizedString CREATES_MORE_THAN_NOTES ( "ScreenEdit", "This change creates more than %d notes in a measure." ); -static LocalizedString MORE_THAN_NOTES ( "ScreenEdit", "More than %d notes per measure is not allowed. This change has been reverted." ); static LocalizedString CREATES_NOTES_PAST_END ( "ScreenEdit", "This change creates notes past the end of the music and is not allowed." ); static LocalizedString CHANGE_REVERTED ( "ScreenEdit", "The change has been reverted." ); void ScreenEdit::CheckNumberOfNotesAndUndo() @@ -5008,14 +5007,6 @@ void ScreenEdit::CheckNumberOfNotesAndUndo() int iNumNotesThisMeasure = 0; FOREACH_NONEMPTY_ROW_ALL_TRACKS_RANGE( m_NoteDataEdit, r, row, row+rowsPerMeasure ) iNumNotesThisMeasure += m_NoteDataEdit.GetNumTapNonEmptyTracks( r ); - if( iNumNotesThisMeasure > MAX_NOTES_PER_MEASURE ) - { - Undo(); - m_bHasUndo = false; - RString sError = ssprintf( CREATES_MORE_THAN_NOTES.GetValue() + "\n\n" + MORE_THAN_NOTES.GetValue(), MAX_NOTES_PER_MEASURE, MAX_NOTES_PER_MEASURE ); - ScreenPrompt::Prompt( SM_None, sError ); - return; - } } if( GAMESTATE->m_pCurSteps[0]->IsAnEdit() )