diff --git a/stepmania/src/NoteField.cpp b/stepmania/src/NoteField.cpp index ce117a82f9..fc569b7e26 100644 --- a/stepmania/src/NoteField.cpp +++ b/stepmania/src/NoteField.cpp @@ -110,7 +110,7 @@ void NoteField::DrawBeatBar( const float fBeat ) { m_rectMeasureBar.StretchTo( RectI(i,0,i+iSegWidth,0) ); m_rectMeasureBar.SetY( fYPos ); - m_rectMeasureBar.SetZoomY( bIsMeasure ? 6.f : 2.f ); + m_rectMeasureBar.SetZoomY( bIsMeasure ? 6.f : 3.f ); m_rectMeasureBar.SetDiffuse( RageColor(1,1,1,0.5f*fBrightness) ); m_rectMeasureBar.Draw(); @@ -297,6 +297,9 @@ void NoteField::DrawPrimitives() // draw in big batches. // + float fSelectedRangeGlow = SCALE( cosf(RageTimer::GetTimeSinceStart()*2), -1, 1, 0.1f, 0.3f ); + + for( int c=0; c @@ -200,25 +201,6 @@ ScreenEdit::ScreenEdit() m_pSong = GAMESTATE->m_pCurSong; m_pNotes = GAMESTATE->m_pCurNotes[PLAYER_1]; - - /* Make EditMenu responsible for creating new Notes */ - //if( m_pNotes == NULL ) - //{ - // m_pNotes = new Notes; - // m_pNotes->SetDifficulty(DIFFICULTY_MEDIUM); - // m_pNotes->m_NotesType = GAMESTATE->GetCurrentStyleDef()->m_NotesType; - // m_pNotes->SetDescription("Untitled"); - - // // In ScreenEditMenu, the screen preceding this one, - // // GAMEMAN->m_CurStyle is set to the target game style - // // of the current edit. Naturally, this is where we'll - // // want to extract the NotesType for a (NEW) sequence. - - // m_pSong->m_apNotes.push_back( m_pNotes ); - - // GAMESTATE->m_pCurNotes[PLAYER_1] = m_pNotes; - //} - NoteData noteData; @@ -232,9 +214,9 @@ ScreenEdit::ScreenEdit() GAMESTATE->m_fSongBeat = 0; m_fTrailingBeat = GAMESTATE->m_fSongBeat; - GAMESTATE->m_SongOptions.m_fMusicRate = 1; - GAMESTATE->m_PlayerOptions[PLAYER_1].m_fScrollSpeed = 1; + GAMESTATE->m_SongOptions.m_fMusicRate = 1; + NOTESKIN->SwitchNoteSkin( PLAYER_1, "note" ); // change noteskin before loading all of the edit Actors m_BGAnimation.LoadFromAniDir( THEME->GetPathTo("BGAnimations","edit") ); @@ -264,6 +246,9 @@ ScreenEdit::ScreenEdit() m_Clipboard.SetNumTracks( m_NoteFieldEdit.GetNumTracks() ); + + NOTESKIN->SwitchNoteSkin( PLAYER_1, "default" ); // change noteskin back to default before loading player + m_Player.Load( PLAYER_1, ¬eData, NULL, NULL ); m_Player.SetXY( PLAYER_X, PLAYER_Y );