moved PlayerNumber into a separate header to reduce dependences on GameConstantsAndTypes.h

default mappings for menu buttons
items in battle now have a duration
fix VC6 compile errors
This commit is contained in:
Chris Danford
2003-02-26 00:20:00 +00:00
parent ad40c01161
commit 22ef6c358b
46 changed files with 417 additions and 132 deletions
+2 -11
View File
@@ -26,15 +26,12 @@ SnapDisplay::SnapDisplay()
for( i=0; i<2; i++ )
{
m_sprIndicators[i].Load( THEME->GetPathTo("Graphics","edit snap indicator") );
ASSERT( m_sprIndicators[i].GetNumStates() == NUM_NOTE_TYPES );
this->AddChild( &m_sprIndicators[i] );
}
m_NoteType = NOTE_TYPE_4TH;
RageColor color = NoteTypeToColor( m_NoteType );
for( i=0; i<2; i++ )
m_sprIndicators[i].SetDiffuse( color );
m_iNumCols = 0;
}
@@ -71,12 +68,6 @@ bool SnapDisplay::NextSnapMode()
void SnapDisplay::SnapModeChanged()
{
RageColor color = NoteTypeToColor( m_NoteType );
for( int i=0; i<2; i++ )
{
m_sprIndicators[i].StopTweening();
m_sprIndicators[i].BeginTweening( 0.3f );
m_sprIndicators[i].SetTweenDiffuse( color );
}
m_sprIndicators[i].SetState( m_NoteType );
}