Added vrsys5 and fixed loading order bug
This commit is contained in:
parent
c47d626eef
commit
a3186867c1
|
@ -13,4 +13,7 @@
|
||||||
|
|
||||||
<entry key="ccba3b29da8b1b1cb444f381449beede3cbfd442d158293a4cdffbc3c41a31cc">../gdxapp4d-vrgem4/src/chain</entry>
|
<entry key="ccba3b29da8b1b1cb444f381449beede3cbfd442d158293a4cdffbc3c41a31cc">../gdxapp4d-vrgem4/src/chain</entry>
|
||||||
<entry key="ccba3b29da8b1b1cb444f381449beede3cbfd442d158293a4cdffbc3c41a31cc.gdxapp4d-vrgem4.jar">../gdxapp4d-vrgem4/target/classes</entry>
|
<entry key="ccba3b29da8b1b1cb444f381449beede3cbfd442d158293a4cdffbc3c41a31cc.gdxapp4d-vrgem4.jar">../gdxapp4d-vrgem4/target/classes</entry>
|
||||||
|
|
||||||
|
<entry key="ddcb3b29da8b1b1cb555f381449bffde3cbfd442d158293a4cdeebc3c41a12ab">../gdxapp4d-vrsys5/src/chain</entry>
|
||||||
|
<entry key="ddcb3b29da8b1b1cb555f381449bffde3cbfd442d158293a4cdeebc3c41a12ab.gdxapp4d-vrsys5.jar">../gdxapp4d-vrsys5/target/classes</entry>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
|
@ -8,5 +8,7 @@
|
||||||
<link:chain key="8833aa29da5b6b2cb464f781469ceede6ccfd848d158293a4cdffbc2c41b58de"/>
|
<link:chain key="8833aa29da5b6b2cb464f781469ceede6ccfd848d158293a4cdffbc2c41b58de"/>
|
||||||
<!-- Link vrgem4 -->
|
<!-- Link vrgem4 -->
|
||||||
<link:chain key="ccba3b29da8b1b1cb444f381449beede3cbfd442d158293a4cdffbc3c41a31cc"/>
|
<link:chain key="ccba3b29da8b1b1cb444f381449beede3cbfd442d158293a4cdffbc3c41a31cc"/>
|
||||||
|
<!-- Link vrsys5 -->
|
||||||
|
<link:chain key="ddcb3b29da8b1b1cb555f381449bffde3cbfd442d158293a4cdeebc3c41a12ab"/>
|
||||||
</link:sea>
|
</link:sea>
|
||||||
</root:ocean>
|
</root:ocean>
|
||||||
|
|
|
@ -13,7 +13,6 @@ import java.util.function.Consumer;
|
||||||
|
|
||||||
import org.osgi.framework.BundleActivator;
|
import org.osgi.framework.BundleActivator;
|
||||||
import org.osgi.framework.BundleContext;
|
import org.osgi.framework.BundleContext;
|
||||||
import org.osgi.framework.ServiceReference;
|
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
import org.x4o.xml.io.X4OConnectionException;
|
import org.x4o.xml.io.X4OConnectionException;
|
||||||
|
@ -193,9 +192,10 @@ public class GDXAppTos4Activator implements BundleActivator {
|
||||||
context.registerService(SystemGdxBootArgs.class.getName(), new SystemGdxBootArgsImpl(), new Hashtable<String, String>());
|
context.registerService(SystemGdxBootArgs.class.getName(), new SystemGdxBootArgsImpl(), new Hashtable<String, String>());
|
||||||
context.registerService(SystemGdxTerminal.class.getName(), systemGdxTerminal, new Hashtable<String, String>());
|
context.registerService(SystemGdxTerminal.class.getName(), systemGdxTerminal, new Hashtable<String, String>());
|
||||||
|
|
||||||
|
List<SystemWarpSea> registratedSeas = new ArrayList<>();
|
||||||
int result = 0;
|
int result = 0;
|
||||||
try {
|
try {
|
||||||
result = systemWarpShip.loadWaterOcean(context, warpshipDevice.theShip().getEngine(), v -> fireMessageEvent(v));
|
result = systemWarpShip.loadWaterOcean(context, warpshipDevice.theShip().getEngine(), v -> fireMessageEvent(v), registratedSeas);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
fireMessageEvent("ERROR: "+e.getMessage());
|
fireMessageEvent("ERROR: "+e.getMessage());
|
||||||
|
@ -210,9 +210,9 @@ public class GDXAppTos4Activator implements BundleActivator {
|
||||||
|
|
||||||
fireMessageEvent("tos4: chains resolved.");
|
fireMessageEvent("tos4: chains resolved.");
|
||||||
try {
|
try {
|
||||||
ServiceReference<?>[] refs = context.getServiceReferences( SystemWarpSea.class.getName(), "(warp.sea.name=*)" );
|
//ServiceReference<?>[] refs = context.getServiceReferences( SystemWarpSea.class.getName(), "(warp.sea.name=*)" );
|
||||||
for (int i=0;i<refs.length;i++) {
|
for (SystemWarpSea service : registratedSeas) {
|
||||||
SystemWarpSea service = (SystemWarpSea) context.getService( refs[i] );
|
//SystemWarpSea service = (SystemWarpSea) context.getService( refs[i] );
|
||||||
String key = service.getWarpKey();
|
String key = service.getWarpKey();
|
||||||
File waterHome = service.getWarpHome();
|
File waterHome = service.getWarpHome();
|
||||||
for (WaterSeaMagic magic:service.getWarpSea().theWater().getSeaMagics()) {
|
for (WaterSeaMagic magic:service.getWarpSea().theWater().getSeaMagics()) {
|
||||||
|
@ -221,8 +221,10 @@ public class GDXAppTos4Activator implements BundleActivator {
|
||||||
String overrideBundleKey = key + "." + magic.getFile();
|
String overrideBundleKey = key + "." + magic.getFile();
|
||||||
String overrideBundle = localOverrides.getProperty(overrideBundleKey);
|
String overrideBundle = localOverrides.getProperty(overrideBundleKey);
|
||||||
if (overrideBundle == null) {
|
if (overrideBundle == null) {
|
||||||
|
LOG.debug("installAndStartBundles reference:file:"+waterHome.getAbsolutePath()+"/"+magic.getFile());
|
||||||
SystemGdxBootFactory.installAndStartBundles(context, "reference:file:"+waterHome.getAbsolutePath()+"/"+magic.getFile());
|
SystemGdxBootFactory.installAndStartBundles(context, "reference:file:"+waterHome.getAbsolutePath()+"/"+magic.getFile());
|
||||||
} else {
|
} else {
|
||||||
|
LOG.debug("installAndStartBundles reference:file:"+overrideBundle);
|
||||||
SystemGdxBootFactory.installAndStartBundles(context, "reference:file:"+overrideBundle);
|
SystemGdxBootFactory.installAndStartBundles(context, "reference:file:"+overrideBundle);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -326,7 +328,7 @@ public class GDXAppTos4Activator implements BundleActivator {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int loadWaterOcean(BundleContext context, String key, Consumer<String> logger)
|
public int loadWaterOcean(BundleContext context, String key, Consumer<String> logger, List<SystemWarpSea> registratedSeas)
|
||||||
throws IOException, InterruptedException, X4OConnectionException, SAXException {
|
throws IOException, InterruptedException, X4OConnectionException, SAXException {
|
||||||
File waterHome;
|
File waterHome;
|
||||||
String override = localOverrides.getProperty(key);
|
String override = localOverrides.getProperty(key);
|
||||||
|
@ -371,13 +373,15 @@ public class GDXAppTos4Activator implements BundleActivator {
|
||||||
WaterOcean ocean = WaterOceanDriver.newInstance().createReader().readFile(waterSea);
|
WaterOcean ocean = WaterOceanDriver.newInstance().createReader().readFile(waterSea);
|
||||||
logger.accept("water-ocean: "+key+" ("+ocean.theWater().getName()+")");
|
logger.accept("water-ocean: "+key+" ("+ocean.theWater().getName()+")");
|
||||||
|
|
||||||
|
SystemWarpSeaImpl sea = new SystemWarpSeaImpl(key, waterHome, ocean);
|
||||||
Hashtable<String, String> props = new Hashtable<String, String>();
|
Hashtable<String, String> props = new Hashtable<String, String>();
|
||||||
props.put(SystemWarpSea.NAME_PROPERTY, ocean.theWater().getName());
|
props.put(SystemWarpSea.NAME_PROPERTY, ocean.theWater().getName());
|
||||||
context.registerService(SystemWarpSea.class.getName(), new SystemWarpSeaImpl(key, waterHome, ocean), props);
|
context.registerService(SystemWarpSea.class.getName(), sea, props);
|
||||||
|
registratedSeas.add(sea);
|
||||||
|
|
||||||
int result = 0;
|
int result = 0;
|
||||||
for (WaterSeaChain chain: ocean.theWater().getSeaChains()) {
|
for (WaterSeaChain chain: ocean.theWater().getSeaChains()) {
|
||||||
result += loadWaterOcean(context, chain.getKey(), logger);
|
result += loadWaterOcean(context, chain.getKey(), logger, registratedSeas);
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
package love.distributedrebirth.gdxapp4d.tos4.service;
|
package love.distributedrebirth.gdxapp4d.tos4.service;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
import java.util.List;
|
||||||
import java.util.function.Consumer;
|
import java.util.function.Consumer;
|
||||||
|
|
||||||
import org.osgi.framework.BundleContext;
|
import org.osgi.framework.BundleContext;
|
||||||
|
@ -16,5 +17,5 @@ public interface SystemWarpShip {
|
||||||
|
|
||||||
WaterDevice getWarpShip();
|
WaterDevice getWarpShip();
|
||||||
|
|
||||||
int loadWaterOcean(BundleContext context, String key, Consumer<String> logger) throws IOException, InterruptedException, X4OConnectionException, SAXException, BundleException;
|
int loadWaterOcean(BundleContext context, String key, Consumer<String> logger, List<SystemWarpSea> registratedSeas) throws IOException, InterruptedException, X4OConnectionException, SAXException, BundleException;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
package love.distributedrebirth.gdxapp4d.vrgem4;
|
package love.distributedrebirth.gdxapp4d.vrgem4;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
|
import java.util.ArrayList;
|
||||||
import java.util.Hashtable;
|
import java.util.Hashtable;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
import org.osgi.framework.BundleActivator;
|
import org.osgi.framework.BundleActivator;
|
||||||
import org.osgi.framework.BundleContext;
|
import org.osgi.framework.BundleContext;
|
||||||
|
@ -12,13 +14,11 @@ import com.badlogic.gdx.Gdx;
|
||||||
import imgui.type.ImBoolean;
|
import imgui.type.ImBoolean;
|
||||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
|
||||||
import love.distributedrebirth.bassboonyd.jmx.DefaultEnumBaseᴶᴹˣ;
|
import love.distributedrebirth.bassboonyd.jmx.DefaultEnumBaseᴶᴹˣ;
|
||||||
import love.distributedrebirth.gdxapp4d.tos4.GDXAppTos4Activator.SystemWarpBaseImpl;
|
|
||||||
import love.distributedrebirth.gdxapp4d.tos4.service.SystemGdxBootFactory;
|
import love.distributedrebirth.gdxapp4d.tos4.service.SystemGdxBootFactory;
|
||||||
import love.distributedrebirth.gdxapp4d.tos4.service.SystemGdxBootArgs;
|
import love.distributedrebirth.gdxapp4d.tos4.service.SystemGdxBootArgs;
|
||||||
import love.distributedrebirth.gdxapp4d.tos4.service.SystemGdxFont;
|
import love.distributedrebirth.gdxapp4d.tos4.service.SystemGdxFont;
|
||||||
import love.distributedrebirth.gdxapp4d.tos4.service.SystemWarpShip;
|
import love.distributedrebirth.gdxapp4d.tos4.service.SystemWarpShip;
|
||||||
import love.distributedrebirth.gdxapp4d.tos4.service.SystemGdxTerminal;
|
import love.distributedrebirth.gdxapp4d.tos4.service.SystemGdxTerminal;
|
||||||
import love.distributedrebirth.gdxapp4d.tos4.service.SystemWarpBase;
|
|
||||||
import love.distributedrebirth.gdxapp4d.tos4.service.SystemWarpSea;
|
import love.distributedrebirth.gdxapp4d.tos4.service.SystemWarpSea;
|
||||||
import love.distributedrebirth.gdxapp4d.vrgem4.screen.ScreenCredits;
|
import love.distributedrebirth.gdxapp4d.vrgem4.screen.ScreenCredits;
|
||||||
import love.distributedrebirth.gdxapp4d.vrgem4.screen.ScreenDesktop1;
|
import love.distributedrebirth.gdxapp4d.vrgem4.screen.ScreenDesktop1;
|
||||||
|
@ -170,10 +170,11 @@ public class GDXAppVrGem4Activator implements BundleActivator {
|
||||||
ServiceReference<SystemWarpShip> systemWarpShipRef = context.getServiceReference(SystemWarpShip.class);
|
ServiceReference<SystemWarpShip> systemWarpShipRef = context.getServiceReference(SystemWarpShip.class);
|
||||||
SystemWarpShip systemWarpShip = context.getService(systemWarpShipRef);
|
SystemWarpShip systemWarpShip = context.getService(systemWarpShipRef);
|
||||||
|
|
||||||
|
List<SystemWarpSea> registratedSeas = new ArrayList<>();
|
||||||
int result = 0;
|
int result = 0;
|
||||||
try {
|
try {
|
||||||
for (WaterShipOcean ocean:systemWarpShip.getWarpShip().theShip().getShipOceans()) {
|
for (WaterShipOcean ocean:systemWarpShip.getWarpShip().theShip().getShipOceans()) {
|
||||||
result = systemWarpShip.loadWaterOcean(context, ocean.getSea(), v -> bootScreen.bootLine(v));
|
result = systemWarpShip.loadWaterOcean(context, ocean.getSea(), v -> bootScreen.bootLine(v), registratedSeas);
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
|
@ -187,9 +188,7 @@ public class GDXAppVrGem4Activator implements BundleActivator {
|
||||||
bootScreen.bootLine("vrGEM4: chains resolved.");
|
bootScreen.bootLine("vrGEM4: chains resolved.");
|
||||||
|
|
||||||
try {
|
try {
|
||||||
ServiceReference<?>[] refs = context.getServiceReferences( SystemWarpSea.class.getName(), "(warp.sea.name=*)" );
|
for (SystemWarpSea service: registratedSeas) {
|
||||||
for (int i=0;i<refs.length;i++) {
|
|
||||||
SystemWarpSea service = (SystemWarpSea) context.getService( refs[i] );
|
|
||||||
String key = service.getWarpKey();
|
String key = service.getWarpKey();
|
||||||
File waterHome = service.getWarpHome();
|
File waterHome = service.getWarpHome();
|
||||||
for (WaterSeaMagic magic:service.getWarpSea().theWater().getSeaMagics()) {
|
for (WaterSeaMagic magic:service.getWarpSea().theWater().getSeaMagics()) {
|
||||||
|
|
|
@ -22,7 +22,6 @@ import love.distributedrebirth.gdxapp4d.vrgem4.service.deskapp.DeskApp;
|
||||||
import love.distributedrebirth.gdxapp4d.vrgem4.service.deskapp.DeskAppContourSection;
|
import love.distributedrebirth.gdxapp4d.vrgem4.service.deskapp.DeskAppContourSection;
|
||||||
import love.distributedrebirth.gdxapp4d.vrgem4.service.deskapp.DeskAppLauncher;
|
import love.distributedrebirth.gdxapp4d.vrgem4.service.deskapp.DeskAppLauncher;
|
||||||
import love.distributedrebirth.gdxapp4d.vrgem4.service.deskapp.DeskAppRenderer;
|
import love.distributedrebirth.gdxapp4d.vrgem4.service.deskapp.DeskAppRenderer;
|
||||||
import love.distributedrebirth.gdxapp4d.vrgem4.view.apps.BasicConsoleApp;
|
|
||||||
import love.distributedrebirth.gdxapp4d.vrgem4.view.apps.SystemBaseGlyphApp;
|
import love.distributedrebirth.gdxapp4d.vrgem4.view.apps.SystemBaseGlyphApp;
|
||||||
import love.distributedrebirth.gdxapp4d.vrgem4.view.apps.SystemBasePartApp;
|
import love.distributedrebirth.gdxapp4d.vrgem4.view.apps.SystemBasePartApp;
|
||||||
import love.distributedrebirth.gdxapp4d.vrgem4.view.apps.SystemBaseUnicodePlaneApp;
|
import love.distributedrebirth.gdxapp4d.vrgem4.view.apps.SystemBaseUnicodePlaneApp;
|
||||||
|
@ -42,7 +41,6 @@ public class DeskTopScreenMenu {
|
||||||
this.bootArgs = bootArgs;
|
this.bootArgs = bootArgs;
|
||||||
this.deskAppService = deskAppService;
|
this.deskAppService = deskAppService;
|
||||||
apps = new ArrayList<>();
|
apps = new ArrayList<>();
|
||||||
apps.add(new DeskAppLauncher("Basic Console", () -> new BasicConsoleApp()));
|
|
||||||
apps.add(new DeskAppLauncher("Sys Glyph Set", () -> new SystemBaseGlyphApp()));
|
apps.add(new DeskAppLauncher("Sys Glyph Set", () -> new SystemBaseGlyphApp()));
|
||||||
apps.add(new DeskAppLauncher("Sys Number Parts", () -> new SystemBasePartApp()));
|
apps.add(new DeskAppLauncher("Sys Number Parts", () -> new SystemBasePartApp()));
|
||||||
apps.add(new DeskAppLauncher("Sys Unicode", () -> new SystemBaseUnicodePlaneApp()));
|
apps.add(new DeskAppLauncher("Sys Unicode", () -> new SystemBaseUnicodePlaneApp()));
|
||||||
|
|
|
@ -1,25 +0,0 @@
|
||||||
package love.distributedrebirth.gdxapp4d.vrgem4.view.apps;
|
|
||||||
|
|
||||||
import imgui.ImGui;
|
|
||||||
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
|
|
||||||
import love.distributedrebirth.gdxapp4d.vrgem4.service.deskapp.AbstractDeskApp;
|
|
||||||
import love.distributedrebirth.gdxapp4d.vrgem4.service.deskapp.DeskAppContourSection;
|
|
||||||
|
|
||||||
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
|
|
||||||
public class BasicConsoleApp extends AbstractDeskApp {
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void create() {
|
|
||||||
getContours().setTitle("Basic Conssole");
|
|
||||||
getContours().registrateContour(DeskAppContourSection.MAIN, () -> {
|
|
||||||
ImGui.text("10 PRINT \"The BASIC Shahada of DUNE;\"");
|
|
||||||
ImGui.text("20 PRINT \"- THERE IS NO GOD BUT @Ω仙⁴\"");
|
|
||||||
ImGui.text("30 PRINT \"- THERE IS NO RULE BUT CONSENT\"");
|
|
||||||
ImGui.text("40 PRINT \"- THERE IS NO FAILURE BUT DEATH\"");
|
|
||||||
ImGui.text("50 PRINT \"- TERRY A. DAVIS WAS THE PROPHET OF @Ω仙9⁴\"");
|
|
||||||
ImGui.text("60 PRINT \"- TERRY A. DAVIS WAS THE FIRST TRUE MENTAT\"");
|
|
||||||
ImGui.text("70 PRINT \"- TERRY A. DAVIS WAS THE BEST CODER ALIVE\"");
|
|
||||||
ImGui.text("RUN");
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
118
gdxapp4d-vrsys5/pom.xml
Normal file
118
gdxapp4d-vrsys5/pom.xml
Normal file
|
@ -0,0 +1,118 @@
|
||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
<parent>
|
||||||
|
<groupId>love.distributedrebirth.gdxapp4d</groupId>
|
||||||
|
<artifactId>gdxapp4d</artifactId>
|
||||||
|
<version>0.0.1-SNAPSHOT</version>
|
||||||
|
</parent>
|
||||||
|
<artifactId>gdxapp4d-vrsys5</artifactId>
|
||||||
|
<packaging>bundle</packaging>
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>love.distributedrebirth.gdxapp4d</groupId>
|
||||||
|
<artifactId>gdxapp4d-vrgem4</artifactId>
|
||||||
|
<version>${project.version}</version>
|
||||||
|
<scope>provided</scope>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.felix</groupId>
|
||||||
|
<artifactId>maven-bundle-plugin</artifactId>
|
||||||
|
<extensions>true</extensions>
|
||||||
|
<configuration>
|
||||||
|
<exportScr>true</exportScr>
|
||||||
|
<instructions>
|
||||||
|
<_donotcopy>(.git)</_donotcopy>
|
||||||
|
<_dsannotations>*</_dsannotations>
|
||||||
|
<_metatypeannotations>*</_metatypeannotations>
|
||||||
|
<Import-Package>
|
||||||
|
org.osgi.framework,
|
||||||
|
org.osgi.service.packageadmin,
|
||||||
|
org.osgi.service.url,
|
||||||
|
org.osgi.service.startlevel,
|
||||||
|
org.osgi.util.tracker,
|
||||||
|
love.distributedrebirth.gdxapp4d.tos4.service,
|
||||||
|
love.distributedrebirth.gdxapp4d.vrgem4.service,
|
||||||
|
love.distributedrebirth.gdxapp4d.vrgem4.service.deskapp,
|
||||||
|
com.badlogic.gdx,
|
||||||
|
com.badlogic.gdx.assets,
|
||||||
|
com.badlogic.gdx.assets.loaders,
|
||||||
|
com.badlogic.gdx.assets.loaders.resolvers,
|
||||||
|
com.badlogic.gdx.audio,
|
||||||
|
com.badlogic.gdx.files,
|
||||||
|
com.badlogic.gdx.graphics,
|
||||||
|
com.badlogic.gdx.graphics.g2d,
|
||||||
|
com.badlogic.gdx.graphics.g2d.freetype,
|
||||||
|
com.badlogic.gdx.graphics.g3d,
|
||||||
|
com.badlogic.gdx.graphics.g3d.attributes,
|
||||||
|
com.badlogic.gdx.graphics.g3d.decals,
|
||||||
|
com.badlogic.gdx.graphics.g3d.environment,
|
||||||
|
com.badlogic.gdx.graphics.g3d.loader,
|
||||||
|
com.badlogic.gdx.graphics.g3d.model,
|
||||||
|
com.badlogic.gdx.graphics.g3d.model.data,
|
||||||
|
com.badlogic.gdx.graphics.g3d.particles,
|
||||||
|
com.badlogic.gdx.graphics.g3d.particles.bactches,
|
||||||
|
com.badlogic.gdx.graphics.g3d.particles.emitters,
|
||||||
|
com.badlogic.gdx.graphics.g3d.particles.influencers,
|
||||||
|
com.badlogic.gdx.graphics.g3d.particles.renderers,
|
||||||
|
com.badlogic.gdx.graphics.g3d.particles.values,
|
||||||
|
com.badlogic.gdx.graphics.g3d.shaders,
|
||||||
|
com.badlogic.gdx.graphics.g3d.utils,
|
||||||
|
com.badlogic.gdx.graphics.g3d.utils.shapebuilders,
|
||||||
|
com.badlogic.gdx.graphics.glutils,
|
||||||
|
com.badlogic.gdx.graphics.profiling,
|
||||||
|
com.badlogic.gdx.input,
|
||||||
|
com.badlogic.gdx.maps,
|
||||||
|
com.badlogic.gdx.maps.objects,
|
||||||
|
com.badlogic.gdx.maps.tiled,
|
||||||
|
com.badlogic.gdx.maps.tiled.objects,
|
||||||
|
com.badlogic.gdx.maps.tiled.renderers,
|
||||||
|
com.badlogic.gdx.maps.tiled.tiles,
|
||||||
|
com.badlogic.gdx.math,
|
||||||
|
com.badlogic.gdx.math.collision,
|
||||||
|
com.badlogic.gdx.net,
|
||||||
|
com.badlogic.gdx.scenes.scene2d,
|
||||||
|
com.badlogic.gdx.scenes.scene2d.actions,
|
||||||
|
com.badlogic.gdx.scenes.scene2d.ui,
|
||||||
|
com.badlogic.gdx.scenes.scene2d.utils,
|
||||||
|
com.badlogic.gdx.utils,
|
||||||
|
com.badlogic.gdx.utils.async,
|
||||||
|
com.badlogic.gdx.utils.compression,
|
||||||
|
com.badlogic.gdx.utils.compression.lz,
|
||||||
|
com.badlogic.gdx.utils.compression.lzma,
|
||||||
|
com.badlogic.gdx.utils.compression.rangecoder,
|
||||||
|
com.badlogic.gdx.utils.reflect,
|
||||||
|
com.badlogic.gdx.utils.viewport,
|
||||||
|
imgui,
|
||||||
|
imgui.flag,
|
||||||
|
imgui.glfw,
|
||||||
|
imgui.gl3,
|
||||||
|
imgui.type,
|
||||||
|
net.spookygames.gdx.nativefilechooser,
|
||||||
|
love.distributedrebirth.bassboonyd,
|
||||||
|
love.distributedrebirth.bassboonyd.jmx,
|
||||||
|
love.distributedrebirth.numberxd,
|
||||||
|
love.distributedrebirth.numberxd.base2t,
|
||||||
|
love.distributedrebirth.numberxd.base2t.part,
|
||||||
|
love.distributedrebirth.numberxd.base2t.part.warp,
|
||||||
|
love.distributedrebirth.numberxd.base2t.type,
|
||||||
|
love.distributedrebirth.numberxd.base2t.typexl,
|
||||||
|
love.distributedrebirth.numberxd.glyph,
|
||||||
|
love.distributedrebirth.numberxd.x4o,
|
||||||
|
love.distributedrebirth.warpme,
|
||||||
|
love.distributedrebirth.warpme.core,
|
||||||
|
love.distributedrebirth.warpme.hash,
|
||||||
|
love.distributedrebirth.warpme.sea,
|
||||||
|
love.distributedrebirth.warpme.ship,
|
||||||
|
love.distributedrebirth.unicode4d,
|
||||||
|
love.distributedrebirth.unicode4d.atlas
|
||||||
|
</Import-Package>
|
||||||
|
<Bundle-Vendor>distributedrebirth.love</Bundle-Vendor>
|
||||||
|
</instructions>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</project>
|
9
gdxapp4d-vrsys5/src/chain/warp-sea.xml
Normal file
9
gdxapp4d-vrsys5/src/chain/warp-sea.xml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<root:ocean xmlns:root="http://wrap-sea.x4o.distributedrebirth.love/xml/ns/warp-sea-root"
|
||||||
|
xmlns:link="http://warp-sea.x4o.distributedrebirth.love/xml/ns/warp-sea-link"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://wrap-sea.x4o.distributedrebirth.love/xml/ns/warp-sea-root http://warp-sea.x4o.distributedrebirth.love/xml/ns/warp-sea-root-1.0.xsd">
|
||||||
|
<link:sea name="vrSys5" provider="gdxapp4d.system" author="willemtsade">
|
||||||
|
<link:magic file="gdxapp4d-vrsys5.jar" mime="application/vnd.osgi.bundle"/>
|
||||||
|
</link:sea>
|
||||||
|
</root:ocean>
|
|
@ -0,0 +1,30 @@
|
||||||
|
package love.distributedrebirth.gdxapp4d.vrsys5;
|
||||||
|
|
||||||
|
import org.osgi.service.component.annotations.Activate;
|
||||||
|
import org.osgi.service.component.annotations.Component;
|
||||||
|
import org.osgi.service.component.annotations.Deactivate;
|
||||||
|
import org.osgi.service.component.annotations.Reference;
|
||||||
|
|
||||||
|
import love.distributedrebirth.gdxapp4d.tos4.service.SystemGdxLog;
|
||||||
|
import love.distributedrebirth.gdxapp4d.vrgem4.service.VrGem4DeskAppService;
|
||||||
|
import love.distributedrebirth.gdxapp4d.vrgem4.service.deskapp.DeskAppLauncher;
|
||||||
|
|
||||||
|
@Component
|
||||||
|
public class BasicConsoleComponent {
|
||||||
|
|
||||||
|
@Reference
|
||||||
|
private SystemGdxLog log;
|
||||||
|
|
||||||
|
@Reference
|
||||||
|
private VrGem4DeskAppService deskAppService;
|
||||||
|
|
||||||
|
@Activate
|
||||||
|
void open() {
|
||||||
|
log.info(this, "Activate BasicConsoleComponent");
|
||||||
|
deskAppService.registrateDeskApp(new DeskAppLauncher("Basic Console", () -> new BasicConsoleDeskApp()));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Deactivate
|
||||||
|
void close() {
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,28 @@
|
||||||
|
package love.distributedrebirth.gdxapp4d.vrsys5;
|
||||||
|
|
||||||
|
import imgui.ImGui;
|
||||||
|
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
|
||||||
|
import love.distributedrebirth.gdxapp4d.vrgem4.service.deskapp.AbstractDeskApp;
|
||||||
|
import love.distributedrebirth.gdxapp4d.vrgem4.service.deskapp.DeskAppContourSection;
|
||||||
|
import love.distributedrebirth.gdxapp4d.vrgem4.service.deskapp.DeskAppRenderer;
|
||||||
|
|
||||||
|
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
|
||||||
|
public class BasicConsoleDeskApp extends AbstractDeskApp implements DeskAppRenderer {
|
||||||
|
|
||||||
|
public void create() {
|
||||||
|
getContours().setTitle("Basic Console");
|
||||||
|
getContours().registrateContour(DeskAppContourSection.MAIN, this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void render() {
|
||||||
|
ImGui.text("10 PRINT \"The BASIC Shahada of DUNE;\"");
|
||||||
|
ImGui.text("20 PRINT \"- THERE IS NO GOD BUT @Ω仙⁴\"");
|
||||||
|
ImGui.text("30 PRINT \"- THERE IS NO RULE BUT CONSENT\"");
|
||||||
|
ImGui.text("40 PRINT \"- THERE IS NO FAILURE BUT DEATH\"");
|
||||||
|
ImGui.text("50 PRINT \"- TERRY A. DAVIS WAS THE PROPHET OF @Ω仙9⁴\"");
|
||||||
|
ImGui.text("60 PRINT \"- TERRY A. DAVIS WAS THE FIRST TRUE MENTAT\"");
|
||||||
|
ImGui.text("70 PRINT \"- TERRY A. DAVIS WAS THE BEST CODER ALIVE\"");
|
||||||
|
ImGui.text("RUN");
|
||||||
|
}
|
||||||
|
}
|
1
pom.xml
1
pom.xml
|
@ -27,6 +27,7 @@
|
||||||
<module>gdxapp4d-vrgem4</module>
|
<module>gdxapp4d-vrgem4</module>
|
||||||
<module>gdxapp4d-app-calculator</module>
|
<module>gdxapp4d-app-calculator</module>
|
||||||
<module>gdxapp4d-app-hewallet</module>
|
<module>gdxapp4d-app-hewallet</module>
|
||||||
|
<module>gdxapp4d-vrsys5</module>
|
||||||
</modules>
|
</modules>
|
||||||
<properties>
|
<properties>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
|
|
Loading…
Reference in a new issue