Add to gitignore dist folder of c3 lib.

This commit is contained in:
Davide Tantillo 2025-11-05 15:37:55 +01:00
parent dbf1453e10
commit 5fed1d6a33
11 changed files with 1 additions and 13261 deletions

2
.gitignore vendored
View File

@ -143,7 +143,7 @@ spine-cocos2dx/example-v4/cocos2dx.zip
spine-ts/spine-core/dist
spine-ts/spine-canvas/dist
spine-ts/spine-construct3/dist
spine-ts/spine-construct3-lib/dist
spine-ts/spine-construct3/spine-construct3-lib/dist
spine-ts/spine-webgl/dist
spine-ts/spine-player/dist
spine-ts/spine-webcomponents/dist

View File

@ -1,38 +0,0 @@
/******************************************************************************
* Spine Runtimes License Agreement
* Last updated April 5, 2025. Replaces all prior versions.
*
* Copyright (c) 2013-2025, Esoteric Software LLC
*
* Integration of the Spine Runtimes into software or otherwise creating
* derivative works of the Spine Runtimes is permitted under the terms and
* conditions of Section 2 of the Spine Editor License Agreement:
* http://esotericsoftware.com/spine-editor-license
*
* Otherwise, it is permitted to integrate the Spine Runtimes into software
* or otherwise create derivative works of the Spine Runtimes (collectively,
* "Products"), provided that each user of the Products must obtain their own
* Spine Editor license and redistribution of the Products in any form must
* include this license and copyright notice.
*
* THE SPINE RUNTIMES ARE PROVIDED BY ESOTERIC SOFTWARE LLC "AS IS" AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL ESOTERIC SOFTWARE LLC BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES,
* BUSINESS INTERRUPTION, OR LOSS OF USE, DATA, OR PROFITS) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THE SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*****************************************************************************/
import { TextureAtlas } from "@esotericsoftware/spine-core";
export declare class AssetLoader {
loadSkeletonEditor(sid: number, textureAtlas: TextureAtlas, scale: number | undefined, instance: SDK.IWorldInstance): Promise<import("@esotericsoftware/spine-core").SkeletonData | null>;
loadAtlasEditor(sid: number, instance: SDK.IWorldInstance, renderer: SDK.Gfx.IWebGLRenderer): Promise<TextureAtlas | null>;
loadSpineTextureEditor(pageName: string, pma: boolean | undefined, instance: SDK.IWorldInstance): Promise<ImageBitmap | null>;
loadSkeletonRuntime(path: string, textureAtlas: TextureAtlas, scale: number | undefined, instance: IRuntime): Promise<import("@esotericsoftware/spine-core").SkeletonData | null>;
loadAtlasRuntime(path: string, instance: IRuntime, renderer: IRenderer): Promise<TextureAtlas | null>;
loadSpineTextureRuntime(pageName: string, pma: boolean | undefined, instance: IRuntime): Promise<ImageBitmap | null>;
static createImageBitmapFromBlob(blob: Blob, pma: boolean): Promise<ImageBitmap | null>;
}

File diff suppressed because one or more lines are too long

View File

