added new image for missing card

master
melvin 2011-06-21 09:58:22 +08:00
parent 78c08d2f73
commit ab9a434791
5 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,5 @@
syntax: glob
crash/*
data/*
build/*
ref/*
launch4j/*

View File

@ -124,3 +124,6 @@ decks/td_%.dec: scripts/dailyhtml2dec.awk
ref/rules.txt:
curl http://www.wizards.com/magic/comprules/MagicCompRules_20110617.txt | fmt -s > $@
flip -u $@
resources/magic/data/icons/missing_card.png:
convert -background white -size 312x445 -pointsize 30 label:'No card image found\n\nSelect\n\"Download images\"\nfrom Arena menu\n\nOR\n\nSwitch to text mode\nusing the Enter key' $@

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View File

@ -53,7 +53,7 @@ public class HighQualityCardImagesProvider implements CardImagesProvider {
inputStream.close();
return fullImage;
} catch (final Exception ex) {
return IconImages.MISSING;
return IconImages.MISSING_CARD;
}
}

View File

@ -34,6 +34,7 @@ public class IconImages {
*/
public static final BufferedImage MISSING=loadImage("icons/missing.png");
public static final BufferedImage MISSING_CARD=loadImage("icons/missing_card.png");
public static final ImageIcon MISSING2=loadIcon("missing2.png");
public static final BufferedImage LOGO=loadImage("textures/logo.jpg");