Removed demo from gdxapp names

This commit is contained in:
Willem 2022-02-07 00:09:29 +01:00
parent bd19bc414d
commit 9a4498d8c2
19 changed files with 57 additions and 57 deletions

View file

@ -6,11 +6,11 @@ import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
* Desktop game app base config.
*/
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public final class DesktopConfig {
public final class GDXAppDesktopConfig {
public static int WINDOW_WIDTH = 1024;
public static int WINDOW_HEIGHT = 768;
public static String WINDOW_TITLE = "demo⁴ᴰ";
public static String WINDOW_TITLE = "GDXApp-demo⁴ᴰ";
public static String[] WINDOW_ICONS = {
"icon/window-128.png",
"icon/window-32.png",

View file

@ -9,25 +9,25 @@ import com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application;
import com.badlogic.gdx.backends.lwjgl3.Lwjgl3ApplicationConfiguration;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.gdxapp.Demo4DMain;
import love.distributedrebirth.gdxapp.GDXAppMain;
import net.spookygames.gdx.nativefilechooser.desktop.DesktopFileChooser;
/**
* Desktop game app launcher.
*/
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public class DesktopLauncher {
public class GDXAppDesktopLauncher {
public static void main(String[] arg) {
DesktopConfig.printBootMessage();
GDXAppDesktopConfig.printBootMessage();
Lwjgl3ApplicationConfiguration config = new Lwjgl3ApplicationConfiguration();
config.setMaxNetThreads(Runtime.getRuntime().availableProcessors());
config.setTitle(DesktopConfig.WINDOW_TITLE);
config.setWindowIcon(FileType.Internal, DesktopConfig.WINDOW_ICONS);
config.setWindowedMode(DesktopConfig.WINDOW_WIDTH, DesktopConfig.WINDOW_HEIGHT);
config.setTitle(GDXAppDesktopConfig.WINDOW_TITLE);
config.setWindowIcon(FileType.Internal, GDXAppDesktopConfig.WINDOW_ICONS);
config.setWindowedMode(GDXAppDesktopConfig.WINDOW_WIDTH, GDXAppDesktopConfig.WINDOW_HEIGHT);
List<String> args = Arrays.asList(arg);
DesktopFileChooser aop0 = new DesktopFileChooser();
Game app = new Demo4DMain(args, DesktopConfig.WINDOW_WIDTH, DesktopConfig.WINDOW_HEIGHT, aop0);
Game app = new GDXAppMain(args, GDXAppDesktopConfig.WINDOW_WIDTH, GDXAppDesktopConfig.WINDOW_HEIGHT, aop0);
Lwjgl3Application launcher = new Lwjgl3Application(app, config);
launcher.exit();
}

View file

@ -42,7 +42,7 @@ import net.spookygames.gdx.nativefilechooser.NativeFileChooser;
* Main loop render dispatcher and event handling.
*/
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public class Demo4DMain extends Game {
public class GDXAppMain extends Game {
private int lazyIntCnt = 33;
private List<String> args;
public NativeFileChooser fileChooser;
@ -62,7 +62,7 @@ public class Demo4DMain extends Game {
private ImBoolean showSystemGlyphPart = new ImBoolean(false);
private ImBoolean showBasicConsole = new ImBoolean(false);
public Demo4DMain(List<String> args, int viewWidth, int viewHeight, NativeFileChooser fileChooser) {
public GDXAppMain(List<String> args, int viewWidth, int viewHeight, NativeFileChooser fileChooser) {
this.args = args;
this.viewWidth = viewWidth;
this.viewHeight = viewHeight;

View file

@ -5,10 +5,10 @@ import com.badlogic.gdx.ScreenAdapter;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public class Demo4DMainAdapter extends ScreenAdapter {
protected final Demo4DMain main;
public class GDXAppMainAdapter extends ScreenAdapter {
protected final GDXAppMain main;
public Demo4DMainAdapter(Demo4DMain main) {
public GDXAppMainAdapter(GDXAppMain main) {
this.main = main;
}
}

View file

@ -5,9 +5,9 @@ import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
abstract public class ImGuiRendererMain implements ImGuiRenderer {
protected final Demo4DMain main;
protected final GDXAppMain main;
public ImGuiRendererMain(Demo4DMain main) {
public ImGuiRendererMain(GDXAppMain main) {
this.main = main;
}
}

View file

@ -28,11 +28,11 @@ import com.badlogic.gdx.utils.viewport.ScreenViewport;
import imgui.ImGui;
import imgui.flag.ImGuiCond;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.gdxapp.Demo4DMain;
import love.distributedrebirth.gdxapp.Demo4DMainAdapter;
import love.distributedrebirth.gdxapp.GDXAppMain;
import love.distributedrebirth.gdxapp.GDXAppMainAdapter;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public class ScreenMatrix4D extends Demo4DMainAdapter {
public class ScreenMatrix4D extends GDXAppMainAdapter {
public Environment environment;
public PerspectiveCamera cam;
public CameraInputController camController;
@ -58,7 +58,7 @@ public class ScreenMatrix4D extends Demo4DMainAdapter {
private float colorFade = 0f;
private boolean colorPositive = true;
public ScreenMatrix4D(final Demo4DMain main) {
public ScreenMatrix4D(final GDXAppMain main) {
super(main);
this.create();
}

View file

@ -12,7 +12,7 @@ import imgui.flag.ImGuiTableColumnFlags;
import imgui.flag.ImGuiTableFlags;
import imgui.type.ImBoolean;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.gdxapp.Demo4DMain;
import love.distributedrebirth.gdxapp.GDXAppMain;
import love.distributedrebirth.gdxapp.ImGuiRendererMain;
import net.spookygames.gdx.nativefilechooser.NativeFileChooserCallback;
import net.spookygames.gdx.nativefilechooser.NativeFileChooserConfiguration;
@ -25,7 +25,7 @@ public class MusicPlayerRenderer extends ImGuiRendererMain {
private final NativeFileChooserConfiguration fileChooserConfig;
public MusicPlayerRenderer(Demo4DMain main) {
public MusicPlayerRenderer(GDXAppMain main) {
super(main);
fileChooserConfig = new NativeFileChooserConfiguration();
fileChooserConfig.directory = Gdx.files.absolute(System.getProperty("user.home"));

View file

@ -7,11 +7,11 @@ import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.utils.ScreenUtils;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.gdxapp.Demo4DMain;
import love.distributedrebirth.gdxapp.Demo4DMainAdapter;
import love.distributedrebirth.gdxapp.GDXAppMain;
import love.distributedrebirth.gdxapp.GDXAppMainAdapter;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
abstract public class AbstractScrollScreen extends Demo4DMainAdapter {
abstract public class AbstractScrollScreen extends GDXAppMainAdapter {
private static final int LINE_HEIGHT = 16;
private float scrollDeltaTime = 0f;
private String scrollText = "";
@ -19,14 +19,14 @@ abstract public class AbstractScrollScreen extends Demo4DMainAdapter {
private int scrollLine = LINE_HEIGHT;
private final Texture backgroundImage;
public AbstractScrollScreen(final Demo4DMain main, String background) {
public AbstractScrollScreen(final GDXAppMain main, String background) {
super(main);
backgroundImage = new Texture(Gdx.files.internal(background));
}
abstract protected String getScrollText();
abstract protected Class<? extends Screen> getNextScreen(Demo4DMain main);
abstract protected Class<? extends Screen> getNextScreen(GDXAppMain main);
@Override
public final void render(float delta) {

View file

@ -4,13 +4,13 @@ import imgui.ImGui;
import imgui.flag.ImGuiCond;
import imgui.type.ImBoolean;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.gdxapp.Demo4DMain;
import love.distributedrebirth.gdxapp.GDXAppMain;
import love.distributedrebirth.gdxapp.ImGuiRendererMain;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public class BasicConsoleRenderer extends ImGuiRendererMain {
public BasicConsoleRenderer(Demo4DMain main) {
public BasicConsoleRenderer(GDXAppMain main) {
super(main);
}

View file

@ -5,14 +5,14 @@ import imgui.flag.ImGuiCond;
import imgui.flag.ImGuiTableFlags;
import imgui.type.ImBoolean;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.gdxapp.Demo4DMain;
import love.distributedrebirth.gdxapp.GDXAppMain;
import love.distributedrebirth.gdxapp.ImGuiRendererMain;
import love.distributedrebirth.numberxd.Gê̄ldGetậl;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public class HebrewWalletRenderer extends ImGuiRendererMain {
public HebrewWalletRenderer(Demo4DMain main) {
public HebrewWalletRenderer(GDXAppMain main) {
super(main);
}

View file

@ -3,7 +3,7 @@ package love.distributedrebirth.gdxapp.screen;
import com.badlogic.gdx.Screen;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.gdxapp.Demo4DMain;
import love.distributedrebirth.gdxapp.GDXAppMain;
import love.distributedrebirth.gdxapp.music.MusicSongType;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
@ -63,7 +63,7 @@ public class ScreenCredits extends AbstractScrollScreen {
" "
);
public ScreenCredits(final Demo4DMain main) {
public ScreenCredits(final GDXAppMain main) {
super(main, "background/doom-credits.png");
}
@ -73,7 +73,7 @@ public class ScreenCredits extends AbstractScrollScreen {
}
@Override
protected Class<? extends Screen> getNextScreen(Demo4DMain main) {
protected Class<? extends Screen> getNextScreen(GDXAppMain main) {
return ScreenDefault.class;
}

View file

@ -5,14 +5,14 @@ import com.badlogic.gdx.ScreenAdapter;
import com.badlogic.gdx.graphics.Texture;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.gdxapp.Demo4DMain;
import love.distributedrebirth.gdxapp.GDXAppMain;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public class ScreenDefault extends ScreenAdapter {
private final Demo4DMain main;
private final GDXAppMain main;
private Texture backgroundImage;
public ScreenDefault(final Demo4DMain main) {
public ScreenDefault(final GDXAppMain main) {
this.main = main;
backgroundImage = new Texture(Gdx.files.internal("background/terrydavis-front.png"));
}

View file

@ -3,7 +3,7 @@ package love.distributedrebirth.gdxapp.screen;
import com.badlogic.gdx.Screen;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.gdxapp.Demo4DMain;
import love.distributedrebirth.gdxapp.GDXAppMain;
import love.distributedrebirth.gdxapp.music.MusicSongType;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
@ -46,7 +46,7 @@ public class ScreenHelp extends AbstractScrollScreen {
" "
);
public ScreenHelp(final Demo4DMain main) {
public ScreenHelp(final GDXAppMain main) {
super(main, "background/terrydavis-nose.png");
}
@ -56,7 +56,7 @@ public class ScreenHelp extends AbstractScrollScreen {
}
@Override
protected Class<? extends Screen> getNextScreen(Demo4DMain main) {
protected Class<? extends Screen> getNextScreen(GDXAppMain main) {
return ScreenDefault.class;
}

View file

@ -7,17 +7,17 @@ import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.utils.ScreenUtils;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.gdxapp.Demo4DMain;
import love.distributedrebirth.gdxapp.GDXAppMain;
import love.distributedrebirth.gdxapp.music.MusicSongType;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public class ScreenIntro extends ScreenAdapter {
private final Demo4DMain main;
private final GDXAppMain main;
private Texture backgroundImage;
private float colorDeltaTime = 0f;
private boolean colorPositive = true;
public ScreenIntro(final Demo4DMain main) {
public ScreenIntro(final GDXAppMain main) {
this.main = main;
backgroundImage = new Texture(Gdx.files.internal("background/temple-os.png"));
}

View file

@ -3,7 +3,7 @@ package love.distributedrebirth.gdxapp.screen;
import com.badlogic.gdx.Screen;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.gdxapp.Demo4DMain;
import love.distributedrebirth.gdxapp.GDXAppMain;
import love.distributedrebirth.gdxapp.music.MusicSongType;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
@ -56,7 +56,7 @@ public class ScreenIntroMission extends AbstractScrollScreen {
public ScreenIntroMission(final Demo4DMain main) {
public ScreenIntroMission(final GDXAppMain main) {
super(main, "background/terrydavis-nose.png");
}
@ -66,7 +66,7 @@ public class ScreenIntroMission extends AbstractScrollScreen {
}
@Override
protected Class<? extends Screen> getNextScreen(Demo4DMain main) {
protected Class<? extends Screen> getNextScreen(GDXAppMain main) {
return ScreenDefault.class;
}

View file

@ -5,14 +5,14 @@ import com.badlogic.gdx.ScreenAdapter;
import com.badlogic.gdx.graphics.Texture;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.gdxapp.Demo4DMain;
import love.distributedrebirth.gdxapp.GDXAppMain;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public class ScreenLoading extends ScreenAdapter {
private final Demo4DMain main;
private final GDXAppMain main;
private Texture backgroundImage;
public ScreenLoading(final Demo4DMain main) {
public ScreenLoading(final GDXAppMain main) {
this.main = main;
backgroundImage = new Texture(Gdx.files.internal("background/gdxapp-loading.png"));
}

View file

@ -6,13 +6,13 @@ import imgui.ImGui;
import imgui.ImVec2;
import imgui.flag.ImGuiCond;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.gdxapp.Demo4DMain;
import love.distributedrebirth.gdxapp.Demo4DMainAdapter;
import love.distributedrebirth.gdxapp.GDXAppMain;
import love.distributedrebirth.gdxapp.GDXAppMainAdapter;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public class ScreenUnicode4D extends Demo4DMainAdapter {
public class ScreenUnicode4D extends GDXAppMainAdapter {
public ScreenUnicode4D(final Demo4DMain main) {
public ScreenUnicode4D(final GDXAppMain main) {
super(main);
}

View file

@ -9,7 +9,7 @@ import imgui.flag.ImGuiTableFlags;
import imgui.type.ImBoolean;
import imgui.type.ImInt;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.gdxapp.Demo4DMain;
import love.distributedrebirth.gdxapp.GDXAppMain;
import love.distributedrebirth.gdxapp.ImGuiRendererMain;
import love.distributedrebirth.numberxd.glyph.BaseGlyphSet;
import love.distributedrebirth.numberxd.glyph.BaseGlyphSetNumber;
@ -19,7 +19,7 @@ public class SystemBaseGlyphRenderer extends ImGuiRendererMain {
private ImInt selectedGlyphPart = new ImInt();
public SystemBaseGlyphRenderer(Demo4DMain main) {
public SystemBaseGlyphRenderer(GDXAppMain main) {
super(main);
}

View file

@ -9,7 +9,7 @@ import imgui.flag.ImGuiTableFlags;
import imgui.type.ImBoolean;
import imgui.type.ImInt;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.gdxapp.Demo4DMain;
import love.distributedrebirth.gdxapp.GDXAppMain;
import love.distributedrebirth.gdxapp.ImGuiRendererMain;
import love.distributedrebirth.numberxd.base2t.BasePartFactory;
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartAlt1ʸᴰ;
@ -24,7 +24,7 @@ public class SystemBasePartRenderer extends ImGuiRendererMain {
private ImInt selectedBasePart = new ImInt();
public SystemBasePartRenderer(Demo4DMain main) {
public SystemBasePartRenderer(GDXAppMain main) {
super(main);
}