remove unused variables
This commit is contained in:
@@ -46,7 +46,6 @@ float ArrowGetYOffset( PlayerNumber pn, float fNoteBeat )
|
|||||||
|
|
||||||
float ArrowGetXPos( PlayerNumber pn, int iColNum, float fYPos )
|
float ArrowGetXPos( PlayerNumber pn, int iColNum, float fYPos )
|
||||||
{
|
{
|
||||||
float fSongBeat = GAMESTATE->m_fSongBeat;
|
|
||||||
float fPixelOffsetFromCenter = GAMESTATE->GetCurrentStyleDef()->m_ColumnInfo[pn][iColNum].fXOffset;
|
float fPixelOffsetFromCenter = GAMESTATE->GetCurrentStyleDef()->m_ColumnInfo[pn][iColNum].fXOffset;
|
||||||
|
|
||||||
if( GAMESTATE->m_PlayerOptions[pn].m_EffectType & PlayerOptions::EFFECT_DRUNK )
|
if( GAMESTATE->m_PlayerOptions[pn].m_EffectType & PlayerOptions::EFFECT_DRUNK )
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ void GradeDisplay::SpinAndSettleOn( Grade g )
|
|||||||
|
|
||||||
SetDiffuse( D3DXCOLOR(1,1,1,1) );
|
SetDiffuse( D3DXCOLOR(1,1,1,1) );
|
||||||
|
|
||||||
int iFrameNo;
|
int iFrameNo=0;
|
||||||
switch( g )
|
switch( g )
|
||||||
{
|
{
|
||||||
case GRADE_AAA: iFrameNo = 0; break;
|
case GRADE_AAA: iFrameNo = 0; break;
|
||||||
|
|||||||
@@ -74,9 +74,7 @@ void LifeMeterBar::Load( PlayerNumber pn )
|
|||||||
|
|
||||||
void LifeMeterBar::ChangeLife( TapNoteScore score )
|
void LifeMeterBar::ChangeLife( TapNoteScore score )
|
||||||
{
|
{
|
||||||
bool bWasHot = IsHot();
|
float fDeltaLife=0.f;
|
||||||
|
|
||||||
float fDeltaLife;
|
|
||||||
switch( GAMESTATE->m_SongOptions.m_DrainType )
|
switch( GAMESTATE->m_SongOptions.m_DrainType )
|
||||||
{
|
{
|
||||||
case SongOptions::DRAIN_NORMAL:
|
case SongOptions::DRAIN_NORMAL:
|
||||||
|
|||||||
@@ -117,8 +117,8 @@ void NoteDisplay::GetTapEdgeColors( const float fNoteBeat, D3DXCOLOR &colorLeadi
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
float fPercentThroughColorsLeading; // fill these in below
|
float fPercentThroughColorsLeading=0.f; // fill these in below
|
||||||
float fPercentThroughColorsTrailing;
|
float fPercentThroughColorsTrailing=0.f;
|
||||||
switch( ct )
|
switch( ct )
|
||||||
{
|
{
|
||||||
case PlayerOptions::COLOR_VIVID:
|
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 fYTailBottom = fYTail+fFrameHeight/2;
|
||||||
|
|
||||||
const float fYBodyTop = fYHead; // middle of head
|
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
|
const int fYStep = 8; // draw a segment every 8 pixels // this requires that the texture dimensions be a multiple of 8
|
||||||
|
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ void TransitionRectWipe::DrawPrimitives()
|
|||||||
// draw all rectangles
|
// draw all rectangles
|
||||||
for( int i=0; i<NUM_RECTANGLES; i++ )
|
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;
|
int iRectWidth;
|
||||||
|
|
||||||
if( i < iFadeLeftEdge )
|
if( i < iFadeLeftEdge )
|
||||||
|
|||||||
Reference in New Issue
Block a user