forked from GithubMirrors/cardconjurer
make classicshifted updates live
This commit is contained in:
@@ -2,6 +2,7 @@ loadFramePacks([
|
|||||||
{name:'Misc. Custom Frames', value:'MiscCustom'},
|
{name:'Misc. Custom Frames', value:'MiscCustom'},
|
||||||
{name:'Cartoony - Sheepwave', value:'Cartoony'},
|
{name:'Cartoony - Sheepwave', value:'Cartoony'},
|
||||||
{name:'Classic-Shifted', value:'Classicshifted'},
|
{name:'Classic-Shifted', value:'Classicshifted'},
|
||||||
|
{name:'Classic-Shifted Planeswalkers', value:'ClassicshiftedPlaneswalker'},
|
||||||
{name:'Ixalan - @feuer_ameise', value:'FeuerAmeiseIxalan'},
|
{name:'Ixalan - @feuer_ameise', value:'FeuerAmeiseIxalan'},
|
||||||
{name:'Tapped (Horizontal M15)', value:'Tapped'},
|
{name:'Tapped (Horizontal M15)', value:'Tapped'},
|
||||||
{name:'Simple Inventions', value:'SimpleInventions'},
|
{name:'Simple Inventions', value:'SimpleInventions'},
|
||||||
|
@@ -1,7 +1,8 @@
|
|||||||
//Create objects for common properties across available frames
|
//Create objects for common properties across available frames
|
||||||
var masks = [{src:'/img/frames/custom/classicshifted/maskFrame.png', name:'Frame'}, {src:'/img/frames/custom/classicshifted/maskText.png', name:'Textbox'}, {src:'/img/frames/custom/classicshifted/pinline.svg', name:'Pinline'}];
|
var masks = [{src:'/img/frames/custom/classicshifted/maskFrame.png', name:'Frame'}, {src:'/img/frames/custom/classicshifted/maskText.png', name:'Textbox'}, {src:'/img/frames/custom/classicshifted/pinline.svg', name:'Pinline'}, {src:'/img/frames/custom/classicshifted/dual.svg', name:'Dual Land Pinline'}];
|
||||||
var bounds = {x:0.7573, y:0.8848, width:0.188, height:0.0733};
|
var bounds = {x:0.7573, y:0.8848, width:0.188, height:0.0733};
|
||||||
var bounds2 = {x:0.026, y:0.0129, width:0.948, height:0.1015};
|
var bounds2 = {x:0.026, y:0.0129, width:0.948, height:0.1015};
|
||||||
|
var bounds3 = {x:0.3267, y:0.6491, width:0.3474, height:0.2496};
|
||||||
//defines available frames
|
//defines available frames
|
||||||
availableFrames = [
|
availableFrames = [
|
||||||
{name:'White Frame', src:'/img/frames/custom/classicshifted/w.png', masks:masks},
|
{name:'White Frame', src:'/img/frames/custom/classicshifted/w.png', masks:masks},
|
||||||
@@ -32,7 +33,14 @@ availableFrames = [
|
|||||||
{name:'Green Crown', src:'/img/frames/custom/classicshifted/cg.png', bounds:bounds2},
|
{name:'Green Crown', src:'/img/frames/custom/classicshifted/cg.png', bounds:bounds2},
|
||||||
{name:'Multicolored Crown', src:'/img/frames/custom/classicshifted/cm.png', bounds:bounds2},
|
{name:'Multicolored Crown', src:'/img/frames/custom/classicshifted/cm.png', bounds:bounds2},
|
||||||
{name:'Artifact Crown', src:'/img/frames/custom/classicshifted/ca.png', bounds:bounds2},
|
{name:'Artifact Crown', src:'/img/frames/custom/classicshifted/ca.png', bounds:bounds2},
|
||||||
{name:'Land Crown', src:'/img/frames/custom/classicshifted/cl.png', bounds:bounds2}
|
{name:'Land Crown', src:'/img/frames/custom/classicshifted/cl.png', bounds:bounds2},
|
||||||
|
{name:'Plains Watermark', src:'/img/frames/m15/basics/w.png', bounds:bounds3},
|
||||||
|
{name:'Island Watermark', src:'/img/frames/m15/basics/u.png', bounds:bounds3},
|
||||||
|
{name:'Swamp Watermark', src:'/img/frames/m15/basics/b.png', bounds:bounds3},
|
||||||
|
{name:'Mountain Watermark', src:'/img/frames/m15/basics/r.png', bounds:bounds3},
|
||||||
|
{name:'Forest Watermark', src:'/img/frames/m15/basics/g.png', bounds:bounds3},
|
||||||
|
{name:'Wastes Watermark', src:'/img/frames/m15/basics/c.png', bounds:bounds3},
|
||||||
|
{name:'Snow Overlay', src:'/img/frames/custom/classicshifted/snow.png'}
|
||||||
];
|
];
|
||||||
//disables/enables the "Load Frame Version" button
|
//disables/enables the "Load Frame Version" button
|
||||||
document.querySelector('#loadFrameVersion').disabled = false;
|
document.querySelector('#loadFrameVersion').disabled = false;
|
||||||
|
Reference in New Issue
Block a user