Improve code / xml formatting, #54

This commit is contained in:
Emux
2016-07-12 19:25:33 +03:00
parent e793e8851b
commit 43ca550832
133 changed files with 2803 additions and 2791 deletions

View File

@@ -37,10 +37,10 @@ public class GdxGL extends GwtGL20 implements GL {
this.gl = gl;
}
// @Override
// public void glGetShaderSource(int shader, int bufsize, Buffer length, String source) {
// @Override
// public void glGetShaderSource(int shader, int bufsize, Buffer length, String source) {
//
// }
// }
@Override
public void glTexImage2D(int target, int level, int internalformat, int width, int height,

View File

@@ -24,26 +24,26 @@ public class MapConfig extends JavaScriptObject {
public static native MapConfig get()/*-{
return $wnd.mapconfig;
}-*/;
}-*/;
public final native double getLatitude() /*-{
return this.latitude || 0;
}-*/;
}-*/;
public final native double getLongitude() /*-{
return this.longitude || 0;
}-*/;
return this.longitude || 0;
}-*/;
public final native int getZoom() /*-{
return this.zoom || 2;
}-*/;
return this.zoom || 2;
}-*/;
public final native String getTileSource() /*-{
return this.tilesource;
}-*/;
return this.tilesource;
}-*/;
public final native int getTileSize() /*-{
return this.tileSize || 256;
}-*/;
return this.tileSize || 256;
}-*/;
}

View File

@@ -59,10 +59,10 @@ public class MapUrl extends Timer {
rotation = Float.parseFloat(p.substring(4));
else if (p.startsWith("tilt="))
tilt = Float.parseFloat(p.substring(5));
// else if (p.startsWith("theme="))
// themeName = p.substring(6);
// else if (p.startsWith("map="))
// mapName = p.substring(4);
// else if (p.startsWith("theme="))
// themeName = p.substring(6);
// else if (p.startsWith("map="))
// mapName = p.substring(4);
else {
String[] opt = p.split("=");
if (opt.length > 1)