* Split constants file to have them in a single place.
This commit is contained in:
jean.chalard
2009-01-06 13:07:28 +00:00
parent 9024cf7cf5
commit 3bb2c431c9
33 changed files with 512 additions and 597 deletions
+5 -5
View File
@@ -52,19 +52,19 @@ int PriceList::getPrice(int cardId){
}
char rarity = collection->getCardById(cardId)->getRarity();
switch(rarity){
case RARITY_M:
case Constants::RARITY_M:
return 3000;
break;
case RARITY_R:
case Constants::RARITY_R:
return 500;
break;
case RARITY_U:
case Constants::RARITY_U:
return 100;
break;
case RARITY_C:
case Constants::RARITY_C:
return 20;
break;
case RARITY_L:
case Constants::RARITY_L:
return 5;
break;
default: