COIN_ -> COIN_MODE_

This commit is contained in:
Chris Danford
2005-05-20 17:45:44 +00:00
parent b761f6abb0
commit 50717c6ee9
10 changed files with 32 additions and 20 deletions
+3 -3
View File
@@ -180,13 +180,13 @@ CString ScreenSystemLayer::GetCreditsMessage( PlayerNumber pn ) const
{
switch( GAMESTATE->GetCoinMode() )
{
case COIN_HOME:
case COIN_MODE_HOME:
if( GAMESTATE->PlayersCanJoin() )
return CREDITS_PRESS_START.GetValue();
else
return CREDITS_NOT_PRESENT.GetValue();
case COIN_PAY:
case COIN_MODE_PAY:
{
int Credits = GAMESTATE->m_iCoins / PREFSMAN->m_iCoinsPerCredit;
int Coins = GAMESTATE->m_iCoins % PREFSMAN->m_iCoinsPerCredit;
@@ -197,7 +197,7 @@ CString ScreenSystemLayer::GetCreditsMessage( PlayerNumber pn ) const
sCredits += ssprintf(" %d/%d", Coins, PREFSMAN->m_iCoinsPerCredit.Get() );
return sCredits;
}
case COIN_FREE:
case COIN_MODE_FREE:
if( GAMESTATE->PlayersCanJoin() )
return CREDITS_FREE_PLAY.GetValue();
else