From 91b9bfd9ebc00951b1f200140249e5569761c10e Mon Sep 17 00:00:00 2001 From: Willem Date: Tue, 22 Feb 2022 18:33:57 +0100 Subject: [PATCH] Added more of warpme lib --- .../distributedrebirth/warpme/Warpᵐᵉ.java | 10 ++++++ .../WaterBucketDriver.java} | 11 +++--- .../warpme/hash/WaterDrugsDriver.java | 27 +++++++++++++++ .../warpme/sea/WaterOceanDriver.java | 27 +++++++++++++++ .../warp-core-lang.eld} | 16 ++++----- .../warp-core-modules.xml} | 2 +- .../META-INF/warp-hash/warp-hash-lang.eld | 34 +++++++++++++++++++ .../META-INF/warp-hash/warp-hash-modules.xml | 10 ++++++ .../src/resources/META-INF/x4o-drivers.xml | 4 ++- .../distributedrebirth/gdxapp/GDXAppMain.java | 6 ++-- 10 files changed, 128 insertions(+), 19 deletions(-) create mode 100644 lib-warpme/src/main/love/distributedrebirth/warpme/Warpᵐᵉ.java rename lib-warpme/src/main/love/distributedrebirth/warpme/{TOSWarpCoreDriver.java => core/WaterBucketDriver.java} (60%) create mode 100644 lib-warpme/src/main/love/distributedrebirth/warpme/hash/WaterDrugsDriver.java create mode 100644 lib-warpme/src/main/love/distributedrebirth/warpme/sea/WaterOceanDriver.java rename lib-warpme/src/resources/META-INF/{warpcore/warpcore-lang.eld => warp-core/warp-core-lang.eld} (76%) rename lib-warpme/src/resources/META-INF/{warpcore/warpcore-modules.xml => warp-core/warp-core-modules.xml} (86%) create mode 100644 lib-warpme/src/resources/META-INF/warp-hash/warp-hash-lang.eld create mode 100644 lib-warpme/src/resources/META-INF/warp-hash/warp-hash-modules.xml diff --git a/lib-warpme/src/main/love/distributedrebirth/warpme/Warpᵐᵉ.java b/lib-warpme/src/main/love/distributedrebirth/warpme/Warpᵐᵉ.java new file mode 100644 index 00000000..9828a7d8 --- /dev/null +++ b/lib-warpme/src/main/love/distributedrebirth/warpme/Warpᵐᵉ.java @@ -0,0 +1,10 @@ +package love.distributedrebirth.warpme; + +public class Warpᵐᵉ { + + //public static final String WARP_BOOT = "warp-boot.xml"; + public static final String WARP_CORE = "warp-core.xml"; + public static final String WARP_HASH = "warp-hash.xml"; + public static final String WARP_SEA = "warp-sea.xml"; + public static final String WARP_ROOT = "warp-root.xml"; +} diff --git a/lib-warpme/src/main/love/distributedrebirth/warpme/TOSWarpCoreDriver.java b/lib-warpme/src/main/love/distributedrebirth/warpme/core/WaterBucketDriver.java similarity index 60% rename from lib-warpme/src/main/love/distributedrebirth/warpme/TOSWarpCoreDriver.java rename to lib-warpme/src/main/love/distributedrebirth/warpme/core/WaterBucketDriver.java index e97159b9..13aaeade 100644 --- a/lib-warpme/src/main/love/distributedrebirth/warpme/TOSWarpCoreDriver.java +++ b/lib-warpme/src/main/love/distributedrebirth/warpme/core/WaterBucketDriver.java @@ -1,15 +1,14 @@ -package love.distributedrebirth.warpme; +package love.distributedrebirth.warpme.core; import org.x4o.xml.X4ODriver; import org.x4o.xml.X4ODriverManager; import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ; -import love.distributedrebirth.warpme.core.WaterBucket; @BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天") -public class TOSWarpCoreDriver extends X4ODriver { +public class WaterBucketDriver extends X4ODriver { - static final public String LANGUAGE_NAME = "warpcore"; + static final public String LANGUAGE_NAME = "warp-core"; static final public String[] LANGUAGE_VERSIONS = new String[]{X4ODriver.DEFAULT_LANGUAGE_VERSION}; @Override @@ -22,7 +21,7 @@ public class TOSWarpCoreDriver extends X4ODriver { return LANGUAGE_VERSIONS; } - static public TOSWarpCoreDriver newInstance() { - return (TOSWarpCoreDriver)X4ODriverManager.getX4ODriver(LANGUAGE_NAME); + static public WaterBucketDriver newInstance() { + return (WaterBucketDriver)X4ODriverManager.getX4ODriver(LANGUAGE_NAME); } } diff --git a/lib-warpme/src/main/love/distributedrebirth/warpme/hash/WaterDrugsDriver.java b/lib-warpme/src/main/love/distributedrebirth/warpme/hash/WaterDrugsDriver.java new file mode 100644 index 00000000..8d45ef5d --- /dev/null +++ b/lib-warpme/src/main/love/distributedrebirth/warpme/hash/WaterDrugsDriver.java @@ -0,0 +1,27 @@ +package love.distributedrebirth.warpme.hash; + +import org.x4o.xml.X4ODriver; +import org.x4o.xml.X4ODriverManager; + +import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ; + +@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天") +public class WaterDrugsDriver extends X4ODriver { + + static final public String LANGUAGE_NAME = "warp-hash"; + static final public String[] LANGUAGE_VERSIONS = new String[]{X4ODriver.DEFAULT_LANGUAGE_VERSION}; + + @Override + public String getLanguageName() { + return LANGUAGE_NAME; + } + + @Override + public String[] getLanguageVersions() { + return LANGUAGE_VERSIONS; + } + + static public WaterDrugsDriver newInstance() { + return (WaterDrugsDriver)X4ODriverManager.getX4ODriver(LANGUAGE_NAME); + } +} diff --git a/lib-warpme/src/main/love/distributedrebirth/warpme/sea/WaterOceanDriver.java b/lib-warpme/src/main/love/distributedrebirth/warpme/sea/WaterOceanDriver.java new file mode 100644 index 00000000..6ff1d882 --- /dev/null +++ b/lib-warpme/src/main/love/distributedrebirth/warpme/sea/WaterOceanDriver.java @@ -0,0 +1,27 @@ +package love.distributedrebirth.warpme.sea; + +import org.x4o.xml.X4ODriver; +import org.x4o.xml.X4ODriverManager; + +import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ; + +@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天") +public class WaterOceanDriver extends X4ODriver { + + static final public String LANGUAGE_NAME = "warp-ocean"; + static final public String[] LANGUAGE_VERSIONS = new String[]{X4ODriver.DEFAULT_LANGUAGE_VERSION}; + + @Override + public String getLanguageName() { + return LANGUAGE_NAME; + } + + @Override + public String[] getLanguageVersions() { + return LANGUAGE_VERSIONS; + } + + static public WaterOceanDriver newInstance() { + return (WaterOceanDriver)X4ODriverManager.getX4ODriver(LANGUAGE_NAME); + } +} diff --git a/lib-warpme/src/resources/META-INF/warpcore/warpcore-lang.eld b/lib-warpme/src/resources/META-INF/warp-core/warp-core-lang.eld similarity index 76% rename from lib-warpme/src/resources/META-INF/warpcore/warpcore-lang.eld rename to lib-warpme/src/resources/META-INF/warp-core/warp-core-lang.eld index ad27b5b0..6f67b628 100644 --- a/lib-warpme/src/resources/META-INF/warpcore/warpcore-lang.eld +++ b/lib-warpme/src/resources/META-INF/warp-core/warp-core-lang.eld @@ -4,8 +4,8 @@ xmlns:conv="http://eld.x4o.org/xml/ns/eld-conv" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://eld.x4o.org/xml/ns/eld-root http://eld.x4o.org/xml/ns/eld-root-1.0.xsd" - providerHost="warpcore.x4o.distributedrebirth.love" providerName="WarpCore Encryption" - id="warpcore-module"> + providerHost="warp-core.x4o.distributedrebirth.love" providerName="WarpCoreᵐᵉ" + id="warp-core-module"> - warpcore-lang.eld + warp-core-lang.eld diff --git a/lib-warpme/src/resources/META-INF/warp-hash/warp-hash-lang.eld b/lib-warpme/src/resources/META-INF/warp-hash/warp-hash-lang.eld new file mode 100644 index 00000000..da41a662 --- /dev/null +++ b/lib-warpme/src/resources/META-INF/warp-hash/warp-hash-lang.eld @@ -0,0 +1,34 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/lib-warpme/src/resources/META-INF/warp-hash/warp-hash-modules.xml b/lib-warpme/src/resources/META-INF/warp-hash/warp-hash-modules.xml new file mode 100644 index 00000000..9ec3bb54 --- /dev/null +++ b/lib-warpme/src/resources/META-INF/warp-hash/warp-hash-modules.xml @@ -0,0 +1,10 @@ + + + + warp-hash-lang.eld + + diff --git a/lib-warpme/src/resources/META-INF/x4o-drivers.xml b/lib-warpme/src/resources/META-INF/x4o-drivers.xml index cf83c49b..c6b5b9b3 100644 --- a/lib-warpme/src/resources/META-INF/x4o-drivers.xml +++ b/lib-warpme/src/resources/META-INF/x4o-drivers.xml @@ -4,5 +4,7 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://language.x4o.org/xml/ns/drivers http://language.x4o.org/xml/ns/drivers-1.0.xsd" > - + + + diff --git a/main-gdxapp/src/main/love/distributedrebirth/gdxapp/GDXAppMain.java b/main-gdxapp/src/main/love/distributedrebirth/gdxapp/GDXAppMain.java index cdb8a79d..9826168a 100644 --- a/main-gdxapp/src/main/love/distributedrebirth/gdxapp/GDXAppMain.java +++ b/main-gdxapp/src/main/love/distributedrebirth/gdxapp/GDXAppMain.java @@ -45,8 +45,8 @@ import love.distributedrebirth.numberxd.base2t.part.warp.TOSWarpCore; import love.distributedrebirth.numberxd.glyph.BaseGlyphSet; import love.distributedrebirth.unicode4d.atlas.FontAtlas; import love.distributedrebirth.unicode4d.atlas.FontAtlasDriver; -import love.distributedrebirth.warpme.TOSWarpCoreDriver; import love.distributedrebirth.warpme.core.WaterBucket; +import love.distributedrebirth.warpme.core.WaterBucketDriver; import net.spookygames.gdx.nativefilechooser.NativeFileChooser; @BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天") @@ -119,13 +119,13 @@ public enum GDXAppMain implements DefaultEnumInstanceᴶᴹˣ