mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
Merge remote-tracking branch 'upstream/master' into collector-number-in-card-list-and-card-db-refactoring
This commit is contained in:
@@ -256,8 +256,10 @@ public class ImageCache {
|
||||
legalString = "Illus. " + ipc.getArtist() + " ©" + year + " WOTC";
|
||||
}
|
||||
FCardImageRenderer.drawCardImage(original.createGraphics(), card, altState, width, height, art, legalString);
|
||||
if (art != null || !fetcherEnabled)
|
||||
_CACHE.put(originalKey, original);
|
||||
// Skip store cache since the rendering speed seems to be fast enough
|
||||
// Also the scaleImage below will already cache re-sized image for CardPanel anyway
|
||||
// if (art != null || !fetcherEnabled)
|
||||
// _CACHE.put(originalKey, original);
|
||||
} else {
|
||||
original = _defaultImage;
|
||||
}
|
||||
|
||||
@@ -64,6 +64,7 @@ public class CardFaceSymbols {
|
||||
MANA_IMAGES.put("W", FSkin.getImage(FSkinProp.IMG_MANA_W));
|
||||
MANA_IMAGES.put("WB", FSkin.getImage(FSkinProp.IMG_MANA_HYBRID_WB));
|
||||
MANA_IMAGES.put("WU", FSkin.getImage(FSkinProp.IMG_MANA_HYBRID_WU));
|
||||
MANA_IMAGES.put("P", FSkin.getImage(FSkinProp.IMG_MANA_PHRYX));
|
||||
MANA_IMAGES.put("PW", FSkin.getImage(FSkinProp.IMG_MANA_PHRYX_W));
|
||||
MANA_IMAGES.put("PR", FSkin.getImage(FSkinProp.IMG_MANA_PHRYX_R));
|
||||
MANA_IMAGES.put("PU", FSkin.getImage(FSkinProp.IMG_MANA_PHRYX_U));
|
||||
|
||||
@@ -1405,6 +1405,7 @@ public class FSkin {
|
||||
addEncodingSymbol("2/B", FSkinProp.IMG_MANA_2B);
|
||||
addEncodingSymbol("2/R", FSkinProp.IMG_MANA_2R);
|
||||
addEncodingSymbol("2/G", FSkinProp.IMG_MANA_2G);
|
||||
addEncodingSymbol("P", FSkinProp.IMG_MANA_PHRYX);
|
||||
addEncodingSymbol("P/W", FSkinProp.IMG_MANA_PHRYX_W);
|
||||
addEncodingSymbol("P/U", FSkinProp.IMG_MANA_PHRYX_U);
|
||||
addEncodingSymbol("P/B", FSkinProp.IMG_MANA_PHRYX_B);
|
||||
|
||||
Reference in New Issue
Block a user