@ -1,46 +0,0 @@
/******************************************************************************
* Spine Runtimes License Agreement
* Last updated April 5, 2025. Replaces all prior versions.
*
* Copyright (c) 2013-2025, Esoteric Software LLC
*
* Integration of the Spine Runtimes into software or otherwise creating
* derivative works of the Spine Runtimes is permitted under the terms and
* conditions of Section 2 of the Spine Editor License Agreement:
* http://esotericsoftware.com/spine-editor-license
*
* Otherwise, it is permitted to integrate the Spine Runtimes into software
* or otherwise create derivative works of the Spine Runtimes (collectively,
* "Products"), provided that each user of the Products must obtain their own
* Spine Editor license and redistribution of the Products in any form must
* include this license and copyright notice.
*
* THE SPINE RUNTIMES ARE PROVIDED BY ESOTERIC SOFTWARE LLC "AS IS" AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL ESOTERIC SOFTWARE LLC BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES,
* BUSINESS INTERRUPTION, OR LOSS OF USE, DATA, OR PROFITS) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THE SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*****************************************************************************/
import { BlendMode, Texture, type TextureAtlasPage } from "@esotericsoftware/spine-core";
export declare class C3TextureEditor extends Texture {
texture: SDK.Gfx.IWebGLTexture;
renderer: SDK.Gfx.IWebGLRenderer;
constructor(image: HTMLImageElement | ImageBitmap, renderer: SDK.Gfx.IWebGLRenderer, page: TextureAtlasPage);
setFilters(): void;
setWraps(): void;
dispose(): void;
}
export declare class C3Texture extends Texture {
texture: ITexture;
renderer: IRenderer;
constructor(image: HTMLImageElement | ImageBitmap, renderer: IRenderer, page: TextureAtlasPage);
setFilters(): void;
setWraps(): void;
dispose(): void;
}
export declare const BlendingModeSpineToC3: Record<BlendMode, BlendModeParameter>;

File diff suppressed because one or more lines are too long

View File

@ -1,61 +0,0 @@
import { AnimationState, Skeleton } from "@esotericsoftware/spine-core";
interface Rectangle {
x: number;
y: number;
width: number;
height: number;
}
interface GameObject {
skeleton?: Skeleton;
state?: AnimationState;
}
export interface SpineBoundsProvider {
/** Returns the bounding box for the skeleton, in skeleton space. */
calculateBounds(gameObject: GameObject): Rectangle;
}
export declare class AABBRectangleBoundsProvider implements SpineBoundsProvider {
private x;
private y;
private width;
private height;
constructor(x: number, y: number, width: number, height: number);
calculateBounds(): {
x: number;
y: number;
width: number;
height: number;
};
}
export declare class SetupPoseBoundsProvider implements SpineBoundsProvider {
private clipping;
/**
* @param clipping If true, clipping attachments are used to compute the bounds. False, by default.
*/
constructor(clipping?: boolean);
calculateBounds(gameObject: GameObject): {
x: number;
y: number;
width: number;
height: number;
};
}
export declare class SkinsAndAnimationBoundsProvider implements SpineBoundsProvider {
private animation?;
private skins;
private timeStep;
private clipping;
/**
* @param animation The animation to use for calculating the bounds. If null, the setup pose is used.
* @param skins The skins to use for calculating the bounds. If empty, the default skin is used.
* @param timeStep The time step to use for calculating the bounds. A smaller time step means more precision, but slower calculation.
* @param clipping If true, clipping attachments are used to compute the bounds. False, by default.
*/
constructor(animation?: string | undefined, skins?: string[], timeStep?: number, clipping?: boolean);
calculateBounds(gameObject: GameObject): {
x: number;
y: number;
width: number;
height: number;
};
}
export {};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,4 +0,0 @@
export * from "@esotericsoftware/spine-core";
export * from './AssetLoader.js';
export * from './C3Texture.js';
export * from './SpineBoundsProvider.js';

View File

@ -1,5 +0,0 @@
export * from "@esotericsoftware/spine-core";
export * from './AssetLoader.js';
export * from './C3Texture.js';
export * from './SpineBoundsProvider.js';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyw4QkFBOEIsQ0FBQztBQUM3QyxjQUFjLGtCQUFrQixDQUFDO0FBQ2pDLGNBQWMsZ0JBQWdCLENBQUM7QUFDL0IsY0FBYywwQkFBMEIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gXCJAZXNvdGVyaWNzb2Z0d2FyZS9zcGluZS1jb3JlXCI7XG5leHBvcnQgKiBmcm9tICcuL0Fzc2V0TG9hZGVyLmpzJztcbmV4cG9ydCAqIGZyb20gJy4vQzNUZXh0dXJlLmpzJztcbmV4cG9ydCAqIGZyb20gJy4vU3BpbmVCb3VuZHNQcm92aWRlci5qcyc7XG4iXX0=