From 3c2d57508e7ad0017eb661a930888dfa85deeb0a Mon Sep 17 00:00:00 2001 From: "wagic.jeck" Date: Tue, 9 Feb 2010 17:13:49 +0000 Subject: [PATCH] Jeck - Increased shop "text list" fade-in time, changed alternateRender to display "Land" rarity as well as common-mythic. --- projects/mtg/include/GameStateShop.h | 2 +- projects/mtg/src/CardGui.cpp | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/projects/mtg/include/GameStateShop.h b/projects/mtg/include/GameStateShop.h index 07e05bed6..e41b1f523 100644 --- a/projects/mtg/include/GameStateShop.h +++ b/projects/mtg/include/GameStateShop.h @@ -25,7 +25,7 @@ #define SHOP_SLOTS 11 #define SHOP_ITEMS SHOP_SLOTS+1 -#define LIST_FADEIN 11 +#define LIST_FADEIN 15 struct ShopBooster{ MTGSetInfo * mainSet; diff --git a/projects/mtg/src/CardGui.cpp b/projects/mtg/src/CardGui.cpp index 54246285a..987f29537 100644 --- a/projects/mtg/src/CardGui.cpp +++ b/projects/mtg/src/CardGui.cpp @@ -301,6 +301,9 @@ void CardGui::alternateRender(MTGCard * card, const Pos& pos){ case Constants::RARITY_C: sprintf(buf,_("%s Common").c_str(),setlist[card->setId].c_str()); break; + case Constants::RARITY_L: + sprintf(buf,_("%s Land").c_str(),setlist[card->setId].c_str()); + break; default: sprintf(buf,"%s",setlist[card->setId].c_str()); break;