From f988e6d38f9941792d2785319cad412a2c39ac8d Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Sat, 3 Jun 2006 23:13:22 +0000 Subject: [PATCH] delay 0.5s before showing abort or give up --- stepmania/src/ScreenGameplay.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stepmania/src/ScreenGameplay.cpp b/stepmania/src/ScreenGameplay.cpp index b7ecbf594a..7ebb607277 100644 --- a/stepmania/src/ScreenGameplay.cpp +++ b/stepmania/src/ScreenGameplay.cpp @@ -2138,6 +2138,7 @@ void ScreenGameplay::Input( const InputEventPlus &input ) m_textDebug.SetText( GIVE_UP_START_TEXT ); m_textDebug.StopTweening(); m_textDebug.SetDiffuse( RageColor(1,1,1,0) ); + m_textDebug.Sleep( 0.5f ); m_textDebug.BeginTweening( 1/8.f ); m_textDebug.SetDiffuse( RageColor(1,1,1,1) ); m_GiveUpTimer.Touch(); /* start the timer */ @@ -2162,6 +2163,7 @@ void ScreenGameplay::Input( const InputEventPlus &input ) m_textDebug.SetText( GIVE_UP_BACK_TEXT ); m_textDebug.StopTweening(); m_textDebug.SetDiffuse( RageColor(1,1,1,0) ); + m_textDebug.Sleep( 0.5f ); m_textDebug.BeginTweening( 1/8.f ); m_textDebug.SetDiffuse( RageColor(1,1,1,1) ); }