[splittiming] Prepare the editor.

This commit is contained in:
Jason Felds
2011-05-16 10:56:00 -04:00
parent 1f7389a7a4
commit fc72f2de90
2 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -1231,7 +1231,7 @@ Enter a new Time Signature denominator value.=Enter the note value that represen
Enter a new Tickcount value.=Enter a new Tickcount value. Enter a new Tickcount value.=Enter a new Tickcount value.
Enter a new Combo value.=Enter a new Combo value. Enter a new Combo value.=Enter a new Combo value.
Enter a new Label value.=Enter a name for this section of the chart. Enter a new Label value.=Enter a name for this section of the chart.
Enter a new Warp value.=Enter the beat you will warp to when you reach this point. Enter a new Warp value.=Enter the number of beats you will warp over.
Enter a new Speed percent value.=Enter the ratio for speed scrolling.\n\n1 is the default scroll. Enter a new Speed percent value.=Enter the ratio for speed scrolling.\n\n1 is the default scroll.
Enter a new Speed wait value.=Enter how long in seconds/beats it takes to change.\n\n0 is instant. Enter a new Speed wait value.=Enter how long in seconds/beats it takes to change.\n\n0 is instant.
Enter a new Speed mode value.=Enter how this segment is handled.\n\nType "0" for beats, "1" for seconds. Enter a new Speed mode value.=Enter how this segment is handled.\n\nType "0" for beats, "1" for seconds.
+3
View File
@@ -2763,9 +2763,12 @@ void ScreenEdit::HandleScreenMessage( const ScreenMessage SM )
else if ( SM == SM_BackFromWarpChange ) else if ( SM == SM_BackFromWarpChange )
{ {
float fWarp = StringToFloat( ScreenTextEntry::s_sLastAnswer ); float fWarp = StringToFloat( ScreenTextEntry::s_sLastAnswer );
if( fWarp > 0 )
{
GetAppropriateTiming().SetWarpAtBeat( GetBeat(), fWarp ); GetAppropriateTiming().SetWarpAtBeat( GetBeat(), fWarp );
SetDirty( true ); SetDirty( true );
} }
}
else if( SM == SM_BackFromSpeedPercentChange ) else if( SM == SM_BackFromSpeedPercentChange )
{ {
float fNum = StringToFloat( ScreenTextEntry::s_sLastAnswer ); float fNum = StringToFloat( ScreenTextEntry::s_sLastAnswer );