StyleType enum name cleanup

This commit is contained in:
Chris Danford
2007-02-22 06:56:17 +00:00
parent 93e93a0fa6
commit 491ab6eaf5
9 changed files with 71 additions and 71 deletions
+3 -3
View File
@@ -238,7 +238,7 @@ void Player::Init(
//
LuaReference expr = THEME->GetMetricR( sType,"JudgmentTransformCommandFunction" );
bool bPlayerUsingBothSides = GAMESTATE->GetCurrentStyle()->m_StyleType==ONE_PLAYER_TWO_SIDES;
bool bPlayerUsingBothSides = GAMESTATE->GetCurrentStyle()->m_StyleType==StyleType_OnePlayerTwoSides;
Actor temp;
int iEnabledPlayerIndex = -1;
@@ -502,7 +502,7 @@ void Player::Load()
}
const bool bReverse = m_pPlayerState->m_PlayerOptions.GetStage().GetReversePercentForColumn( 0 ) == 1;
bool bPlayerUsingBothSides = GAMESTATE->GetCurrentStyle()->m_StyleType==ONE_PLAYER_TWO_SIDES;
bool bPlayerUsingBothSides = GAMESTATE->GetCurrentStyle()->m_StyleType==StyleType_OnePlayerTwoSides;
if( m_pCombo )
{
m_pCombo->SetX( COMBO_X.GetValue(pn, bPlayerUsingBothSides) );
@@ -1025,7 +1025,7 @@ void Player::DrawPrimitives()
PlayerNumber pn = m_pPlayerState->m_PlayerNumber;
// May have both players in doubles (for battle play); only draw primary player.
if( GAMESTATE->GetCurrentStyle()->m_StyleType == ONE_PLAYER_TWO_SIDES &&
if( GAMESTATE->GetCurrentStyle()->m_StyleType == StyleType_OnePlayerTwoSides &&
pn != GAMESTATE->m_MasterPlayerNumber )
return;