Added assist tick and text field editing to editor. Cleaned up more theme metrics stuff.

This commit is contained in:
Chris Danford
2002-08-29 04:56:03 +00:00
parent 5fb403639f
commit 6d7da107f3
10 changed files with 186 additions and 107 deletions
+7 -4
View File
@@ -51,19 +51,22 @@ GhostArrow::GhostArrow()
SetDiffuseColor( D3DXCOLOR(1,1,1,0) );
// set the length of each frame so the animation plays in exactly 1 pop up time
for( int i=0; i<Sprite::GetNumStates(); i++ )
Sprite::m_fDelay[i] = g_fShowSeconds / (float)Sprite::GetNumStates();
}
void GhostArrow::Update( float fDeltaTime )
{
Sprite::Update( fDeltaTime );
printf( "cur state is %d\n", Sprite::m_iCurState );
}
void GhostArrow::Step( TapNoteScore score )
{
// HACK: set the length of each frame so the animation plays in exactly 1 pop up time.
// We can't do this in the constructor because the image hasn't been loaded yet
for( int i=0; i<Sprite::GetNumStates(); i++ )
Sprite::m_fDelay[i] = g_fShowSeconds / (float)Sprite::GetNumStates();
D3DXCOLOR colorStart, colorEnd;
switch( score )
{