Update Equinox frame

This commit is contained in:
Josh birnholz
2023-05-11 20:00:40 -04:00
parent 5be0fb3fc2
commit dcffc785bd
83 changed files with 146 additions and 38 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.3 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 929 KiB

After

Width:  |  Height:  |  Size: 989 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.3 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 869 KiB

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 719 KiB

After

Width:  |  Height:  |  Size: 870 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.7 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 870 KiB

After

Width:  |  Height:  |  Size: 1004 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.3 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 895 KiB

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1020 KiB

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 617 B

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 944 KiB

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 942 KiB

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.3 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.9 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1021 KiB

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.0 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.7 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 679 B

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -43,7 +43,9 @@ const frameNames = new Map ([
['Samurai (NEO)', 'NeoSamurai'], ['Samurai (NEO)', 'NeoSamurai'],
['Neon (NEO)', 'NeoNeon'], ['Neon (NEO)', 'NeoNeon'],
['Fang (VOW)', 'Fang'], ['Fang (VOW)', 'Fang'],
['Equinox (MID)', 'Equinox'], ['Equinox: Single-faced (MID)', 'Equinox'],
['Equinox: DFC Front (MID)', 'EquinoxFront'],
['Equinox: DFC Back (MID)', 'EquinoxBack'],
['Eternal Night (MID)', 'EternalNight'], ['Eternal Night (MID)', 'EternalNight'],
['DND Sourcebook (AFR)', 'DNDSourcebook'], ['DND Sourcebook (AFR)', 'DNDSourcebook'],
['DND Module (AFR)', 'DNDModule'], ['DND Module (AFR)', 'DNDModule'],

View File

@@ -13,7 +13,9 @@ loadFramePacks([
{name:'Samurai (NEO)', value:'NeoSamurai'}, {name:'Samurai (NEO)', value:'NeoSamurai'},
{name:'Neon (NEO)', value:'NeoNeon'}, {name:'Neon (NEO)', value:'NeoNeon'},
{name:'Fang (VOW)', value:'Fang'}, {name:'Fang (VOW)', value:'Fang'},
{name:'Equinox (MID)', value:'Equinox'}, {name:'Equinox: Single-faced (MID)', value:'Equinox'},
{name:'Equinox: DFC Front (MID)', value:'EquinoxFront'},
{name:'Equinox: DFC Back (MID)', value:'EquinoxBack'},
{name:'Eternal Night (MID)', value:'EternalNight'}, {name:'Eternal Night (MID)', value:'EternalNight'},
{name:'D&D Sourcebook (AFR)', value:'DNDSourcebook'}, {name:'D&D Sourcebook (AFR)', value:'DNDSourcebook'},
{name:'D&D Module (AFR)', value:'DNDModule'}, {name:'D&D Module (AFR)', value:'DNDModule'},

View File

@@ -1,50 +1,40 @@
//Create objects for common properties across available frames //Create objects for common properties across available frames
var masks = [{src:'/img/frames/m15/equinox/pinline.svg', name:'Pinline'}, {src:'/img/frames/m15/equinox/title.svg', name:'Title'}, {src:'/img/frames/m15/equinox/type.svg', name:'Type'}, {src:'/img/frames/m15/equinox/text.svg', name:'Rules'}]; var masks = [{src:'/img/frames/m15/equinox/pinline.png', name:'Pinline'}, {src:'/img/frames/m15/equinox/title.svg', name:'Title'}, {src:'/img/frames/m15/equinox/type.svg', name:'Type'}, {src:'/img/frames/m15/equinox/text.png', name:'Rules'}];
var bounds = {x:0.7787, y:0.8777, width:0.1747, height:0.0686}; var bounds = {x:0.7787, y:0.8777, width:0.1747, height:0.0686};
var masks2 = [{src:'/img/frames/m15/equinox/back/pinline.svg', name:'Pinline'}, {src:'/img/frames/m15/equinox/back/title.svg', name:'Title'}, {src:'/img/frames/m15/equinox/back/type.svg', name:'Type'}, {src:'/img/frames/m15/equinox/back/text.svg', name:'Rules'}]; var masks2 = [{src:'/img/frames/m15/equinox/back/pinline.svg', name:'Pinline'}, {src:'/img/frames/m15/equinox/back/title.svg', name:'Title'}, {src:'/img/frames/m15/equinox/back/type.svg', name:'Type'}, {src:'/img/frames/m15/equinox/back/text.svg', name:'Rules'}];
var bounds2 = {x:0.7794, y:0.8839, width:0.1827, height:0.0639}; var bounds2 = {x:0.7794, y:0.8839, width:0.1827, height:0.0639};
var stampBounds = {x:576/1500, y:1897/2100, width:348/1500, height:203/2100};
//defines available frames //defines available frames
availableFrames = [ availableFrames = [
{name:'White Frame (Front)', src:'/img/frames/m15/equinox/w.png', masks:masks}, {name:'White Frame', src:'/img/frames/m15/equinox/w.png', masks:masks},
{name:'Blue Frame (Front)', src:'/img/frames/m15/equinox/u.png', masks:masks}, {name:'Blue Frame', src:'/img/frames/m15/equinox/u.png', masks:masks},
{name:'Black Frame (Front)', src:'/img/frames/m15/equinox/b.png', masks:masks}, {name:'Black Frame', src:'/img/frames/m15/equinox/b.png', masks:masks},
{name:'Red Frame (Front)', src:'/img/frames/m15/equinox/r.png', masks:masks}, {name:'Red Frame', src:'/img/frames/m15/equinox/r.png', masks:masks},
{name:'Green Frame (Front)', src:'/img/frames/m15/equinox/g.png', masks:masks}, {name:'Green Frame', src:'/img/frames/m15/equinox/g.png', masks:masks},
{name:'Multicolored Frame (Front)', src:'/img/frames/m15/equinox/m.png', masks:masks}, {name:'Multicolored Frame', src:'/img/frames/m15/equinox/m.png', masks:masks},
{name:'Artifact Frame (Front)', src:'/img/frames/m15/equinox/a.png', masks:masks}, {name:'Artifact Frame', src:'/img/frames/m15/equinox/a.png', masks:masks},
{name:'Land Frame (Front)', src:'/img/frames/m15/equinox/l.png', masks:masks}, {name:'Land Frame', src:'/img/frames/m15/equinox/l.png', masks:masks},
{name:'White Power/Toughness (Front)', src:'/img/frames/m15/equinox/pt/w.png', bounds:bounds}, {name:'White Power/Toughness', src:'/img/frames/m15/equinox/pt/w.png', bounds:bounds},
{name:'Blue Power/Toughness (Front)', src:'/img/frames/m15/equinox/pt/u.png', bounds:bounds}, {name:'Blue Power/Toughness', src:'/img/frames/m15/equinox/pt/u.png', bounds:bounds},
{name:'Black Power/Toughness (Front)', src:'/img/frames/m15/equinox/pt/b.png', bounds:bounds}, {name:'Black Power/Toughness', src:'/img/frames/m15/equinox/pt/b.png', bounds:bounds},
{name:'Red Power/Toughness (Front)', src:'/img/frames/m15/equinox/pt/r.png', bounds:bounds}, {name:'Red Power/Toughness', src:'/img/frames/m15/equinox/pt/r.png', bounds:bounds},
{name:'Green Power/Toughness (Front)', src:'/img/frames/m15/equinox/pt/g.png', bounds:bounds}, {name:'Green Power/Toughness', src:'/img/frames/m15/equinox/pt/g.png', bounds:bounds},
{name:'Multicolored Power/Toughness (Front)', src:'/img/frames/m15/equinox/pt/m.png', bounds:bounds}, {name:'Multicolored Power/Toughness', src:'/img/frames/m15/equinox/pt/m.png', bounds:bounds},
{name:'Artifact Power/Toughness (Front)', src:'/img/frames/m15/equinox/pt/a.png', bounds:bounds}, {name:'Artifact Power/Toughness', src:'/img/frames/m15/equinox/pt/a.png', bounds:bounds},
{name:'Land Power/Toughness (Front)', src:'/img/frames/m15/equinox/pt/l.png', bounds:bounds}, {name:'Land Power/Toughness', src:'/img/frames/m15/equinox/pt/l.png', bounds:bounds},
{name:'Sun (Frontside Indicator)', src:'/img/frames/m15/equinox/sun.png', bounds:{x:0.02, y:0.0186, width:0.1534, height:0.1229}}, {name:'White Holo Stamp', src:'/img/frames/m15/equinox/stamps/w.png', bounds:stampBounds},
{name:'White Frame (Back)', src:'/img/frames/m15/equinox/back/w.png', masks:masks2}, {name:'Blue Holo Stamp', src:'/img/frames/m15/equinox/stamps/u.png', bounds:stampBounds},
{name:'Blue Frame (Back)', src:'/img/frames/m15/equinox/back/u.png', masks:masks2}, {name:'Black Holo Stamp', src:'/img/frames/m15/equinox/stamps/b.png', bounds:stampBounds},
{name:'Black Frame (Back)', src:'/img/frames/m15/equinox/back/b.png', masks:masks2}, {name:'Red Holo Stamp', src:'/img/frames/m15/equinox/stamps/r.png', bounds:stampBounds},
{name:'Red Frame (Back)', src:'/img/frames/m15/equinox/back/r.png', masks:masks2}, {name:'Green Holo Stamp', src:'/img/frames/m15/equinox/stamps/g.png', bounds:stampBounds},
{name:'Green Frame (Back)', src:'/img/frames/m15/equinox/back/g.png', masks:masks2}, {name:'Multicolored Holo Stamp', src:'/img/frames/m15/equinox/stamps/m.png', bounds:stampBounds},
{name:'Multicolored Frame (Back)', src:'/img/frames/m15/equinox/back/m.png', masks:masks2}, {name:'Artifact Holo Stamp', src:'/img/frames/m15/equinox/stamps/a.png', bounds:stampBounds},
{name:'Artifact Frame (Back)', src:'/img/frames/m15/equinox/back/a.png', masks:masks2}, {name:'Land Holo Stamp', src:'/img/frames/m15/equinox/stamps/l.png', bounds:stampBounds}
{name:'Land Frame (Back)', src:'/img/frames/m15/equinox/back/l.png', masks:masks2},
{name:'White Power/Toughness (Back)', src:'/img/frames/m15/equinox/back/pt/w.png', bounds:bounds2},
{name:'Blue Power/Toughness (Back)', src:'/img/frames/m15/equinox/back/pt/u.png', bounds:bounds2},
{name:'Black Power/Toughness (Back)', src:'/img/frames/m15/equinox/back/pt/b.png', bounds:bounds2},
{name:'Red Power/Toughness (Back)', src:'/img/frames/m15/equinox/back/pt/r.png', bounds:bounds2},
{name:'Green Power/Toughness (Back)', src:'/img/frames/m15/equinox/back/pt/g.png', bounds:bounds2},
{name:'Multicolored Power/Toughness (Back)', src:'/img/frames/m15/equinox/back/pt/m.png', bounds:bounds2},
{name:'Artifact Power/Toughness (Back)', src:'/img/frames/m15/equinox/back/pt/a.png', bounds:bounds2},
{name:'Land Power/Toughness (Back)', src:'/img/frames/m15/equinox/back/pt/l.png', bounds:bounds2}
]; ];
//disables/enables the "Load Frame Version" button //disables/enables the "Load Frame Version" button
document.querySelector('#loadFrameVersion').disabled = false; document.querySelector('#loadFrameVersion').disabled = false;
//defines process for loading this version, if applicable //defines process for loading this version, if applicable
document.querySelector('#loadFrameVersion').onclick = async function() { document.querySelector('#loadFrameVersion').onclick = async function() {
//notification
notify('For back-faces, add {right20} before your Type Line, and {fontcolorwhite} before all text.', 15);
//resets things so that every frame doesn't have to //resets things so that every frame doesn't have to
await resetCardIrregularities(); await resetCardIrregularities();
//sets card version //sets card version

View File

@@ -0,0 +1,52 @@
//Create objects for common properties across available frames
var masks = [{src:'/img/frames/m15/equinox/back/pinline.png', name:'Pinline'}, {src:'/img/frames/m15/equinox/title.svg', name:'Title'}, {src:'/img/frames/m15/equinox/type.svg', name:'Type'}, {src:'/img/frames/m15/equinox/back/text.png', name:'Rules'}];
var bounds = {x:0.7787, y:0.8777, width:0.1747, height:0.0686};
var masks2 = [{src:'/img/frames/m15/equinox/back/pinline.svg', name:'Pinline'}, {src:'/img/frames/m15/equinox/back/title.svg', name:'Title'}, {src:'/img/frames/m15/equinox/back/type.svg', name:'Type'}, {src:'/img/frames/m15/equinox/back/text.svg', name:'Rules'}];
var bounds2 = {x:0.7794, y:0.8839, width:0.1827, height:0.0639};
//defines available frames
availableFrames = [
{name:'White Frame', src:'/img/frames/m15/equinox/back/w.png', masks:masks2},
{name:'Blue Frame', src:'/img/frames/m15/equinox/back/u.png', masks:masks2},
{name:'Black Frame', src:'/img/frames/m15/equinox/back/b.png', masks:masks2},
{name:'Red Frame', src:'/img/frames/m15/equinox/back/r.png', masks:masks2},
{name:'Green Frame', src:'/img/frames/m15/equinox/back/g.png', masks:masks2},
{name:'Multicolored Frame', src:'/img/frames/m15/equinox/back/m.png', masks:masks2},
{name:'Artifact Frame', src:'/img/frames/m15/equinox/back/a.png', masks:masks2},
{name:'Land Frame', src:'/img/frames/m15/equinox/back/l.png', masks:masks2},
{name:'White Power/Toughness', src:'/img/frames/m15/equinox/back/pt/w.png', bounds:bounds2},
{name:'Blue Power/Toughness', src:'/img/frames/m15/equinox/back/pt/u.png', bounds:bounds2},
{name:'Black Power/Toughness', src:'/img/frames/m15/equinox/back/pt/b.png', bounds:bounds2},
{name:'Red Power/Toughness', src:'/img/frames/m15/equinox/back/pt/r.png', bounds:bounds2},
{name:'Green Power/Toughness', src:'/img/frames/m15/equinox/back/pt/g.png', bounds:bounds2},
{name:'Multicolored Power/Toughness', src:'/img/frames/m15/equinox/back/pt/m.png', bounds:bounds2},
{name:'Artifact Power/Toughness', src:'/img/frames/m15/equinox/back/pt/a.png', bounds:bounds2},
{name:'Land Power/Toughness', src:'/img/frames/m15/equinox/back/pt/l.png', bounds:bounds2}
];
//disables/enables the "Load Frame Version" button
document.querySelector('#loadFrameVersion').disabled = false;
//defines process for loading this version, if applicable
document.querySelector('#loadFrameVersion').onclick = async function() {
//resets things so that every frame doesn't have to
await resetCardIrregularities();
//sets card version
card.version = 'equinoxBack';
//art bounds
card.artBounds = {x:0.0754, y:0.0534, width:0.8574, height:0.8715};
autoFitArt();
//set symbol bounds
card.setSymbolBounds = {x:0.9067, y:0.5910, width:0.12, height:0.0410, vertical:'center', horizontal: 'right'};
resetSetSymbol();
//watermark bounds
card.watermarkBounds = {x:0.5, y:0.7762, width:0.75, height:0.2305};
resetWatermark();
//text
loadTextOptions({
mana: {name:'Mana Cost', text:'', y:0.0643, width:0.9234, height:71/2100, oneLine:true, size:71/1638, align:'right', shadowX:-0.001, shadowY:0.0029, manaCost:true, manaSpacing:0, color:'white'},
title: {name:'Title', text:'', x:0.0967, y:0.0553, width:0.8067, height:0.0543, oneLine:true, font:'belerenb', size:0.0381, color:'white'},
type: {name:'Type', text:'', x:165/1500, y:0.5664, width:1190/1500, height:0.0543, oneLine:true, font:'belerenb', size:0.0324, color:'white'},
rules: {name:'Rules Text', text:'', x:0.1, y:0.6303, width:0.8, height:0.2875, size:0.0362, color:'white'},
pt: {name:'Power/Toughness', text:'', x:0.7947, y:0.9, width:0.1367, height:0.0372, size:0.0372, font:'belerenbsc', oneLine:true, align:'center', color:'white'}
});
}
//loads available frames
loadFramePack();

View File

@@ -0,0 +1,62 @@
//Create objects for common properties across available frames
var masks = [{src:'/img/frames/m15/equinox/front/pinline.png', name:'Pinline'}, {src:'/img/frames/m15/equinox/title.svg', name:'Title'}, {src:'/img/frames/m15/equinox/type.svg', name:'Type'}, {src:'/img/frames/m15/equinox/front/text.png', name:'Rules'}];
var bounds = {x:0.7787, y:0.8777, width:0.1747, height:0.0686};
var masks2 = [{src:'/img/frames/m15/equinox/back/pinline.svg', name:'Pinline'}, {src:'/img/frames/m15/equinox/back/title.svg', name:'Title'}, {src:'/img/frames/m15/equinox/back/type.svg', name:'Type'}, {src:'/img/frames/m15/equinox/back/text.svg', name:'Rules'}];
var bounds2 = {x:0.7794, y:0.8839, width:0.1827, height:0.0639};
var stampBounds = {x:576/1500, y:1897/2100, width:348/1500, height:203/2100};
//defines available frames
availableFrames = [
{name:'White Frame', src:'/img/frames/m15/equinox/front/w.png', masks:masks},
{name:'Blue Frame', src:'/img/frames/m15/equinox/front/u.png', masks:masks},
{name:'Black Frame', src:'/img/frames/m15/equinox/front/b.png', masks:masks},
{name:'Red Frame', src:'/img/frames/m15/equinox/front/r.png', masks:masks},
{name:'Green Frame', src:'/img/frames/m15/equinox/front/g.png', masks:masks},
{name:'Multicolored Frame', src:'/img/frames/m15/equinox/front/m.png', masks:masks},
{name:'Artifact Frame', src:'/img/frames/m15/equinox/front/a.png', masks:masks},
{name:'Land Frame', src:'/img/frames/m15/equinox/front/l.png', masks:masks},
{name:'White Power/Toughness', src:'/img/frames/m15/equinox/pt/w.png', bounds:bounds},
{name:'Blue Power/Toughness', src:'/img/frames/m15/equinox/pt/u.png', bounds:bounds},
{name:'Black Power/Toughness', src:'/img/frames/m15/equinox/pt/b.png', bounds:bounds},
{name:'Red Power/Toughness', src:'/img/frames/m15/equinox/pt/r.png', bounds:bounds},
{name:'Green Power/Toughness', src:'/img/frames/m15/equinox/pt/g.png', bounds:bounds},
{name:'Multicolored Power/Toughness', src:'/img/frames/m15/equinox/pt/m.png', bounds:bounds},
{name:'Artifact Power/Toughness', src:'/img/frames/m15/equinox/pt/a.png', bounds:bounds},
{name:'Land Power/Toughness', src:'/img/frames/m15/equinox/pt/l.png', bounds:bounds},
{name:'White Holo Stamp', src:'/img/frames/m15/equinox/stamps/w.png', bounds:stampBounds},
{name:'Blue Holo Stamp', src:'/img/frames/m15/equinox/stamps/u.png', bounds:stampBounds},
{name:'Black Holo Stamp', src:'/img/frames/m15/equinox/stamps/b.png', bounds:stampBounds},
{name:'Red Holo Stamp', src:'/img/frames/m15/equinox/stamps/r.png', bounds:stampBounds},
{name:'Green Holo Stamp', src:'/img/frames/m15/equinox/stamps/g.png', bounds:stampBounds},
{name:'Multicolored Holo Stamp', src:'/img/frames/m15/equinox/stamps/m.png', bounds:stampBounds},
{name:'Artifact Holo Stamp', src:'/img/frames/m15/equinox/stamps/a.png', bounds:stampBounds},
{name:'Land Holo Stamp', src:'/img/frames/m15/equinox/stamps/l.png', bounds:stampBounds}
];
//disables/enables the "Load Frame Version" button
document.querySelector('#loadFrameVersion').disabled = false;
//defines process for loading this version, if applicable
document.querySelector('#loadFrameVersion').onclick = async function() {
//resets things so that every frame doesn't have to
await resetCardIrregularities();
//sets card version
card.version = 'equinoxFront';
//art bounds
card.artBounds = {x:0.0754, y:0.0534, width:0.8574, height:0.8715};
autoFitArt();
//set symbol bounds
card.setSymbolBounds = {x:0.9067, y:0.5910, width:0.12, height:0.0410, vertical:'center', horizontal: 'right'};
resetSetSymbol();
//watermark bounds
card.watermarkBounds = {x:0.5, y:0.7762, width:0.75, height:0.2305};
resetWatermark();
//text
loadTextOptions({
mana: {name:'Mana Cost', text:'', y:0.0643, width:0.9234, height:71/2100, oneLine:true, size:71/1638, align:'right', shadowX:-0.001, shadowY:0.0029, manaCost:true, manaSpacing:0},
title: {name:'Title', text:'', x:0.0967, y:0.0553, width:0.8067, height:0.0543, oneLine:true, font:'belerenb', size:0.0381},
type: {name:'Type', text:'', x:0.0967, y:0.5664, width:0.8067, height:0.0543, oneLine:true, font:'belerenb', size:0.0324},
rules: {name:'Rules Text', text:'', x:0.1, y:0.6303, width:0.8, height:0.2875, size:0.0362},
reminder: {name:'Reverse PT', text:'', x:0.086, y:1772/2100, width:0.838, height:0.0362, size:0.0291, oneLine:true, color:'white', align:'right', font:'belerenbsc'},
pt: {name:'Power/Toughness', text:'', x:0.7947, y:0.9, width:0.1367, height:0.0372, size:0.0372, font:'belerenbsc', oneLine:true, align:'center'}
});
}
//loads available frames
loadFramePack();