more of the same

This commit is contained in:
Glenn Maynard
2002-11-16 08:54:15 +00:00
parent e587b3a012
commit 397bd8b734
4 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -363,4 +363,4 @@ void BitmapText::DrawPrimitives()
DISPLAY->DrawQuads( v, iNumV );
}
}
}
+3 -2
View File
@@ -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 );
}
}
+3 -2
View File
@@ -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 );
+1 -1
View File
@@ -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;
}
}