- Added the phasing symbol and replaced the other symbols with the new one by Marc.

This commit is contained in:
Sloth
2011-10-02 13:50:41 +00:00
parent e0517070fd
commit dd710d5073
7 changed files with 5 additions and 0 deletions

1
.gitattributes vendored
View File

@@ -9335,6 +9335,7 @@ res/images/symbols-13/foil07.png -text svneol=unset#image/png
res/images/symbols-13/foil08.png -text svneol=unset#image/png
res/images/symbols-13/foil09.png -text svneol=unset#image/png
res/images/symbols-13/foil10.png -text svneol=unset#image/png
res/images/symbols-13/phasing.png -text
res/images/symbols-13/slash.png -text svneol=unset#image/png
res/images/symbols-13/summonsick.png -text svneol=unset#image/png
res/images/ui/HomeScreen/default_600/Main.jpg -text

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@@ -283,6 +283,9 @@ public class CardPanel extends JPanel implements CardContainer {
if (canDrawOverCard && getCard().isCreature() && getCard().hasSickness() && AllZoneUtil.isCardInPlay(getCard()))
ManaSymbols.drawSymbol("summonsick", g, cardXOffset + cardWidth / 2 - 16, cardYOffset + cardHeight - (cardHeight / 8) - 16);
if (canDrawOverCard && getCard().isPhasedOut())
ManaSymbols.drawSymbol("phasing", g, cardXOffset + cardWidth / 2 - 16, cardYOffset + cardHeight - (cardHeight / 8) - 16);
if (canDrawOverCard && getCard() != null) {
if (this.gameCard.getFoil() > 0) {
String fl = String.format("foil%02d", getCard().getFoil());

View File

@@ -28,6 +28,7 @@ public class ManaSymbols {
String[] symbols = new String[]{"0", "1", "10", "11", "12", "15", "16", "2", "20", "2W", "2U", "2R", "2G", "2B", "3",
"4", "5", "6", "7", "8", "9", "B", "BG", "BR", "G", "GU", "GW", "R", "RG", "RW", "S", "T", "U", "UB",
"UR", "W", "WB", "WU", "PW", "PU", "PB", "PR", "PG", "X", "Y", "Z", "slash", "attack", "defend", "summonsick",
"phasing",
"foil01","foil02","foil03","foil04","foil05","foil06","foil07","foil08","foil09","foil10"};
for (String symbol : symbols)
manaImages.put(symbol, UI.getImageIcon("res/images/symbols-13/" + symbol + ".png").getImage());