images: fixed miss phyrexian mana symbol for Rage Extractor

This commit is contained in:
Oleg Agafonov 2024-07-31 22:05:52 +04:00
parent e1cffbde40
commit 1914313d6e
5 changed files with 8 additions and 6 deletions

View file

@ -81,13 +81,13 @@ public final class ManaSymbols {
"S", "T", "Q",
"U", "UB", "UR", "UP", "2U", "CU",
"W", "WB", "WU", "WP", "2W", "CW",
"X", "C", "E", "P",
"X", "C", "E", "P", "H",
"BGP", "BRP", "GUP", "GWP", "RGP", "RWP", "UBP", "URP", "WBP", "WUP"};
private static final JLabel labelRender = new JLabel(); // render mana text
public static void loadImages() {
logger.info("Loading symbols...");
logger.info("Symbols: loading...");
// TODO: delete files rename jpg->gif (it was for backward compatibility for one of the old version?)
renameSymbols(getResourceSymbolsPath(ResourceSymbolSize.SMALL));
@ -221,6 +221,8 @@ public final class ManaSymbols {
} catch (Exception e) {
}
}
logger.info("Symbols: done");
}
public static File getSymbolFileNameAsSVG(String symbol) {

View file

@ -35,7 +35,7 @@ public class GathererSymbols implements Iterable<DownloadJob> {
"2/W", "2/U", "2/B", "2/R", "2/G",
"C/W", "C/U", "C/B", "C/R", "C/G",
"WP", "UP", "BP", "RP", "GP",
"X", "S", "T", "Q", "C", "E", "H"};
"X", "S", "T", "Q", "C", "E", "H", "P"};
private static final int minNumeric = 0, maxNumeric = 16;
public GathererSymbols() {

View file

@ -48,7 +48,7 @@ public class ScryfallSymbolsSource implements Iterable<DownloadJob> {
"2/W", "2/U", "2/B", "2/R", "2/G",
"C/W", "C/U", "C/B", "C/R", "C/G",
"WP", "UP", "BP", "RP", "GP",
"X", "S", "T", "Q", "C", "E", "H"};
"X", "S", "T", "Q", "C", "E", "H", "P"};
@Override
public Iterator<DownloadJob> iterator() {