Updated pixi-compressed-textures.

This commit is contained in:
Sebastian Kupke 2020-01-20 11:33:53 +01:00
parent b32132c71f
commit ebb4b9154e
72 changed files with 61620 additions and 12000 deletions

View File

@ -11719,13 +11719,12 @@ var PIXI = (function (exports) {
* TODO - Optimization pass! * TODO - Optimization pass!
*/ */
DisplayObject.prototype.updateTransform = function updateTransform () DisplayObject.prototype.updateTransform = function updateTransform ()
{if(this.transform){ {
this.transform.updateTransform(this.parent.transform); this.transform.updateTransform(this.parent.transform);
// multiply the alphas.. // multiply the alphas..
this.worldAlpha = this.alpha * this.parent.worldAlpha; this.worldAlpha = this.alpha * this.parent.worldAlpha;
this._bounds.updateID++; this._bounds.updateID++;
}else console.error("Could not update transform on,", this)
}; };
/** /**
@ -11741,8 +11740,7 @@ var PIXI = (function (exports) {
} }
else else
{ {
if(this.transform){ this.transform.updateTransform(this._tempDisplayObjectParent.transform);
this.transform.updateTransform(this._tempDisplayObjectParent.transform);}else console.error("Could not update transform on,", this)
} }
}; };
@ -12383,6 +12381,7 @@ var PIXI = (function (exports) {
child.parent = this; child.parent = this;
this.sortDirty = true; this.sortDirty = true;
// ensure child transform will be recalculated
child.transform._parentID = -1; child.transform._parentID = -1;
this.children.push(child); this.children.push(child);
@ -49893,7 +49892,9 @@ var pixi_compressed_textures;
} }
} }
pixi_compressed_textures.RegisterCompressedLoader = RegisterCompressedLoader; pixi_compressed_textures.RegisterCompressedLoader = RegisterCompressedLoader;
function detectExtensions(renderer, resolution) { pixi_compressed_textures.defaultDetectedExtensions = ['.png', '.jpg', '.json', '.atlas'];
function detectExtensions(renderer, resolution, defaultResolution) {
if (defaultResolution === void 0) { defaultResolution = 1; }
var extensions = []; var extensions = [];
if (renderer instanceof PIXI.Renderer) { if (renderer instanceof PIXI.Renderer) {
renderer.texture.initCompressed(); renderer.texture.initCompressed();
@ -49909,16 +49910,20 @@ var pixi_compressed_textures;
if (data.etc1) if (data.etc1)
extensions.push('.etc1'); extensions.push('.etc1');
} }
resolution = resolution || renderer.resolution;
var res = "@" + resolution + "x";
var ext = extensions.slice(0); var ext = extensions.slice(0);
while (ext.length > 0) { var resolutions = [resolution || renderer.resolution];
extensions.push(res + ext.pop()); if (defaultResolution) {
resolutions.push(defaultResolution);
}
for (var i = 0; i < resolutions.length; i++) {
var res = "@" + resolutions[i] + "x";
for (var j = 0; j < ext.length; j++) {
extensions.push(res + ext[j]);
}
for (var j = 0; j < pixi_compressed_textures.defaultDetectedExtensions.length; j++) {
extensions.push(res + pixi_compressed_textures.defaultDetectedExtensions[j]);
}
} }
extensions.push(res + ".png");
extensions.push(res + ".jpg");
extensions.push(res + ".json");
extensions.push(res + ".atlas");
return extensions; return extensions;
} }
pixi_compressed_textures.detectExtensions = detectExtensions; pixi_compressed_textures.detectExtensions = detectExtensions;
@ -50005,9 +50010,6 @@ var pixi_compressed_textures;
k = url.lastIndexOf("."); k = url.lastIndexOf(".");
if (k >= 0) { if (k >= 0) {
resource._baseUrl = url.substring(0, k); resource._baseUrl = url.substring(0, k);
if (k >= 4 && url.substring(k - 3, 3) === '@1x') {
resource._baseUrl = url.substring(0, k);
}
} }
else { else {
return next(); return next();
@ -52265,9 +52267,12 @@ var pixi_projection;
})(TRANSFORM_STEP = pixi_projection.TRANSFORM_STEP || (pixi_projection.TRANSFORM_STEP = {})); })(TRANSFORM_STEP = pixi_projection.TRANSFORM_STEP || (pixi_projection.TRANSFORM_STEP = {}));
})(pixi_projection || (pixi_projection = {})); })(pixi_projection || (pixi_projection = {}));
var __extends = (this && this.__extends) || (function () { var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf || var extendStatics = function (d, b) {
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || extendStatics = Object.setPrototypeOf ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) { return function (d, b) {
extendStatics(d, b); extendStatics(d, b);
function __() { this.constructor = d; } function __() { this.constructor = d; }
@ -52429,12 +52434,12 @@ var pixi_projection;
var uint32View = attributeBuffer.uint32View, float32View = attributeBuffer.float32View; var uint32View = attributeBuffer.uint32View, float32View = attributeBuffer.float32View;
var p = aIndex / this.vertexSize; var p = aIndex / this.vertexSize;
var uvs = element.uvs; var uvs = element.uvs;
var indicies = element.indices; var indices = element.indices;
var vertexData = element.vertexData; var vertexData = element.vertexData;
var vertexData2d = element.vertexData2d; var vertexData2d = element.vertexData2d;
var textureId = element._texture.baseTexture._id; var textureId = element._texture.baseTexture._batchLocation;
var alpha = Math.min(element.worldAlpha, 1.0); var alpha = Math.min(element.worldAlpha, 1.0);
var argb = alpha < 1.0 && element._texture.baseTexture.premultiplyAlpha ? premultiplyTint(element._tintRGB, alpha) var argb = alpha < 1.0 && element._texture.baseTexture.alphaMode ? premultiplyTint(element._tintRGB, alpha)
: element._tintRGB + (alpha * 255 << 24); : element._tintRGB + (alpha * 255 << 24);
if (vertexData2d) { if (vertexData2d) {
var j = 0; var j = 0;
@ -52459,8 +52464,8 @@ var pixi_projection;
float32View[aIndex++] = textureId; float32View[aIndex++] = textureId;
} }
} }
for (var i = 0; i < indicies.length; i++) { for (var i = 0; i < indices.length; i++) {
indexBuffer[iIndex++] = p + indicies[i]; indexBuffer[iIndex++] = p + indices[i];
} }
}; };
return BatchPlugin; return BatchPlugin;
@ -52473,15 +52478,103 @@ var pixi_projection;
})(pixi_projection || (pixi_projection = {})); })(pixi_projection || (pixi_projection = {}));
var pixi_projection; var pixi_projection;
(function (pixi_projection) { (function (pixi_projection) {
var AbstractBatchRenderer = PIXI.AbstractBatchRenderer;
var premultiplyBlendMode = PIXI.utils.premultiplyBlendMode;
var UniformBatchRenderer = (function (_super) { var UniformBatchRenderer = (function (_super) {
__extends(UniformBatchRenderer, _super); __extends(UniformBatchRenderer, _super);
function UniformBatchRenderer() { function UniformBatchRenderer() {
return _super !== null && _super.apply(this, arguments) || this; var _this = _super !== null && _super.apply(this, arguments) || this;
_this.forceMaxTextures = 0;
_this.defUniforms = {};
return _this;
} }
UniformBatchRenderer.prototype.addToBatch = function (sprite) { UniformBatchRenderer.prototype.getUniforms = function (sprite) {
return this.defUniforms;
};
UniformBatchRenderer.prototype.syncUniforms = function (obj) {
if (!obj)
return;
var sh = this._shader;
for (var key in obj) {
sh.uniforms[key] = obj[key];
}
};
UniformBatchRenderer.prototype.buildDrawCalls = function (texArray, start, finish) {
var thisAny = this;
var _a = this, elements = _a._bufferedElements, _attributeBuffer = _a._attributeBuffer, _indexBuffer = _a._indexBuffer, vertexSize = _a.vertexSize;
var drawCalls = AbstractBatchRenderer._drawCallPool;
var dcIndex = this._dcIndex;
var aIndex = this._aIndex;
var iIndex = this._iIndex;
var drawCall = drawCalls[dcIndex];
drawCall.start = this._iIndex;
drawCall.texArray = texArray;
for (var i = start; i < finish; ++i) {
var sprite = elements[i];
var tex = sprite._texture.baseTexture;
var spriteBlendMode = premultiplyBlendMode[tex.alphaMode ? 1 : 0][sprite.blendMode];
var uniforms = this.getUniforms(sprite);
elements[i] = null;
if (start < i && (drawCall.blend !== spriteBlendMode || drawCall.uniforms !== uniforms)) {
drawCall.size = iIndex - drawCall.start;
start = i;
drawCall = drawCalls[++dcIndex];
drawCall.texArray = texArray;
drawCall.start = iIndex;
}
this.packInterleavedGeometry(sprite, _attributeBuffer, _indexBuffer, aIndex, iIndex);
aIndex += sprite.vertexData.length / 2 * vertexSize;
iIndex += sprite.indices.length;
drawCall.blend = spriteBlendMode;
drawCall.uniforms = uniforms;
}
if (start < finish) {
drawCall.size = iIndex - drawCall.start;
++dcIndex;
}
thisAny._dcIndex = dcIndex;
thisAny._aIndex = aIndex;
thisAny._iIndex = iIndex;
};
UniformBatchRenderer.prototype.drawBatches = function () {
var dcCount = this._dcIndex;
var _a = this.renderer, gl = _a.gl, stateSystem = _a.state, shaderSystem = _a.shader;
var drawCalls = AbstractBatchRenderer._drawCallPool;
var curUniforms = null;
var curTexArray = null;
for (var i = 0; i < dcCount; i++) {
var _b = drawCalls[i], texArray = _b.texArray, type = _b.type, size = _b.size, start = _b.start, blend = _b.blend, uniforms = _b.uniforms;
if (curTexArray !== texArray) {
curTexArray = texArray;
this.bindAndClearTexArray(texArray);
}
if (curUniforms !== uniforms) {
curUniforms = uniforms;
this.syncUniforms(uniforms);
shaderSystem.syncUniformGroup(this._shader.uniformGroup);
}
stateSystem.setBlendMode(blend);
gl.drawElements(type, size, gl.UNSIGNED_SHORT, start * 2);
}
};
UniformBatchRenderer.prototype.contextChange = function () {
if (!this.forceMaxTextures) {
_super.prototype.contextChange.call(this);
this.syncUniforms(this.defUniforms);
return;
}
var gl = this.renderer.gl;
var thisAny = this;
thisAny.MAX_TEXTURES = this.forceMaxTextures;
this._shader = thisAny.shaderGenerator.generateShader(this.MAX_TEXTURES);
this.syncUniforms(this.defUniforms);
for (var i = 0; i < thisAny._packedGeometryPoolSize; i++) {
thisAny._packedGeometries[i] = new (this.geometryClass)();
}
this.initFlushBuffers();
}; };
return UniformBatchRenderer; return UniformBatchRenderer;
}(PIXI.AbstractBatchRenderer)); }(AbstractBatchRenderer));
pixi_projection.UniformBatchRenderer = UniformBatchRenderer; pixi_projection.UniformBatchRenderer = UniformBatchRenderer;
})(pixi_projection || (pixi_projection = {})); })(pixi_projection || (pixi_projection = {}));
var pixi_projection; var pixi_projection;
@ -52822,7 +52915,7 @@ var pixi_projection;
return this._lastUniforms; return this._lastUniforms;
} }
this._lastUniforms = this._lastUniforms || {}; this._lastUniforms = this._lastUniforms || {};
this._lastUniforms.worldTransform = this.legacy.worldTransform.toArray(true); this._lastUniforms.translationMatrix = this.legacy.worldTransform;
this._surface.fillUniforms(this._lastUniforms); this._surface.fillUniforms(this._lastUniforms);
return this._lastUniforms; return this._lastUniforms;
}, },
@ -52837,8 +52930,8 @@ var pixi_projection;
(function (pixi_projection) { (function (pixi_projection) {
var TYPES = PIXI.TYPES; var TYPES = PIXI.TYPES;
var premultiplyTint = PIXI.utils.premultiplyTint; var premultiplyTint = PIXI.utils.premultiplyTint;
var shaderVert = "precision highp float;\nattribute vec2 aVertexPosition;\nattribute vec3 aTrans1;\nattribute vec3 aTrans2;\nattribute vec4 aFrame;\nattribute vec4 aColor;\nattribute float aTextureId;\n\nuniform mat3 projectionMatrix;\nuniform mat3 worldTransform;\n\nvarying vec2 vTextureCoord;\nvarying vec3 vTrans1;\nvarying vec3 vTrans2;\nvarying vec4 vFrame;\nvarying vec4 vColor;\nvarying float vTextureId;\n\nvoid main(void){\n gl_Position.xyw = projectionMatrix * worldTransform * vec3(aVertexPosition, 1.0);\n gl_Position.z = 0.0;\n \n vTextureCoord = aVertexPosition;\n vTrans1 = aTrans1;\n vTrans2 = aTrans2;\n vTextureId = aTextureId;\n vColor = aColor;\n vFrame = aFrame;\n}\n"; var shaderVert = "precision highp float;\nattribute vec2 aVertexPosition;\nattribute vec3 aTrans1;\nattribute vec3 aTrans2;\nattribute vec2 aSamplerSize;\nattribute vec4 aFrame;\nattribute vec4 aColor;\nattribute float aTextureId;\n\nuniform mat3 projectionMatrix;\nuniform mat3 translationMatrix;\n\nvarying vec2 vertexPosition;\nvarying vec3 vTrans1;\nvarying vec3 vTrans2;\nvarying vec2 vSamplerSize;\nvarying vec4 vFrame;\nvarying vec4 vColor;\nvarying float vTextureId;\n\nvoid main(void){\n gl_Position.xyw = projectionMatrix * translationMatrix * vec3(aVertexPosition, 1.0);\n gl_Position.z = 0.0;\n \n vertexPosition = aVertexPosition;\n vTrans1 = aTrans1;\n vTrans2 = aTrans2;\n vTextureId = aTextureId;\n vColor = aColor;\n vSamplerSize = aSamplerSize;\n vFrame = aFrame;\n}\n";
var shaderFrag = "precision highp float;\nvarying vec2 vTextureCoord;\nvarying vec3 vTrans1;\nvarying vec3 vTrans2;\nvarying vec4 vFrame;\nvarying vec4 vColor;\nvarying float vTextureId;\n\nuniform sampler2D uSamplers[%count%];\nuniform vec2 samplerSize[%count%]; \nuniform vec4 distortion;\n\nvoid main(void){\nvec2 surface;\nvec2 surface2;\n\nfloat vx = vTextureCoord.x;\nfloat vy = vTextureCoord.y;\nfloat dx = distortion.x;\nfloat dy = distortion.y;\nfloat revx = distortion.z;\nfloat revy = distortion.w;\n\nif (distortion.x == 0.0) {\n surface.x = vx;\n surface.y = vy / (1.0 + dy * vx);\n surface2 = surface;\n} else\nif (distortion.y == 0.0) {\n surface.y = vy;\n surface.x = vx/ (1.0 + dx * vy);\n surface2 = surface;\n} else {\n float c = vy * dx - vx * dy;\n float b = (c + 1.0) * 0.5;\n float b2 = (-c + 1.0) * 0.5;\n float d = b * b + vx * dy;\n if (d < -0.00001) {\n discard;\n }\n d = sqrt(max(d, 0.0));\n surface.x = (- b + d) * revy;\n surface2.x = (- b - d) * revy;\n surface.y = (- b2 + d) * revx;\n surface2.y = (- b2 - d) * revx;\n}\n\nvec2 uv;\nuv.x = vTrans1.x * surface.x + vTrans1.y * surface.y + vTrans1.z;\nuv.y = vTrans2.x * surface.x + vTrans2.y * surface.y + vTrans2.z;\n\nvec2 pixels = uv * samplerSize[0];\n\nif (pixels.x < vFrame.x || pixels.x > vFrame.z ||\n pixels.y < vFrame.y || pixels.y > vFrame.w) {\n uv.x = vTrans1.x * surface2.x + vTrans1.y * surface2.y + vTrans1.z;\n uv.y = vTrans2.x * surface2.x + vTrans2.y * surface2.y + vTrans2.z;\n pixels = uv * samplerSize[0];\n \n if (pixels.x < vFrame.x || pixels.x > vFrame.z ||\n pixels.y < vFrame.y || pixels.y > vFrame.w) {\n discard;\n }\n}\n\nvec4 edge;\nedge.xy = clamp(pixels - vFrame.xy + 0.5, vec2(0.0, 0.0), vec2(1.0, 1.0));\nedge.zw = clamp(vFrame.zw - pixels + 0.5, vec2(0.0, 0.0), vec2(1.0, 1.0));\n\nfloat alpha = 1.0; //edge.x * edge.y * edge.z * edge.w;\nvec4 rColor = vColor * alpha;\n\nfloat textureId = floor(vTextureId+0.5);\n%forloop%\ngl_FragColor = color * rColor;\n}"; var shaderFrag = "precision highp float;\nvarying vec2 vertexPosition;\nvarying vec3 vTrans1;\nvarying vec3 vTrans2;\nvarying vec2 vSamplerSize;\nvarying vec4 vFrame;\nvarying vec4 vColor;\nvarying float vTextureId;\n\nuniform sampler2D uSamplers[%count%];\nuniform vec4 distortion;\n\nvoid main(void){\nvec2 surface;\nvec2 surface2;\n\nfloat vx = vertexPosition.x;\nfloat vy = vertexPosition.y;\nfloat dx = distortion.x;\nfloat dy = distortion.y;\nfloat revx = distortion.z;\nfloat revy = distortion.w;\n\nif (distortion.x == 0.0) {\n surface.x = vx;\n surface.y = vy / (1.0 + dy * vx);\n surface2 = surface;\n} else\nif (distortion.y == 0.0) {\n surface.y = vy;\n surface.x = vx / (1.0 + dx * vy);\n surface2 = surface;\n} else {\n float c = vy * dx - vx * dy;\n float b = (c + 1.0) * 0.5;\n float b2 = (-c + 1.0) * 0.5;\n float d = b * b + vx * dy;\n //if (d < -0.00001) {\n // discard;\n //}\n d = sqrt(max(d, 0.0));\n surface.x = (- b + d) * revy;\n surface2.x = (- b - d) * revy;\n surface.y = (- b2 + d) * revx;\n surface2.y = (- b2 - d) * revx;\n}\n\nvec2 uv;\nuv.x = vTrans1.x * surface.x + vTrans1.y * surface.y + vTrans1.z;\nuv.y = vTrans2.x * surface.x + vTrans2.y * surface.y + vTrans2.z;\n\nvec2 pixels = uv * vSamplerSize;\n\nif (pixels.x < vFrame.x || pixels.x > vFrame.z ||\n pixels.y < vFrame.y || pixels.y > vFrame.w) {\n uv.x = vTrans1.x * surface2.x + vTrans1.y * surface2.y + vTrans1.z;\n uv.y = vTrans2.x * surface2.x + vTrans2.y * surface2.y + vTrans2.z;\n pixels = uv * vSamplerSize;\n \n// if (pixels.x < vFrame.x || pixels.x > vFrame.z ||\n// pixels.y < vFrame.y || pixels.y > vFrame.w) {\n// discard;\n// }\n}\n\nvec4 edge;\nedge.xy = clamp(pixels - vFrame.xy + 0.5, vec2(0.0, 0.0), vec2(1.0, 1.0));\nedge.zw = clamp(vFrame.zw - pixels + 0.5, vec2(0.0, 0.0), vec2(1.0, 1.0));\n\nfloat alpha = 1.0; //edge.x * edge.y * edge.z * edge.w;\nvec4 rColor = vColor * alpha;\n\nfloat textureId = floor(vTextureId+0.5);\nvec2 vTextureCoord = uv;\nvec4 color;\n%forloop%\ngl_FragColor = vec4(0.0, 1.0, 0.0, 1.0);\n//gl_FragColor = color * rColor;\n}";
var BatchBilineardGeometry = (function (_super) { var BatchBilineardGeometry = (function (_super) {
__extends(BatchBilineardGeometry, _super); __extends(BatchBilineardGeometry, _super);
function BatchBilineardGeometry(_static) { function BatchBilineardGeometry(_static) {
@ -52849,8 +52942,10 @@ var pixi_projection;
_this.addAttribute('aVertexPosition', _this._buffer, 2, false, TYPES.FLOAT) _this.addAttribute('aVertexPosition', _this._buffer, 2, false, TYPES.FLOAT)
.addAttribute('aTrans1', _this._buffer, 3, false, TYPES.FLOAT) .addAttribute('aTrans1', _this._buffer, 3, false, TYPES.FLOAT)
.addAttribute('aTrans2', _this._buffer, 3, false, TYPES.FLOAT) .addAttribute('aTrans2', _this._buffer, 3, false, TYPES.FLOAT)
.addAttribute('aSamplerSize', _this._buffer, 2, false, TYPES.FLOAT)
.addAttribute('aFrame', _this._buffer, 4, false, TYPES.FLOAT) .addAttribute('aFrame', _this._buffer, 4, false, TYPES.FLOAT)
.addAttribute('aColor', _this._buffer, 4, true, TYPES.UNSIGNED_BYTE) .addAttribute('aColor', _this._buffer, 4, true, TYPES.UNSIGNED_BYTE)
.addAttribute('aTextureId', _this._buffer, 1, true, TYPES.FLOAT)
.addIndex(_this._indexBuffer); .addIndex(_this._indexBuffer);
return _this; return _this;
} }
@ -52864,17 +52959,19 @@ var pixi_projection;
var _a = Object.assign({ var _a = Object.assign({
vertex: shaderVert, vertex: shaderVert,
fragment: shaderFrag, fragment: shaderFrag,
geometryClass: pixi_projection.Batch3dGeometry, geometryClass: BatchBilineardGeometry,
vertexSize: 7, vertexSize: 16,
}, options), vertex = _a.vertex, fragment = _a.fragment, vertexSize = _a.vertexSize, geometryClass = _a.geometryClass; }, options), vertex = _a.vertex, fragment = _a.fragment, vertexSize = _a.vertexSize, geometryClass = _a.geometryClass;
return (function (_super) { return (function (_super) {
__extends(BatchPlugin, _super); __extends(BatchPlugin, _super);
function BatchPlugin(renderer) { function BatchPlugin(renderer) {
var _this = _super.call(this, renderer) || this; var _this = _super.call(this, renderer) || this;
_this.defUniforms = { _this.defUniforms = {
worldTransform: new Float32Array([1, 0, 0, 0, 1, 0, 0, 0, 1]), translationMatrix: new PIXI.Matrix(),
distortion: new Float32Array([0, 0]) distortion: new Float32Array([0, 0])
}; };
_this.size = 1000;
_this.forceMaxTextures = 1;
_this.shaderGenerator = new PIXI.BatchShaderGenerator(vertex, fragment); _this.shaderGenerator = new PIXI.BatchShaderGenerator(vertex, fragment);
_this.geometryClass = geometryClass; _this.geometryClass = geometryClass;
_this.vertexSize = vertexSize; _this.vertexSize = vertexSize;
@ -52882,7 +52979,6 @@ var pixi_projection;
} }
BatchPlugin.prototype.getUniforms = function (sprite) { BatchPlugin.prototype.getUniforms = function (sprite) {
var proj = sprite.proj; var proj = sprite.proj;
var shader = this._shader;
if (proj.surface !== null) { if (proj.surface !== null) {
return proj.uniforms; return proj.uniforms;
} }
@ -52891,43 +52987,48 @@ var pixi_projection;
} }
return this.defUniforms; return this.defUniforms;
}; };
BatchPlugin.prototype.packGeometry = function (element, float32View, uint32View, indexBuffer, index, indexCount) { BatchPlugin.prototype.packInterleavedGeometry = function (element, attributeBuffer, indexBuffer, aIndex, iIndex) {
var p = index / this.vertexSize; var uint32View = attributeBuffer.uint32View, float32View = attributeBuffer.float32View;
var uvs = element.uvs; var p = aIndex / this.vertexSize;
var indices = element.indices; var indices = element.indices;
var vertexData = element.vertexData; var vertexData = element.vertexData;
var tex = element._texture; var tex = element._texture;
var frame = tex._frame; var frame = tex._frame;
var aTrans = element.aTrans; var aTrans = element.aTrans;
var _a = element._texture.baseTexture, _batchLocation = _a._batchLocation, realWidth = _a.realWidth, realHeight = _a.realHeight, resolution = _a.resolution;
var alpha = Math.min(element.worldAlpha, 1.0); var alpha = Math.min(element.worldAlpha, 1.0);
var argb = alpha < 1.0 && element._texture.baseTexture.premultiplyAlpha ? premultiplyTint(element._tintRGB, alpha) var argb = alpha < 1.0 && element._texture.baseTexture.alphaMode ? premultiplyTint(element._tintRGB, alpha)
: element._tintRGB + (alpha * 255 << 24); : element._tintRGB + (alpha * 255 << 24);
for (var i = 0; i < vertexData.length; i += 2) { for (var i = 0; i < vertexData.length; i += 2) {
float32View[index] = vertexData[i * 2]; float32View[aIndex] = vertexData[i * 2];
float32View[index + 1] = vertexData[i * 2 + 1]; float32View[aIndex + 1] = vertexData[i * 2 + 1];
float32View[index + 2] = aTrans.a; float32View[aIndex + 2] = aTrans.a;
float32View[index + 3] = aTrans.c; float32View[aIndex + 3] = aTrans.c;
float32View[index + 4] = aTrans.tx; float32View[aIndex + 4] = aTrans.tx;
float32View[index + 5] = aTrans.b; float32View[aIndex + 5] = aTrans.b;
float32View[index + 6] = aTrans.d; float32View[aIndex + 6] = aTrans.d;
float32View[index + 7] = aTrans.ty; float32View[aIndex + 7] = aTrans.ty;
float32View[index + 8] = frame.x; float32View[aIndex + 8] = realWidth;
float32View[index + 9] = frame.y; float32View[aIndex + 9] = realHeight;
float32View[index + 10] = frame.x + frame.width; float32View[aIndex + 10] = frame.x * resolution;
float32View[index + 11] = frame.y + frame.height; float32View[aIndex + 11] = frame.y * resolution;
uint32View[index + 12] = argb; float32View[aIndex + 12] = (frame.x + frame.width) * resolution;
index += 13; float32View[aIndex + 13] = (frame.y + frame.height) * resolution;
uint32View[aIndex + 14] = argb;
float32View[aIndex + 15] = _batchLocation;
aIndex += 16;
} }
for (var i = 0; i < indices.length; i++) { for (var i = 0; i < indices.length; i++) {
indexBuffer[indexCount++] = p + indices[i]; indexBuffer[iIndex++] = p + indices[i];
} }
}; };
return BatchPlugin; return BatchPlugin;
}(PIXI.AbstractBatchRenderer)); }(pixi_projection.UniformBatchRenderer));
}; };
return BatchBilinearPluginFactory; return BatchBilinearPluginFactory;
}()); }());
pixi_projection.BatchBilinearPluginFactory = BatchBilinearPluginFactory; pixi_projection.BatchBilinearPluginFactory = BatchBilinearPluginFactory;
PIXI.Renderer.registerPlugin('batch_bilinear', BatchBilinearPluginFactory.create({}));
})(pixi_projection || (pixi_projection = {})); })(pixi_projection || (pixi_projection = {}));
var pixi_projection; var pixi_projection;
(function (pixi_projection) { (function (pixi_projection) {
@ -54073,14 +54174,19 @@ var pixi_projection;
})(pixi_projection || (pixi_projection = {})); })(pixi_projection || (pixi_projection = {}));
var pixi_projection; var pixi_projection;
(function (pixi_projection) { (function (pixi_projection) {
PIXI.systems.MaskSystem.prototype.pushSpriteMask = function (target, maskData) { PIXI.systems.MaskSystem.prototype.pushSpriteMask = function (maskData) {
var maskObject = maskData.maskObject;
var target = maskData._target;
var alphaMaskFilter = this.alphaMaskPool[this.alphaMaskIndex]; var alphaMaskFilter = this.alphaMaskPool[this.alphaMaskIndex];
if (!alphaMaskFilter) { if (!alphaMaskFilter) {
alphaMaskFilter = this.alphaMaskPool[this.alphaMaskIndex] = [new pixi_projection.SpriteMaskFilter2d(maskData)]; alphaMaskFilter = this.alphaMaskPool[this.alphaMaskIndex] = [new pixi_projection.SpriteMaskFilter2d(maskObject)];
} }
alphaMaskFilter[0].resolution = this.renderer.resolution; alphaMaskFilter[0].resolution = this.renderer.resolution;
alphaMaskFilter[0].maskSprite = maskData; alphaMaskFilter[0].maskSprite = maskData;
target.filterArea = maskData.getBounds(true); var stashFilterArea = target.filterArea;
target.filterArea = maskObject.getBounds(true);
this.renderer.filter.push(target, alphaMaskFilter);
target.filterArea = stashFilterArea;
this.renderer.filter.push(target, alphaMaskFilter); this.renderer.filter.push(target, alphaMaskFilter);
this.alphaMaskIndex++; this.alphaMaskIndex++;
}; };
@ -55181,8 +55287,6 @@ var pixi_projection;
})(pixi_projection || (pixi_projection = {})); })(pixi_projection || (pixi_projection = {}));
var pixi_projection; var pixi_projection;
(function (pixi_projection) { (function (pixi_projection) {
PIXI.ObservablePoint.prototype.copy = function (point) {
};
var Point3d = (function (_super) { var Point3d = (function (_super) {
__extends(Point3d, _super); __extends(Point3d, _super);
function Point3d(x, y, z) { function Point3d(x, y, z) {

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1 +1 @@
(function(){var e=0;var a;var t=document.getElementById("source-code");if(t){var n=config.linenums;if(n){t=t.getElementsByTagName("ol")[0];a=Array.prototype.slice.apply(t.children);a=a.map(function(a){e++;a.id="line"+e})}else{t=t.getElementsByTagName("code")[0];a=t.innerHTML.split("\n");a=a.map(function(a){e++;return'<span id="line'+e+'"></span>'+a});t.innerHTML=a.join("\n")}}})();$(function(){var e=$(".navigation");var a=e.find(".list");var t=$(".search");$("#search").on("keyup",function(t){var n=this.value.trim();if(n){var s=new RegExp(n,"i");e.addClass("searching").removeClass("not-searching").find("li, .itemMembers").removeClass("match");e.find("li").each(function(e,a){var t=$(a);if(t.data("name")&&s.test(t.data("name"))){t.addClass("match");t.closest(".itemMembers").addClass("match");t.closest(".item").addClass("match")}})}else{e.removeClass("searching").addClass("not-searching").find(".item, .itemMembers").removeClass("match")}a.scrollTop(0)});$("#menuToggle").click(function(){a.toggleClass("show");t.toggleClass("show")});e.addClass("not-searching");var n=$(".page-title").data("filename").replace(/\.[a-z]+$/,"");var s=e.find('.item[data-name*="'+n+'"]:eq(0)');if(s.length){s.remove().prependTo(a).addClass("current")}if(config.disqus){$(window).on("load",function(){var e=config.disqus;var a=document.createElement("script");a.type="text/javascript";a.async=true;a.src="http://"+e+".disqus.com/embed.js";(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]).appendChild(a);var t=document.createElement("script");t.async=true;t.type="text/javascript";t.src="http://"+e+".disqus.com/count.js";document.getElementsByTagName("BODY")[0].appendChild(t)})}}); (function(){var e=0;var a;var t=document.getElementById("source-code");if(t){var n=config.linenums;if(n){t=t.getElementsByTagName("ol")[0];a=Array.prototype.slice.apply(t.children);a=a.map(function(a){e++;a.id="line"+e})}else{t=t.getElementsByTagName("code")[0];a=t.innerHTML.split("\n");a=a.map(function(a){e++;return'<span id="line'+e+'"></span>'+a});t.innerHTML=a.join("\n")}}})();$(function(){var e=$(".navigation");var a=e.find(".list");var t=$(".search");$("#search").on("keyup",function(t){var n=this.value.trim();if(n){var s=new RegExp(n,"i");e.addClass("searching").removeClass("not-searching").find("li, .itemMembers").removeClass("match");e.find("li").each(function(e,a){var t=$(a);if(t.data("name")&&s.test(t.data("name"))){t.addClass("match");t.closest(".itemMembers").addClass("match");t.closest(".item").addClass("match")}})}else{e.removeClass("searching").addClass("not-searching").find(".item, .itemMembers").removeClass("match")}a.scrollTop(0)});$("#menuToggle").click(function(){a.toggleClass("show");t.toggleClass("show")});e.addClass("not-searching");var n=$(".page-title").data("filename").replace(/\.[a-z]+$/,"");var s=e.find('a[href*="'+n+'"]:eq(0)').closest(".item");if(s.length){if(s.parents(".children").length){s.addClass("current");s.find("li.item").addClass("notCurrent");s=s.parents("ul.list>li.item")}s.remove().prependTo(a).addClass("current")}if(config.disqus){$(window).on("load",function(){var e=config.disqus;var a=document.createElement("script");a.type="text/javascript";a.async=true;a.src="http://"+e+".disqus.com/embed.js";(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]).appendChild(a);var t=document.createElement("script");t.async=true;t.type="text/javascript";t.src="http://"+e+".disqus.com/count.js";document.getElementsByTagName("BODY")[0].appendChild(t)})}});

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

140
package-lock.json generated
View File

@ -1247,9 +1247,9 @@
} }
}, },
"@pixi/jsdoc-template": { "@pixi/jsdoc-template": {
"version": "2.4.3", "version": "2.5.1",
"resolved": "https://registry.npmjs.org/@pixi/jsdoc-template/-/jsdoc-template-2.4.3.tgz", "resolved": "https://registry.npmjs.org/@pixi/jsdoc-template/-/jsdoc-template-2.5.1.tgz",
"integrity": "sha512-fnrQdFfA1sQHC8Grbx20cQIXeQIJ4VskBpbHaCdROiRi3nVQhRJjG4Vs0GxzmYiS4xMLGRVrZgNltXHs1nusvA==", "integrity": "sha512-Mi9pM4fhIjAGUWmjqbG2pV5lR1i1JdC0cRHLHuza+vxHXuKJYfNnBSFU7ZWhuSSKrEGcIvuMe8oc9JSFDjTVXg==",
"dev": true, "dev": true,
"requires": { "requires": {
"taffydb": "^2.7.2", "taffydb": "^2.7.2",
@ -2477,12 +2477,12 @@
} }
}, },
"ansi-escapes": { "ansi-escapes": {
"version": "4.2.1", "version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.2.1.tgz", "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.0.tgz",
"integrity": "sha512-Cg3ymMAdN10wOk/VYfLV7KCQyv7EDirJ64500sU7n9UlmioEtDuU5Gd+hj73hXSU/ex7tHJSssmyftDdkMLO8Q==", "integrity": "sha512-EiYhwo0v255HUL6eDyuLrXEkTi7WwVCLAw+SeOQ7M7qdun1z1pum4DEm/nuqIVbPvi9RPPc9k9LbyBv6H0DwVg==",
"dev": true, "dev": true,
"requires": { "requires": {
"type-fest": "^0.5.2" "type-fest": "^0.8.1"
} }
}, },
"ansi-gray": { "ansi-gray": {
@ -3846,9 +3846,9 @@
"dev": true "dev": true
}, },
"eslint": { "eslint": {
"version": "6.6.0", "version": "6.8.0",
"resolved": "https://registry.npmjs.org/eslint/-/eslint-6.6.0.tgz", "resolved": "https://registry.npmjs.org/eslint/-/eslint-6.8.0.tgz",
"integrity": "sha512-PpEBq7b6qY/qrOmpYQ/jTMDYfuQMELR4g4WI1M/NaSDDD/bdcMb+dj4Hgks7p41kW2caXsPsEZAEAyAgjVVC0g==", "integrity": "sha512-K+Iayyo2LtyYhDSYwz5D5QdWw0hCacNzyq1Y821Xna2xSJj7cijoLLYmLxTQgcgZ9mC61nryMy9S7GRbYpI5Ig==",
"dev": true, "dev": true,
"requires": { "requires": {
"@babel/code-frame": "^7.0.0", "@babel/code-frame": "^7.0.0",
@ -3866,7 +3866,7 @@
"file-entry-cache": "^5.0.1", "file-entry-cache": "^5.0.1",
"functional-red-black-tree": "^1.0.1", "functional-red-black-tree": "^1.0.1",
"glob-parent": "^5.0.0", "glob-parent": "^5.0.0",
"globals": "^11.7.0", "globals": "^12.1.0",
"ignore": "^4.0.6", "ignore": "^4.0.6",
"import-fresh": "^3.0.0", "import-fresh": "^3.0.0",
"imurmurhash": "^0.1.4", "imurmurhash": "^0.1.4",
@ -3879,7 +3879,7 @@
"minimatch": "^3.0.4", "minimatch": "^3.0.4",
"mkdirp": "^0.5.1", "mkdirp": "^0.5.1",
"natural-compare": "^1.4.0", "natural-compare": "^1.4.0",
"optionator": "^0.8.2", "optionator": "^0.8.3",
"progress": "^2.0.0", "progress": "^2.0.0",
"regexpp": "^2.0.1", "regexpp": "^2.0.1",
"semver": "^6.1.2", "semver": "^6.1.2",
@ -3914,6 +3914,15 @@
"is-glob": "^4.0.1" "is-glob": "^4.0.1"
} }
}, },
"globals": {
"version": "12.3.0",
"resolved": "https://registry.npmjs.org/globals/-/globals-12.3.0.tgz",
"integrity": "sha512-wAfjdLgFsPZsklLJvOBUBmzYE8/CwhEqSBEMRXA3qxIiNtyqvjYurAtIfDh6chlEPUfmTY3MnZh5Hfh4q0UlIw==",
"dev": true,
"requires": {
"type-fest": "^0.8.1"
}
},
"ms": { "ms": {
"version": "2.1.2", "version": "2.1.2",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
@ -3944,18 +3953,18 @@
} }
}, },
"eslint-config-prettier": { "eslint-config-prettier": {
"version": "6.5.0", "version": "6.9.0",
"resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-6.5.0.tgz", "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-6.9.0.tgz",
"integrity": "sha512-cjXp8SbO9VFGW/Z7mbTydqS9to8Z58E5aYhj3e1+Hx7lS9s6gL5ILKNpCqZAFOVYRcSkWPFYljHrEh8QFEK5EQ==", "integrity": "sha512-k4E14HBtcLv0uqThaI6I/n1LEqROp8XaPu6SO9Z32u5NlGRC07Enu1Bh2KEFw4FNHbekH8yzbIU9kUGxbiGmCA==",
"dev": true, "dev": true,
"requires": { "requires": {
"get-stdin": "^6.0.0" "get-stdin": "^6.0.0"
} }
}, },
"eslint-plugin-prettier": { "eslint-plugin-prettier": {
"version": "3.1.1", "version": "3.1.2",
"resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-3.1.1.tgz", "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-3.1.2.tgz",
"integrity": "sha512-A+TZuHZ0KU0cnn56/9mfR7/KjUJ9QNVXUhwvRFSR7PGPe0zQR6PTkmyqg1AtUUEOzTqeRsUwyKFh0oVZKVCrtA==", "integrity": "sha512-GlolCC9y3XZfv3RQfwGew7NnuFDKsfI4lbvRK+PIIo23SFH+LemGs4cKwzAaRa+Mdb+lQO/STaIayno8T5sJJA==",
"dev": true, "dev": true,
"requires": { "requires": {
"prettier-linter-helpers": "^1.0.0" "prettier-linter-helpers": "^1.0.0"
@ -5591,9 +5600,9 @@
"dev": true "dev": true
}, },
"import-fresh": { "import-fresh": {
"version": "3.1.0", "version": "3.2.1",
"resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.1.0.tgz", "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.2.1.tgz",
"integrity": "sha512-PpuksHKGt8rXfWEr9m9EHIpgyyaltBy8+eF6GJM0QCAxMgxCfucMF3mjecK2QsJr0amJW7gTqh5/wht0z2UhEQ==", "integrity": "sha512-6e1q1cnWP2RXD9/keSkxHScg508CdXqXWgWBaETNhyuBFz+kUZlKboh+ISK+bU++DmbHimVBrOz/zzPe0sZ3sQ==",
"dev": true, "dev": true,
"requires": { "requires": {
"parent-module": "^1.0.0", "parent-module": "^1.0.0",
@ -5647,9 +5656,9 @@
"dev": true "dev": true
}, },
"inquirer": { "inquirer": {
"version": "7.0.0", "version": "7.0.3",
"resolved": "https://registry.npmjs.org/inquirer/-/inquirer-7.0.0.tgz", "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-7.0.3.tgz",
"integrity": "sha512-rSdC7zelHdRQFkWnhsMu2+2SO41mpv2oF2zy4tMhmiLWkcKbOAs87fWAJhVXttKVwhdZvymvnuM95EyEXg2/tQ==", "integrity": "sha512-+OiOVeVydu4hnCGLCSX+wedovR/Yzskv9BFqUNNKq9uU2qg7LCcCo3R86S2E7WLo0y/x2pnEZfZe1CoYnORUAw==",
"dev": true, "dev": true,
"requires": { "requires": {
"ansi-escapes": "^4.2.1", "ansi-escapes": "^4.2.1",
@ -5661,16 +5670,16 @@
"lodash": "^4.17.15", "lodash": "^4.17.15",
"mute-stream": "0.0.8", "mute-stream": "0.0.8",
"run-async": "^2.2.0", "run-async": "^2.2.0",
"rxjs": "^6.4.0", "rxjs": "^6.5.3",
"string-width": "^4.1.0", "string-width": "^4.1.0",
"strip-ansi": "^5.1.0", "strip-ansi": "^5.1.0",
"through": "^2.3.6" "through": "^2.3.6"
}, },
"dependencies": { "dependencies": {
"ansi-regex": { "ansi-regex": {
"version": "4.1.0", "version": "5.0.0",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz",
"integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==",
"dev": true "dev": true
}, },
"is-fullwidth-code-point": { "is-fullwidth-code-point": {
@ -5686,14 +5695,25 @@
"dev": true "dev": true
}, },
"string-width": { "string-width": {
"version": "4.1.0", "version": "4.2.0",
"resolved": "https://registry.npmjs.org/string-width/-/string-width-4.1.0.tgz", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz",
"integrity": "sha512-NrX+1dVVh+6Y9dnQ19pR0pP4FiEIlUvdTGn8pw6CKTNq5sgib2nIhmUNT5TAmhWmvKr3WcxBcP3E8nWezuipuQ==", "integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==",
"dev": true, "dev": true,
"requires": { "requires": {
"emoji-regex": "^8.0.0", "emoji-regex": "^8.0.0",
"is-fullwidth-code-point": "^3.0.0", "is-fullwidth-code-point": "^3.0.0",
"strip-ansi": "^5.2.0" "strip-ansi": "^6.0.0"
},
"dependencies": {
"strip-ansi": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz",
"integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==",
"dev": true,
"requires": {
"ansi-regex": "^5.0.0"
}
}
} }
}, },
"strip-ansi": { "strip-ansi": {
@ -5703,6 +5723,14 @@
"dev": true, "dev": true,
"requires": { "requires": {
"ansi-regex": "^4.1.0" "ansi-regex": "^4.1.0"
},
"dependencies": {
"ansi-regex": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
"integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==",
"dev": true
}
} }
} }
} }
@ -6981,17 +7009,17 @@
"integrity": "sha1-R959p6ObsJSf2a9UxvA1cVSPBMk=" "integrity": "sha1-R959p6ObsJSf2a9UxvA1cVSPBMk="
}, },
"optionator": { "optionator": {
"version": "0.8.2", "version": "0.8.3",
"resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.2.tgz", "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz",
"integrity": "sha1-NkxeQJ0/TWMB1sC0wFu6UBgK62Q=", "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==",
"dev": true, "dev": true,
"requires": { "requires": {
"deep-is": "~0.1.3", "deep-is": "~0.1.3",
"fast-levenshtein": "~2.0.4", "fast-levenshtein": "~2.0.6",
"levn": "~0.3.0", "levn": "~0.3.0",
"prelude-ls": "~1.1.2", "prelude-ls": "~1.1.2",
"type-check": "~0.3.2", "type-check": "~0.3.2",
"wordwrap": "~1.0.0" "word-wrap": "~1.2.3"
} }
}, },
"ordered-read-streams": { "ordered-read-streams": {
@ -7312,14 +7340,14 @@
"integrity": "sha512-20aNuzrKtkpZZA8m4+fp56RwZMPaWnRkoTGPr6U+35XyRJoGlH13adSLiknL3TU0FGmGHKUw4fYAhn41Ujq3xQ==" "integrity": "sha512-20aNuzrKtkpZZA8m4+fp56RwZMPaWnRkoTGPr6U+35XyRJoGlH13adSLiknL3TU0FGmGHKUw4fYAhn41Ujq3xQ=="
}, },
"pixi-projection": { "pixi-projection": {
"version": "0.3.5", "version": "0.3.6",
"resolved": "https://registry.npmjs.org/pixi-projection/-/pixi-projection-0.3.5.tgz", "resolved": "https://registry.npmjs.org/pixi-projection/-/pixi-projection-0.3.6.tgz",
"integrity": "sha512-bvZgRGjdEJWHGNLw1v625wmeJLn/V0vu6nP4eGWsRVvGR24ipBDaMqpaO0p9yhjH7kt8yEGdKsoAkOVvD6bp4Q==" "integrity": "sha512-axYrewKMBJ9EjA9GlcbkZCnlq4LQRjRnHjJ9tprFWlpVzMrzZBY2tkzipwZhVb85AQVjwpWQH2koistJDWACwQ=="
}, },
"pixi-viewport": { "pixi-viewport": {
"version": "4.3.3", "version": "4.5.0",
"resolved": "https://registry.npmjs.org/pixi-viewport/-/pixi-viewport-4.3.3.tgz", "resolved": "https://registry.npmjs.org/pixi-viewport/-/pixi-viewport-4.5.0.tgz",
"integrity": "sha512-avoqY32QyVpycdoVT3LtEaJQ7n+je42cEyxuoKPdL2cSOkWhal1gyBgl5SynWUuztp2fbEtjiSadVPOK4eUWKg==", "integrity": "sha512-lIOkaa2iv6XNrX7+TA3q+ixdJE4bz4bDLwoX15/N5eYdWHqq+bmQVG/pmhvcqgo1XFyTvuB1QziCUAfSWVMUYg==",
"requires": { "requires": {
"penner": "^0.1.3" "penner": "^0.1.3"
} }
@ -8093,9 +8121,9 @@
} }
}, },
"rxjs": { "rxjs": {
"version": "6.5.3", "version": "6.5.4",
"resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.5.3.tgz", "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.5.4.tgz",
"integrity": "sha512-wuYsAYYFdWTAnAaPoKGNhfpWwKZbJW+HgAJ+mImp+Epl7BG8oNWBCTyRM8gba9k4lk8BgWdoYm21Mo/RYhhbgA==", "integrity": "sha512-naMQXcgEo3csAEGvw/NydRA0fuS2nDZJiw1YUWFKU7aPPAPGZEsD4Iimit96qwCieH6y614MCLYwdkrWx7z/7Q==",
"dev": true, "dev": true,
"requires": { "requires": {
"tslib": "^1.9.0" "tslib": "^1.9.0"
@ -9020,9 +9048,9 @@
} }
}, },
"type-fest": { "type-fest": {
"version": "0.5.2", "version": "0.8.1",
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.5.2.tgz", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz",
"integrity": "sha512-DWkS49EQKVX//Tbupb9TFa19c7+MK1XmzkrZUR8TAktmE/DizXoaoJV6TZ/tSIPXipqNiRI6CyAe7x69Jb6RSw==", "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==",
"dev": true "dev": true
}, },
"typedarray": { "typedarray": {
@ -9056,9 +9084,9 @@
"dev": true "dev": true
}, },
"underscore": { "underscore": {
"version": "1.9.1", "version": "1.9.2",
"resolved": "https://registry.npmjs.org/underscore/-/underscore-1.9.1.tgz", "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.9.2.tgz",
"integrity": "sha512-5/4etnCkd9c8gwgowi5/om/mYO5ajCaOgdzj/oW+0eQV9WxKBDZw5+ycmKmeaTXjInS/W0BzpGLo2xR2aBwZdg==", "integrity": "sha512-D39qtimx0c1fI3ya1Lnhk3E9nONswSKhnffBI0gME9C99fYOkNi04xs8K6pePLhvl1frbDemkaBQ5ikWllR2HQ==",
"dev": true "dev": true
}, },
"undertaker": { "undertaker": {
@ -9465,10 +9493,10 @@
"integrity": "sha1-u6Y8qGGUiZT/MHc2CJ47lgJsKk8=", "integrity": "sha1-u6Y8qGGUiZT/MHc2CJ47lgJsKk8=",
"dev": true "dev": true
}, },
"wordwrap": { "word-wrap": {
"version": "1.0.0", "version": "1.2.3",
"resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz",
"integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=", "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==",
"dev": true "dev": true
}, },
"wrap-ansi": { "wrap-ansi": {

View File

@ -27,10 +27,10 @@
"author": "", "author": "",
"license": "LGPL-3.0-or-later", "license": "LGPL-3.0-or-later",
"devDependencies": { "devDependencies": {
"@pixi/jsdoc-template": "^2.4.3", "@pixi/jsdoc-template": "^2.5.1",
"eslint": "^6.6.0", "eslint": "^6.8.0",
"eslint-config-prettier": "^6.5.0", "eslint-config-prettier": "^6.9.0",
"eslint-plugin-prettier": "^3.1.1", "eslint-plugin-prettier": "^3.1.2",
"fs-extra": "^8.0.1", "fs-extra": "^8.0.1",
"gulp": "^4.0.2", "gulp": "^4.0.2",
"gulp-concat": "^2.6.1", "gulp-concat": "^2.6.1",
@ -52,8 +52,8 @@
"pixi-ease": "^2.4.2", "pixi-ease": "^2.4.2",
"pixi-filters": "^3.0.3", "pixi-filters": "^3.0.3",
"pixi-particles": "^4.2.0", "pixi-particles": "^4.2.0",
"pixi-projection": "^0.3.5", "pixi-projection": "^0.3.6",
"pixi-viewport": "^4.3.3", "pixi-viewport": "^4.5.0",
"pixi.js": "^5.2.0", "pixi.js": "^5.2.0",
"propagating-hammerjs": "^1.4.7" "propagating-hammerjs": "^1.4.7"
} }