Little() now removes HoldNotes that don't start on a beat

This commit is contained in:
Chris Danford
2003-02-25 08:07:56 +00:00
parent 1fca3d67c5
commit d77d1cc43c
6 changed files with 21 additions and 27 deletions
+6 -8
View File
@@ -19,16 +19,14 @@
#include "RageLog.h"
#define STEP_SECONDS THEME->GetMetricF("GrayArrow","StepSeconds")
#define STEP_ZOOM THEME->GetMetricF("GrayArrow","StepZoom")
float g_fStepSeconds, g_fStepZoom;
CachedThemeMetric GR_STEP_SECONDS ("GrayArrow","StepSeconds");
CachedThemeMetric GR_STEP_ZOOM ("GrayArrow","StepZoom");
GrayArrow::GrayArrow()
{
g_fStepSeconds = STEP_SECONDS;
g_fStepZoom = STEP_ZOOM;
GR_STEP_SECONDS.Refresh();
GR_STEP_ZOOM.Refresh();
StopAnimating();
}
@@ -72,8 +70,8 @@ void GrayArrow::Update( float fDeltaTime )
void GrayArrow::Step()
{
SetZoom( g_fStepZoom );
SetZoom( GR_STEP_ZOOM );
StopTweening();
BeginTweening( g_fStepSeconds );
BeginTweening( GR_STEP_SECONDS );
SetTweenZoom( 1 );
}