diff --git a/src/main/java/gdx/liftoff/Listing.java b/src/main/java/gdx/liftoff/Listing.java index 35818a0f..96dac660 100644 --- a/src/main/java/gdx/liftoff/Listing.java +++ b/src/main/java/gdx/liftoff/Listing.java @@ -155,6 +155,8 @@ public static ArrayList chooseLanguages(Collection names) { new TantrumRegExodus(), new TantrumDigital(), new TantrumJdkgdxds(), + new TexturePackerOnly(), + new TextureUnpackerOnly(), new SquidLibUtil(), new SquidLib(), diff --git a/src/main/kotlin/gdx/liftoff/data/libraries/unofficial/ThirdPartyExtensions.kt b/src/main/kotlin/gdx/liftoff/data/libraries/unofficial/ThirdPartyExtensions.kt index 47c5d954..f607f246 100644 --- a/src/main/kotlin/gdx/liftoff/data/libraries/unofficial/ThirdPartyExtensions.kt +++ b/src/main/kotlin/gdx/liftoff/data/libraries/unofficial/ThirdPartyExtensions.kt @@ -1647,6 +1647,40 @@ class GameJoltApi : ThirdPartyExtension() { } } +/** + * LWJGL3-compatible version of the TexturePacker from gdx-tools. + * @author Tommy Ettinger + */ +@Extension +class TexturePackerOnly : ThirdPartyExtension() { + override val id = "texturePackerOnly" + override val defaultVersion = "1.12.1.0" + override val url = "https://github.com/tommyettinger/libgdx-texturepacker" + override val group = "com.github.tommyettinger" + override val name = "libgdx-texturepacker" + + override fun initiateDependencies(project: Project) { + addDependency(project, Core.ID, "com.github.tommyettinger:libgdx-texturepacker") + } +} + +/** + * LWJGL3-compatible version of the TextureUnpacker from gdx-tools. + * @author Tommy Ettinger + */ +@Extension +class TextureUnpackerOnly : ThirdPartyExtension() { + override val id = "textureUnpackerOnly" + override val defaultVersion = "1.12.1.0" + override val url = "https://github.com/tommyettinger/libgdx-texturepacker" + override val group = "com.github.tommyettinger" + override val name = "libgdx-textureunpacker" + + override fun initiateDependencies(project: Project) { + addDependency(project, Core.ID, "com.github.tommyettinger:libgdx-textureunpacker") + } +} + // // /** // * An immediate-mode GUI library (LWJGL3-only!) that can be an alternative to scene2d.ui. diff --git a/src/main/resources/i18n/nls.properties b/src/main/resources/i18n/nls.properties index 997f44d7..45b0f425 100644 --- a/src/main/resources/i18n/nls.properties +++ b/src/main/resources/i18n/nls.properties @@ -153,6 +153,8 @@ tantrumRegExodus=Tantrum RegExodus tantrumDigital=Tantrum Digital tantrumJdkgdxds=Tantrum JDKGDXDS tantrumLibgdx=Tantrum libGDX +texturePackerOnly=Texture Packer Only +textureUnpackerOnly=Texture Unpacker Only universalTween=Universal Tween issues=https://github.com/libgdx/gdx-liftoff/issues @@ -448,6 +450,8 @@ tantrumRegExodusTip=Fury support for RegExodus' types. tantrumDigitalTip=Fury support for digital's types. tantrumJdkgdxdsTip=Fury support for jdkgdxds' types. tantrumLibgdxTip=Fury support for libGDX' types. +texturePackerOnlyTip=LWJGL3-compatible libGDX texture packer. +textureUnpackerOnlyTip=LWJGL3-compatible libGDX texture unpacker. universalTweenTip=Smoothly transition be-"tween" almost anything. templates=Templates diff --git a/src/main/resources/ui-data/nls.properties b/src/main/resources/ui-data/nls.properties index 9fdca110..f22eeb33 100644 --- a/src/main/resources/ui-data/nls.properties +++ b/src/main/resources/ui-data/nls.properties @@ -175,6 +175,8 @@ tantrumRegExodus=Tantrum RegExodus tantrumDigital=Tantrum Digital tantrumJdkgdxds=Tantrum JDKGDXDS tantrumLibgdx=Tantrum libGDX +texturePackerOnly=Texture Packer Only +textureUnpackerOnly=Texture Unpacker Only universalTween=Universal Tween issues=https://github.com/libgdx/gdx-liftoff/issues @@ -464,6 +466,8 @@ tantrumRegExodusTip=Fury support for RegExodus' types. tantrumDigitalTip=Fury support for digital's types. tantrumJdkgdxdsTip=Fury support for jdkgdxds' types. tantrumLibgdxTip=Fury support for libGDX types. +texturePackerOnlyTip=LWJGL3-compatible libGDX texture packer. +textureUnpackerOnlyTip=LWJGL3-compatible libGDX texture unpacker. universalTweenTip=Smoothly transition be-"tween" almost anything. anim8Terms=animate,tommy ettinger,tettinger,gif,png,apng @@ -591,6 +595,8 @@ tantrumLibgdxTerms=tommy ettinger,tettinger,fury,serialization tantrumRegExodusTerms=tommy ettinger,tettinger,fury,serialization tenPatchTerms=scene2d,ui,nine patch,9patch,9-patch,image,raeleus,ray3k,raymond buckley textratypistTerms=scene2d,ui,typinglabel,animated,animation,widget,tommy ettinger,tettinger,styles,effects,text +texturePackerOnlyTerms=atlas,texturepacker,lwjgl3,compatible,tommy ettinger,tettinger +textureUnpackerOnlyTerms=atlas,texturepacker,textureunpacker,lwjgl3,compatible,tommy ettinger,tettinger tinyVGTerms=scene2d,vector,image,lyze tuningForkTerms=lwjgl3,audio,hangman typingLabelTerms=scene2d,ui,animated,animation,widget,rafa skoberg,effects,text diff --git a/src/main/resources/ui-data/urls.properties b/src/main/resources/ui-data/urls.properties index f9f11efa..f1973933 100644 --- a/src/main/resources/ui-data/urls.properties +++ b/src/main/resources/ui-data/urls.properties @@ -115,6 +115,8 @@ tantrumLibgdxUrl=https://github.com/tommyettinger/tantrum tantrumRegExodusUrl=https://github.com/tommyettinger/tantrum tenPatchUrl=https://github.com/raeleus/TenPatch textratypistUrl=https://github.com/tommyettinger/textratypist +texturePackerOnlyUrl=https://github.com/tommyettinger/libgdx-texturepacker +textureUnpackerOnlyUrl=https://github.com/tommyettinger/libgdx-texturepacker tinyVGUrl=https://github.com/lyze237/gdx-TinyVG tuningForkUrl=https://github.com/Hangman/TuningFork typingLabelUrl=https://github.com/rafaskb/typing-label