mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
Merge branch 'master' into 'master'
[Mobile] added "Art" Border Masking Option & Card BG Textures See merge request core-developers/forge!5278
This commit is contained in:
BIN
forge-gui/res/skins/default/sprite_cardbg.png
Normal file
BIN
forge-gui/res/skins/default/sprite_cardbg.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.7 MiB |
@@ -256,7 +256,8 @@ public class DeckProxy implements InventoryItem {
|
||||
|
||||
for (final Entry <PaperCard, Integer> pc : getDeck().getAllCardsInASinglePool()) {
|
||||
if (pc.getKey().getRules().getManaCost() != null) {
|
||||
if (pc.getKey().getRules().getSplitType() != CardSplitType.Split)
|
||||
if (pc.getKey().getRules().getType().hasSubtype("Saga") || pc.getKey().getRules().getType().hasSubtype("Class") || CardSplitType.Split.equals(pc.getKey().getRules().getSplitType()))
|
||||
continue;
|
||||
keyCMC.put(pc.getKey(),pc.getKey().getRules().getManaCost().getCMC());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -122,6 +122,7 @@ public final class ForgeConstants {
|
||||
public static final String SPRITE_PLANAR_CONQUEST_FILE = "sprite_planar_conquest.png";
|
||||
public static final String SPRITE_SETLOGO_FILE = "sprite_setlogo.png";
|
||||
public static final String SPRITE_WATERMARK_FILE = "sprite_watermark.png";
|
||||
public static final String SPRITE_CARDBG_FILE = "sprite_cardbg.png";
|
||||
public static final String FONT_FILE = "font1.ttf";
|
||||
public static final String SPLASH_BG_FILE = "bg_splash.png";
|
||||
public static final String MATCH_BG_FILE = "bg_match.jpg";
|
||||
|
||||
@@ -410,6 +410,28 @@ public enum FSkinProp {
|
||||
IMG_WATERMARK_W (new int[] {2, 1006, 500, 500}, PropType.WATERMARKS),
|
||||
IMG_WATERMARK_C (new int[] {504, 1006, 500, 500}, PropType.WATERMARKS),
|
||||
|
||||
//FOR CARDBG
|
||||
IMG_CARDBG_A (new int[] {2, 2, 339, 496}, PropType.CARDBG),
|
||||
IMG_CARDBG_B (new int[] {343, 2, 339, 496}, PropType.CARDBG),
|
||||
IMG_CARDBG_BG (new int[] {684, 2, 339, 496}, PropType.CARDBG),
|
||||
IMG_CARDBG_BR (new int[] {1025, 2, 339, 496}, PropType.CARDBG),
|
||||
IMG_CARDBG_C (new int[] {1366, 2, 339, 496}, PropType.CARDBG),
|
||||
IMG_CARDBG_G (new int[] {2, 500, 339, 496}, PropType.CARDBG),
|
||||
IMG_CARDBG_L (new int[] {343, 500, 339, 496}, PropType.CARDBG),
|
||||
IMG_CARDBG_M (new int[] {684, 500, 339, 496}, PropType.CARDBG),
|
||||
IMG_CARDBG_R (new int[] {1025, 500, 339, 496}, PropType.CARDBG),
|
||||
IMG_CARDBG_RG (new int[] {1366, 500, 339, 496}, PropType.CARDBG),
|
||||
IMG_CARDBG_U (new int[] {2, 998, 339, 496}, PropType.CARDBG),
|
||||
IMG_CARDBG_UB (new int[] {343, 998, 339, 496}, PropType.CARDBG),
|
||||
IMG_CARDBG_UG (new int[] {684, 998, 339, 496}, PropType.CARDBG),
|
||||
IMG_CARDBG_UR (new int[] {1025, 998, 339, 496}, PropType.CARDBG),
|
||||
IMG_CARDBG_V (new int[] {1366, 998, 339, 496}, PropType.CARDBG),
|
||||
IMG_CARDBG_W (new int[] {2, 1496, 339, 496}, PropType.CARDBG),
|
||||
IMG_CARDBG_WB (new int[] {343, 1496, 339, 496}, PropType.CARDBG),
|
||||
IMG_CARDBG_WG (new int[] {684, 1496, 339, 496}, PropType.CARDBG),
|
||||
IMG_CARDBG_WR (new int[] {1025, 1496, 339, 496}, PropType.CARDBG),
|
||||
IMG_CARDBG_WU (new int[] {1366, 1496, 339, 496}, PropType.CARDBG),
|
||||
|
||||
IMG_FAV1 (new int[] {0, 0, 100, 100}, PropType.FAVICON),
|
||||
IMG_FAV2 (new int[] {100, 0, 100, 100}, PropType.FAVICON),
|
||||
IMG_FAV3 (new int[] {200, 0, 100, 100}, PropType.FAVICON),
|
||||
@@ -514,6 +536,7 @@ public enum FSkinProp {
|
||||
DECKBOX,
|
||||
SETLOGO,
|
||||
WATERMARKS,
|
||||
CARDBG,
|
||||
FAVICON
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user