localize sync overlay help

This commit is contained in:
Chris Danford
2006-03-18 23:18:34 +00:00
parent 036935282e
commit 116c8cd1b0
2 changed files with 22 additions and 10 deletions
@@ -1259,6 +1259,11 @@ Song offset from %+.3f to %+.3f (notes %s)=Song offset from %+.3f to %+.3f (note
Sync changes reverted.=Sync changes reverted.
earlier=earlier
later=later
Revert sync changes=Revert sync changes
Current BPM - smaller/larger=Current BPM - smaller/larger
Song offset - notes earlier/later=Song offset - notes earlier/later
Machine offset - notes earlier/later=Machine offset - notes earlier/later
(hold Alt for smaller increment)=(hold Alt for smaller increment)
[ScreenSystemLayer]
CreditsCardChanged=CARD SWITCHED
@@ -1605,3 +1610,4 @@ Delete beat and shift up=Delete beat and shift up
Shift BPM changes and stops up one beat=Shift BPM changes and stops up one beat
Lay mine=Lay mine
Add to/remove from right half=Add to/remove from right half
+16 -10
View File
@@ -16,6 +16,12 @@ static bool IsGameplay()
REGISTER_SCREEN_CLASS( ScreenSyncOverlay );
static LocalizedString REVERT_SYNC_CHANGES ( "ScreenSyncOverlay", "Revert sync changes" );
static LocalizedString CURRENT_BPM ( "ScreenSyncOverlay", "Current BPM - smaller/larger" );
static LocalizedString SONG_OFFSET ( "ScreenSyncOverlay", "Song offset - notes earlier/later" );
static LocalizedString MACHINE_OFFSET ( "ScreenSyncOverlay", "Machine offset - notes earlier/later" );
static LocalizedString HOLD_ALT ( "ScreenSyncOverlay", "(hold Alt for smaller increment)" );
void ScreenSyncOverlay::Init()
{
Screen::Init();
@@ -32,15 +38,15 @@ void ScreenSyncOverlay::Init()
m_textHelp.SetZoom( 0.6f );
m_textHelp.SetShadowLength( 2 );
m_textHelp.SetText(
"Revert sync changes:\n"
" F4\n"
"Current BPM - smaller/larger:\n"
" F9/F10\n"
"Song offset - notes earlier/later:\n"
" F11/F12\n"
"Machine offset - notes earlier/later:\n"
" Shift + F11/F12\n"
"(hold Alt for smaller increment)" );
REVERT_SYNC_CHANGES.GetValue()+":\n"
" F4\n" +
CURRENT_BPM.GetValue()+":\n"
" F9/F10\n" +
CURRENT_BPM.GetValue()+":\n"
" F11/F12\n" +
MACHINE_OFFSET.GetValue()+":\n"
" Shift + F11/F12\n" +
HOLD_ALT.GetValue() );
this->AddChild( &m_textHelp );
m_quad.ZoomToWidth( m_textHelp.GetZoomedWidth()+20 );
@@ -238,7 +244,7 @@ bool ScreenSyncOverlay::OverlayInput( const InputEventPlus &input )
}
switch( input.type )
{
case IET_RELEASE: fDelta *= 0; break;
case IET_RELEASE: fDelta *= 0; break;
case IET_SLOW_REPEAT: fDelta *= 0; break;
case IET_FAST_REPEAT: fDelta *= 10; break;
}