Added warpme features

This commit is contained in:
Willem Cazander 2022-02-17 19:57:57 +01:00
parent 84055bdcdc
commit b7361c05d0
23 changed files with 163 additions and 10 deletions

View file

@ -42,7 +42,7 @@ project(":lib-bassboonyd") {
}
}
project(":lib-numberxd") {
project(":lib-warpme") {
apply plugin: "java-library"
dependencies {
api project(":lib-bassboonyd")
@ -56,6 +56,17 @@ project(":lib-numberxd") {
}
}
project(":lib-numberxd") {
apply plugin: "java-library"
dependencies {
api project(":lib-warpme")
testImplementation "org.junit.jupiter:junit-jupiter:$junitVersion"
}
tasks.named('test') {
useJUnitPlatform()
}
}
project(":lib-unicodezd") {
apply plugin: "java-library"
dependencies {

View file

@ -16,6 +16,10 @@ import love.distributedrebirth.bassboonyd.jmx.StringAttributeᴶᴹˣ;
import love.distributedrebirth.numberxd.base2t.Base2PartsFactory;
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartKeyʸᴰ;
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartʸᴰ;
import love.distributedrebirth.warpme.core.WaterBucket;
import love.distributedrebirth.warpme.core.WaterCipher;
import love.distributedrebirth.warpme.core.WaterCipherHeart;
import love.distributedrebirth.warpme.core.WaterCipherHeartTone;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnClassInfoʸᴰ(name = "TOSWarpCore", purpose = "The warpcore writer and armor manager.")

View file

@ -4,7 +4,6 @@
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"
>
<driver language="warpcore" className="love.distributedrebirth.numberxd.base2t.part.warp.TOSWarpCoreDriver"/>
<!--
<defaultDriver language="numberxd"/>
-->

View file

@ -4,6 +4,7 @@ import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.warpme.core.WaterBucket;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public class TOSWarpCoreTest {

7
lib-warpme/build.gradle Normal file
View file

@ -0,0 +1,7 @@
sourceCompatibility = appJvmCode
[compileJava, compileTestJava]*.options*.encoding = appEncoding
sourceSets.main.java.srcDirs = [ "src/main/"]
sourceSets.main.resources.srcDirs = [ "src/resources/" ]
sourceSets.test.java.srcDirs = [ "src/test/"]
sourceSets.test.resources.srcDirs = [ "src/test-resources/" ]

View file

@ -1,9 +1,10 @@
package love.distributedrebirth.numberxd.base2t.part.warp;
package love.distributedrebirth.warpme;
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<WaterBucket> {

View file

@ -0,0 +1,11 @@
package love.distributedrebirth.warpme.chain;
import java.util.List;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public class WaterTag {
private List<WaterTagChain> tagChains;
}

View file

@ -0,0 +1,38 @@
package love.distributedrebirth.warpme.chain;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public class WaterTagChain {
private String path;
private String key;
private String tag;
public WaterTagChain() {
}
public String getPath() {
return path;
}
public void setPath(String path) {
this.path = path;
}
public String getKey() {
return key;
}
public void setKey(String key) {
this.key = key;
}
public String getTag() {
return tag;
}
public void setTag(String tag) {
this.tag = tag;
}
}

View file

@ -1,4 +1,4 @@
package love.distributedrebirth.numberxd.base2t.part.warp;
package love.distributedrebirth.warpme.core;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;

View file

@ -1,4 +1,4 @@
package love.distributedrebirth.numberxd.base2t.part.warp;
package love.distributedrebirth.warpme.core;
import java.util.ArrayList;
import java.util.List;

View file

@ -1,4 +1,4 @@
package love.distributedrebirth.numberxd.base2t.part.warp;
package love.distributedrebirth.warpme.core;
import java.util.ArrayList;
import java.util.List;

View file

@ -1,4 +1,4 @@
package love.distributedrebirth.numberxd.base2t.part.warp;
package love.distributedrebirth.warpme.core;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;

View file

@ -0,0 +1,14 @@
package love.distributedrebirth.warpme.store;
import java.util.List;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public class WaterPathApplication {
private String name;
private String description;
private String resources;
private List<WaterPathDependency> dependencies;
}

View file

@ -0,0 +1,10 @@
package love.distributedrebirth.warpme.store;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public class WaterPathDependency {
private String name;
private String version;
}

View file

@ -0,0 +1,14 @@
package love.distributedrebirth.warpme.store;
import java.util.List;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public class WaterPathLibrary {
private String name;
private String resources;
private List<WaterPathLibraryFile> files;
private List<WaterPathDependency> dependencies;
}

View file

@ -0,0 +1,10 @@
package love.distributedrebirth.warpme.store;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public class WaterPathLibraryFile {
private String name;
private String type;
}

View file

@ -0,0 +1,14 @@
package love.distributedrebirth.warpme.store;
import java.util.List;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public class WaterPathMedia {
private String name;
private String description;
private String resources;
private List<WaterPathDependency> dependencies;
}

View file

@ -0,0 +1,11 @@
package love.distributedrebirth.warpme.store;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public class WaterStore {
private WaterPathApplication application;
private WaterPathLibrary library;
private WaterPathMedia media;
}

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<drivers version="1.0"
xmlns="http://language.x4o.org/xml/ns/drivers"
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"
>
<driver language="warpcore" className="love.distributedrebirth.numberxd.base2t.part.warp.TOSWarpCoreDriver"/>
</drivers>

View file

@ -42,9 +42,9 @@ import love.distributedrebirth.gdxapp.screen.ScreenLoading;
import love.distributedrebirth.numberxd.base2t.Base2PartsFactory;
import love.distributedrebirth.numberxd.base2t.Base2Terminator;
import love.distributedrebirth.numberxd.base2t.part.warp.TOSWarpCore;
import love.distributedrebirth.numberxd.base2t.part.warp.TOSWarpCoreDriver;
import love.distributedrebirth.numberxd.base2t.part.warp.WaterBucket;
import love.distributedrebirth.numberxd.glyph.BaseGlyphSet;
import love.distributedrebirth.warpme.TOSWarpCoreDriver;
import love.distributedrebirth.warpme.core.WaterBucket;
import net.spookygames.gdx.nativefilechooser.NativeFileChooser;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")

View file

@ -1 +1 @@
include 'main-gdxapp-desktop', 'main-gdxapp', 'lib-bassboonyd', 'lib-numberxd', 'lib-unicodezd', 'lib-basicwd', 'lib-imxmi'
include 'main-gdxapp-desktop', 'main-gdxapp', 'lib-bassboonyd', 'lib-numberxd', 'lib-unicodezd', 'lib-basicwd', 'lib-imxmi', 'lib-warpme'