Moved copyright to runtime

This commit is contained in:
Willem 2022-02-04 14:39:25 +01:00
parent 91ce3afcce
commit 960d71aaef
21 changed files with 51 additions and 90 deletions

View file

@ -15,6 +15,7 @@ import com.badlogic.gdx.utils.ScreenUtils;
import imgui.ImGui; import imgui.ImGui;
import imgui.type.ImBoolean; import imgui.type.ImBoolean;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.demo4d.matrix4d.ScreenMatrix4D; import love.distributedrebirth.demo4d.matrix4d.ScreenMatrix4D;
import love.distributedrebirth.demo4d.music.MusicManager; import love.distributedrebirth.demo4d.music.MusicManager;
import love.distributedrebirth.demo4d.music.MusicPlayerRenderer; import love.distributedrebirth.demo4d.music.MusicPlayerRenderer;
@ -33,9 +34,8 @@ import net.spookygames.gdx.nativefilechooser.NativeFileChooser;
/** /**
* Main loop render dispatcher and event handling. * Main loop render dispatcher and event handling.
*
* @author willemtsade ©Δ 仙上主天
*/ */
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public class Demo4DMain extends Game { public class Demo4DMain extends Game {
private List<String> args; private List<String> args;
public NativeFileChooser fileChooser; public NativeFileChooser fileChooser;

View file

@ -2,11 +2,9 @@ package love.distributedrebirth.demo4d;
import com.badlogic.gdx.ScreenAdapter; import com.badlogic.gdx.ScreenAdapter;
/** import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
*
* @BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
* @author willemtsade ©Δ 仙上主天
*/
public class Demo4DMainAdapter extends ScreenAdapter { public class Demo4DMainAdapter extends ScreenAdapter {
protected final Demo4DMain main; protected final Demo4DMain main;

View file

@ -1,12 +1,9 @@
package love.distributedrebirth.demo4d; package love.distributedrebirth.demo4d;
import imgui.type.ImBoolean; import imgui.type.ImBoolean;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
/** @BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
*
*
* @author willemtsade ©Δ 仙上主天
*/
public interface ImGuiRenderer { public interface ImGuiRenderer {
void render(ImBoolean widgetOpen); void render(ImBoolean widgetOpen);

View file

@ -1,10 +1,8 @@
package love.distributedrebirth.demo4d; package love.distributedrebirth.demo4d;
/** import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
*
* @BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
* @author willemtsade ©Δ 仙上主天
*/
abstract public class ImGuiRendererMain implements ImGuiRenderer { abstract public class ImGuiRendererMain implements ImGuiRenderer {
protected final Demo4DMain main; protected final Demo4DMain main;

View file

@ -8,12 +8,12 @@ import imgui.ImGui;
import imgui.ImGuiIO; import imgui.ImGuiIO;
import imgui.gl3.ImGuiImplGl3; import imgui.gl3.ImGuiImplGl3;
import imgui.glfw.ImGuiImplGlfw; import imgui.glfw.ImGuiImplGlfw;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
/** /**
* Create and shutdown of ImGui and font activations. * Create and shutdown of ImGui and font activations.
*
* @author willemtsade ©Δ 仙上主天
*/ */
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public class ImGuiSetup { public class ImGuiSetup {
public static final ImGuiImplGlfw imGuiImp = new ImGuiImplGlfw(); public static final ImGuiImplGlfw imGuiImp = new ImGuiImplGlfw();
public static final ImGuiImplGl3 imGuiGlImp = new ImGuiImplGl3(); public static final ImGuiImplGl3 imGuiGlImp = new ImGuiImplGl3();

View file

@ -27,14 +27,11 @@ import com.badlogic.gdx.utils.viewport.ScreenViewport;
import imgui.ImGui; import imgui.ImGui;
import imgui.flag.ImGuiCond; import imgui.flag.ImGuiCond;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.demo4d.Demo4DMain; import love.distributedrebirth.demo4d.Demo4DMain;
import love.distributedrebirth.demo4d.Demo4DMainAdapter; import love.distributedrebirth.demo4d.Demo4DMainAdapter;
/** @BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
*
*
* @author willemtsade ©Δ 仙上主天
*/
public class ScreenMatrix4D extends Demo4DMainAdapter { public class ScreenMatrix4D extends Demo4DMainAdapter {
public Environment environment; public Environment environment;
public PerspectiveCamera cam; public PerspectiveCamera cam;

View file

@ -11,11 +11,9 @@ import com.badlogic.gdx.graphics.g3d.utils.RenderContext;
import com.badlogic.gdx.graphics.glutils.ShaderProgram; import com.badlogic.gdx.graphics.glutils.ShaderProgram;
import com.badlogic.gdx.utils.GdxRuntimeException; import com.badlogic.gdx.utils.GdxRuntimeException;
/** import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
*
* @BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
* @author willemtsade ©Δ 仙上主天
*/
public class UserColorShader implements Shader { public class UserColorShader implements Shader {
ShaderProgram program; ShaderProgram program;
Camera camera; Camera camera;

View file

@ -8,11 +8,12 @@ import com.badlogic.gdx.audio.Music;
import com.badlogic.gdx.audio.Music.OnCompletionListener; import com.badlogic.gdx.audio.Music.OnCompletionListener;
import com.badlogic.gdx.files.FileHandle; import com.badlogic.gdx.files.FileHandle;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
/** /**
* Manages the background and others songs. * Manages the background and others songs.
*
* @author willemtsade ©Δ 仙上主天
*/ */
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public class MusicManager { public class MusicManager {
private final MusicSong introSong; private final MusicSong introSong;

View file

@ -12,15 +12,15 @@ import imgui.flag.ImGuiTableColumnFlags;
import imgui.flag.ImGuiTableFlags; import imgui.flag.ImGuiTableFlags;
import imgui.type.ImBoolean; import imgui.type.ImBoolean;
import love.distributedrebirth.demo4d.ImGuiRendererMain; import love.distributedrebirth.demo4d.ImGuiRendererMain;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.demo4d.Demo4DMain; import love.distributedrebirth.demo4d.Demo4DMain;
import net.spookygames.gdx.nativefilechooser.NativeFileChooserCallback; import net.spookygames.gdx.nativefilechooser.NativeFileChooserCallback;
import net.spookygames.gdx.nativefilechooser.NativeFileChooserConfiguration; import net.spookygames.gdx.nativefilechooser.NativeFileChooserConfiguration;
/** /**
* * The music player ui.
*
* @author willemtsade ©Δ 仙上主天
*/ */
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public class MusicPlayerRenderer extends ImGuiRendererMain { public class MusicPlayerRenderer extends ImGuiRendererMain {
private final NativeFileChooserConfiguration fileChooserConfig; private final NativeFileChooserConfiguration fileChooserConfig;

View file

@ -2,11 +2,12 @@ package love.distributedrebirth.demo4d.music;
import com.badlogic.gdx.audio.Music; import com.badlogic.gdx.audio.Music;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
/** /**
* * The music with the (file) name.
*
* @author willemtsade ©Δ 仙上主天
*/ */
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public class MusicSong { public class MusicSong {
protected final Music music; protected final Music music;
private final String name; private final String name;

View file

@ -1,10 +1,11 @@
package love.distributedrebirth.demo4d.music; package love.distributedrebirth.demo4d.music;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
/** /**
* * The song types.
*
* @author willemtsade ©Δ 仙上主天
*/ */
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public enum MusicSongType { public enum MusicSongType {
INTRO, INTRO,
CREDITS, CREDITS,

View file

@ -8,6 +8,7 @@ import imgui.flag.ImGuiCond;
import imgui.flag.ImGuiTableFlags; import imgui.flag.ImGuiTableFlags;
import imgui.type.ImBoolean; import imgui.type.ImBoolean;
import imgui.type.ImInt; import imgui.type.ImInt;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.demo4d.Demo4DMain; import love.distributedrebirth.demo4d.Demo4DMain;
import love.distributedrebirth.demo4d.ImGuiRendererMain; import love.distributedrebirth.demo4d.ImGuiRendererMain;
import love.distributedrebirth.numberxd.base2t.BasePartFactory; import love.distributedrebirth.numberxd.base2t.BasePartFactory;
@ -18,11 +19,7 @@ import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartAlt3ʸᴰ;
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartAlt4ʸᴰ; import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartAlt4ʸᴰ;
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartʸᴰ; import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartʸᴰ;
/** @BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
*
*
* @author willemtsade ©Δ 仙上主天
*/
public class BasePartRenderer extends ImGuiRendererMain { public class BasePartRenderer extends ImGuiRendererMain {
private ImInt selectedBasePart = new ImInt(); private ImInt selectedBasePart = new ImInt();

View file

@ -3,14 +3,11 @@ package love.distributedrebirth.demo4d.screen;
import imgui.ImGui; import imgui.ImGui;
import imgui.flag.ImGuiCond; import imgui.flag.ImGuiCond;
import imgui.type.ImBoolean; import imgui.type.ImBoolean;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.demo4d.Demo4DMain; import love.distributedrebirth.demo4d.Demo4DMain;
import love.distributedrebirth.demo4d.ImGuiRendererMain; import love.distributedrebirth.demo4d.ImGuiRendererMain;
/** @BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
*
*
* @author willemtsade ©Δ 仙上主天
*/
public class BasicConsoleRenderer extends ImGuiRendererMain { public class BasicConsoleRenderer extends ImGuiRendererMain {
public BasicConsoleRenderer(Demo4DMain main) { public BasicConsoleRenderer(Demo4DMain main) {

View file

@ -4,15 +4,12 @@ import imgui.ImGui;
import imgui.flag.ImGuiCond; import imgui.flag.ImGuiCond;
import imgui.flag.ImGuiTableFlags; import imgui.flag.ImGuiTableFlags;
import imgui.type.ImBoolean; import imgui.type.ImBoolean;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.demo4d.Demo4DMain; import love.distributedrebirth.demo4d.Demo4DMain;
import love.distributedrebirth.demo4d.ImGuiRendererMain; import love.distributedrebirth.demo4d.ImGuiRendererMain;
import love.distributedrebirth.numberxd.Gê̄ldGetậl; import love.distributedrebirth.numberxd.Gê̄ldGetậl;
/** @BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
*
*
* @author willemtsade ©Δ 仙上主天
*/
public class HebrewWalletRenderer extends ImGuiRendererMain { public class HebrewWalletRenderer extends ImGuiRendererMain {
public HebrewWalletRenderer(Demo4DMain main) { public HebrewWalletRenderer(Demo4DMain main) {

View file

@ -2,14 +2,11 @@ package love.distributedrebirth.demo4d.screen;
import com.badlogic.gdx.Screen; import com.badlogic.gdx.Screen;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.demo4d.Demo4DMain; import love.distributedrebirth.demo4d.Demo4DMain;
import love.distributedrebirth.demo4d.music.MusicSongType; import love.distributedrebirth.demo4d.music.MusicSongType;
/** @BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
*
*
* @author willemtsade ©Δ 仙上主天
*/
public class ScreenCredits extends ScrollScreenAdapter { public class ScreenCredits extends ScrollScreenAdapter {
private final String creditsText = String.join("\n", private final String creditsText = String.join("\n",
"Credits;", "Credits;",

View file

@ -5,13 +5,10 @@ import com.badlogic.gdx.ScreenAdapter;
import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.utils.ScreenUtils; import com.badlogic.gdx.utils.ScreenUtils;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.demo4d.Demo4DMain; import love.distributedrebirth.demo4d.Demo4DMain;
/** @BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
*
*
* @author willemtsade ©Δ 仙上主天
*/
public class ScreenDefault extends ScreenAdapter { public class ScreenDefault extends ScreenAdapter {
private final Demo4DMain main; private final Demo4DMain main;
private Texture backgroundImage; private Texture backgroundImage;

View file

@ -2,14 +2,11 @@ package love.distributedrebirth.demo4d.screen;
import com.badlogic.gdx.Screen; import com.badlogic.gdx.Screen;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.demo4d.Demo4DMain; import love.distributedrebirth.demo4d.Demo4DMain;
import love.distributedrebirth.demo4d.music.MusicSongType; import love.distributedrebirth.demo4d.music.MusicSongType;
/** @BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
*
*
* @author willemtsade ©Δ 仙上主天
*/
public class ScreenHelp extends ScrollScreenAdapter { public class ScreenHelp extends ScrollScreenAdapter {
private final String creditsText = String.join("\n", private final String creditsText = String.join("\n",
"Genesis 11", "Genesis 11",

View file

@ -6,14 +6,11 @@ import com.badlogic.gdx.Input.Keys;
import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.utils.ScreenUtils; import com.badlogic.gdx.utils.ScreenUtils;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.demo4d.Demo4DMain; import love.distributedrebirth.demo4d.Demo4DMain;
import love.distributedrebirth.demo4d.music.MusicSongType; import love.distributedrebirth.demo4d.music.MusicSongType;
/** @BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
*
*
* @author willemtsade ©Δ 仙上主天
*/
public class ScreenIntro extends ScreenAdapter { public class ScreenIntro extends ScreenAdapter {
private final Demo4DMain main; private final Demo4DMain main;
private Texture backgroundImage; private Texture backgroundImage;

View file

@ -2,14 +2,11 @@ package love.distributedrebirth.demo4d.screen;
import com.badlogic.gdx.Screen; import com.badlogic.gdx.Screen;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.demo4d.Demo4DMain; import love.distributedrebirth.demo4d.Demo4DMain;
import love.distributedrebirth.demo4d.music.MusicSongType; import love.distributedrebirth.demo4d.music.MusicSongType;
/** @BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
*
*
* @author willemtsade ©Δ 仙上主天
*/
public class ScreenIntroMission extends ScrollScreenAdapter { public class ScreenIntroMission extends ScrollScreenAdapter {
private final String missionText = String.join("\n", private final String missionText = String.join("\n",
"To a Waterfowl", "To a Waterfowl",

View file

@ -5,14 +5,11 @@ import imgui.ImDrawList;
import imgui.ImGui; import imgui.ImGui;
import imgui.ImVec2; import imgui.ImVec2;
import imgui.flag.ImGuiCond; import imgui.flag.ImGuiCond;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.demo4d.Demo4DMain; import love.distributedrebirth.demo4d.Demo4DMain;
import love.distributedrebirth.demo4d.Demo4DMainAdapter; import love.distributedrebirth.demo4d.Demo4DMainAdapter;
/** @BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
*
*
* @author willemtsade ©Δ 仙上主天
*/
public class ScreenUnicode4D extends Demo4DMainAdapter { public class ScreenUnicode4D extends Demo4DMainAdapter {
public ScreenUnicode4D(final Demo4DMain main) { public ScreenUnicode4D(final Demo4DMain main) {

View file

@ -6,14 +6,11 @@ import com.badlogic.gdx.Input.Keys;
import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.utils.ScreenUtils; import com.badlogic.gdx.utils.ScreenUtils;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.demo4d.Demo4DMain; import love.distributedrebirth.demo4d.Demo4DMain;
import love.distributedrebirth.demo4d.Demo4DMainAdapter; import love.distributedrebirth.demo4d.Demo4DMainAdapter;
/** @BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
*
*
* @author willemtsade ©Δ 仙上主天
*/
abstract public class ScrollScreenAdapter extends Demo4DMainAdapter { abstract public class ScrollScreenAdapter extends Demo4DMainAdapter {
private static final int LINE_HEIGHT = 16; private static final int LINE_HEIGHT = 16;
private float scrollDeltaTime = 0f; private float scrollDeltaTime = 0f;