remove unused variables

This commit is contained in:
Glenn Maynard
2002-09-07 10:22:21 +00:00
parent e2e5cdeb65
commit 77de4c66e8
5 changed files with 6 additions and 9 deletions
-1
View File
@@ -46,7 +46,6 @@ float ArrowGetYOffset( PlayerNumber pn, float fNoteBeat )
float ArrowGetXPos( PlayerNumber pn, int iColNum, float fYPos )
{
float fSongBeat = GAMESTATE->m_fSongBeat;
float fPixelOffsetFromCenter = GAMESTATE->GetCurrentStyleDef()->m_ColumnInfo[pn][iColNum].fXOffset;
if( GAMESTATE->m_PlayerOptions[pn].m_EffectType & PlayerOptions::EFFECT_DRUNK )
+1 -1
View File
@@ -100,7 +100,7 @@ void GradeDisplay::SpinAndSettleOn( Grade g )
SetDiffuse( D3DXCOLOR(1,1,1,1) );
int iFrameNo;
int iFrameNo=0;
switch( g )
{
case GRADE_AAA: iFrameNo = 0; break;
+1 -3
View File
@@ -74,9 +74,7 @@ void LifeMeterBar::Load( PlayerNumber pn )
void LifeMeterBar::ChangeLife( TapNoteScore score )
{
bool bWasHot = IsHot();
float fDeltaLife;
float fDeltaLife=0.f;
switch( GAMESTATE->m_SongOptions.m_DrainType )
{
case SongOptions::DRAIN_NORMAL:
+3 -3
View File
@@ -117,8 +117,8 @@ void NoteDisplay::GetTapEdgeColors( const float fNoteBeat, D3DXCOLOR &colorLeadi
float fPercentThroughColorsLeading; // fill these in below
float fPercentThroughColorsTrailing;
float fPercentThroughColorsLeading=0.f; // fill these in below
float fPercentThroughColorsTrailing=0.f;
switch( ct )
{
case PlayerOptions::COLOR_VIVID:
@@ -192,7 +192,7 @@ void NoteDisplay::DrawHold( const HoldNote& hn, const bool bActive, const float
const float fYTailBottom = fYTail+fFrameHeight/2;
const float fYBodyTop = fYHead; // middle of head
const float fYBodyBottom = fYTailTop; // top of tail
// const float fYBodyBottom = fYTailTop; // top of tail
const int fYStep = 8; // draw a segment every 8 pixels // this requires that the texture dimensions be a multiple of 8
+1 -1
View File
@@ -52,7 +52,7 @@ void TransitionRectWipe::DrawPrimitives()
// draw all rectangles
for( int i=0; i<NUM_RECTANGLES; i++ )
{
int iRectX = (int)(RECTANGLE_WIDTH * (i+0.5));
// int iRectX = (int)(RECTANGLE_WIDTH * (i+0.5));
int iRectWidth;
if( i < iFadeLeftEdge )