summaryrefslogtreecommitdiffstats
path: root/html/src/ch
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2018-06-27 09:18:55 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2018-06-28 16:25:03 +0200
commit1e5fc3262942078fe00d51c2f2c9a241bd01a582 (patch)
tree16eb11790da32857ea493d297ead72c94de937d3 /html/src/ch
parentc87bb2d10bab1f68d320b7f564e568ab742193ac (diff)
downloadgdx-boardgame-1e5fc3262942078fe00d51c2f2c9a241bd01a582.zip
gdx-boardgame-1e5fc3262942078fe00d51c2f2c9a241bd01a582.tar.gz
get rid of html target
Diffstat (limited to 'html/src/ch')
-rw-r--r--html/src/ch/asynk/zproject/GdxDefinition.gwt.xml10
-rw-r--r--html/src/ch/asynk/zproject/GdxDefinitionSuperdev.gwt.xml13
-rw-r--r--html/src/ch/asynk/zproject/client/HtmlLauncher.java51
3 files changed, 0 insertions, 74 deletions
diff --git a/html/src/ch/asynk/zproject/GdxDefinition.gwt.xml b/html/src/ch/asynk/zproject/GdxDefinition.gwt.xml
deleted file mode 100644
index 20c5d68..0000000
--- a/html/src/ch/asynk/zproject/GdxDefinition.gwt.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit trunk//EN" "http://google-web-toolkit.googlecode.com/svn/trunk/distro-source/core/src/gwt-module.dtd">
-<module rename-to="html">
- <inherits name='com.badlogic.gdx.backends.gdx_backends_gwt' />
-
- <inherits name='ZProject' />
- <entry-point class='ch.asynk.zproject.client.HtmlLauncher' />
- <set-configuration-property name='xsiframe.failIfScriptTag' value='FALSE'/>
- <set-configuration-property name="gdx.assetpath" value="../android/assets" />
-</module>
diff --git a/html/src/ch/asynk/zproject/GdxDefinitionSuperdev.gwt.xml b/html/src/ch/asynk/zproject/GdxDefinitionSuperdev.gwt.xml
deleted file mode 100644
index 7bb9081..0000000
--- a/html/src/ch/asynk/zproject/GdxDefinitionSuperdev.gwt.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit trunk//EN" "http://google-web-toolkit.googlecode.com/svn/trunk/distro-source/core/src/gwt-module.dtd">
-<module rename-to="html">
- <inherits name='com.badlogic.gdx.backends.gdx_backends_gwt' />
-
- <inherits name='ch.asynk.zproject.GdxDefinition' />
-
- <collapse-all-properties />
-
- <add-linker name="xsiframe"/>
- <set-configuration-property name="devModeRedirectEnabled" value="true"/>
- <set-configuration-property name='xsiframe.failIfScriptTag' value='FALSE'/>
-</module>
diff --git a/html/src/ch/asynk/zproject/client/HtmlLauncher.java b/html/src/ch/asynk/zproject/client/HtmlLauncher.java
deleted file mode 100644
index 5890e0c..0000000
--- a/html/src/ch/asynk/zproject/client/HtmlLauncher.java
+++ /dev/null
@@ -1,51 +0,0 @@
-package ch.asynk.zproject.client;
-
-import com.badlogic.gdx.ApplicationListener;
-import com.badlogic.gdx.backends.gwt.GwtApplication;
-import com.badlogic.gdx.backends.gwt.GwtApplicationConfiguration;
-import ch.asynk.zproject.ZProject;
-
-public class HtmlLauncher extends GwtApplication {
-
- // USE THIS CODE FOR A FIXED SIZE APPLICATION
- @Override
- public GwtApplicationConfiguration getConfig () {
- return new GwtApplicationConfiguration(480, 320);
- }
- // END CODE FOR FIXED SIZE APPLICATION
-
- // UNCOMMENT THIS CODE FOR A RESIZABLE APPLICATION
- // PADDING is to avoid scrolling in iframes, set to 20 if you have problems
- // private static final int PADDING = 0;
- // private GwtApplicationConfiguration cfg;
- //
- // @Override
- // public GwtApplicationConfiguration getConfig() {
- // int w = Window.getClientWidth() - PADDING;
- // int h = Window.getClientHeight() - PADDING;
- // cfg = new GwtApplicationConfiguration(w, h);
- // Window.enableScrolling(false);
- // Window.setMargin("0");
- // Window.addResizeHandler(new ResizeListener());
- // cfg.preferFlash = false;
- // return cfg;
- // }
- //
- // class ResizeListener implements ResizeHandler {
- // @Override
- // public void onResize(ResizeEvent event) {
- // int width = event.getWidth() - PADDING;
- // int height = event.getHeight() - PADDING;
- // getRootPanel().setWidth("" + width + "px");
- // getRootPanel().setHeight("" + height + "px");
- // getApplicationListener().resize(width, height);
- // Gdx.graphics.setWindowedMode(width, height);
- // }
- // }
- // END OF CODE FOR RESIZABLE APPLICATION
-
- @Override
- public ApplicationListener createApplicationListener () {
- return new ZProject();
- }
-} \ No newline at end of file