more of the same
This commit is contained in:
@@ -363,4 +363,4 @@ void BitmapText::DrawPrimitives()
|
||||
DISPLAY->DrawQuads( v, iNumV );
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -53,11 +53,12 @@ void FootMeter::SetFromNotes( Notes* pNotes )
|
||||
void FootMeter::SetNumFeet( int iNumFeet )
|
||||
{
|
||||
CString sNewText;
|
||||
for( int f=0; f<NUM_FEET_IN_METER; f++ )
|
||||
int f;
|
||||
for( f=0; f<NUM_FEET_IN_METER; f++ )
|
||||
sNewText += (f<iNumFeet) ? "1" : "0";
|
||||
for( f=NUM_FEET_IN_METER; f<=13; f++ )
|
||||
if( f<iNumFeet )
|
||||
sNewText += "1";
|
||||
|
||||
SetText( sNewText );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -41,8 +41,9 @@ MenuInput GameDef::GameInputToMenuInput( GameInput GameI ) const
|
||||
default:
|
||||
ASSERT(0); return MenuInput(); // invalid m_StyleType
|
||||
};
|
||||
|
||||
for( int i=0; i<NUM_MENU_BUTTONS; i++ )
|
||||
|
||||
int i;
|
||||
for( i=0; i<NUM_MENU_BUTTONS; i++ )
|
||||
if( m_DedicatedMenuButton[i] == GameI.button )
|
||||
return MenuInput( pn, (MenuButton)i );
|
||||
|
||||
|
||||
@@ -349,4 +349,4 @@ Grade GameState::GetCurrentGrade( PlayerNumber pn )
|
||||
else if( fPercentDancePoints >= 0.65 ) return GRADE_B;
|
||||
else if( fPercentDancePoints >= 0.45 ) return GRADE_C;
|
||||
else return GRADE_D;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user