cleaning up mistakes

This commit is contained in:
Anuken
2020-06-11 13:42:22 -04:00
parent 732769524c
commit e247b092dc
9 changed files with 662 additions and 674 deletions

View File

@@ -146,7 +146,7 @@ public class AndroidLauncher extends AndroidApplication{
}, new AndroidApplicationConfiguration(){{ }, new AndroidApplicationConfiguration(){{
useImmersiveMode = true; useImmersiveMode = true;
hideStatusBar = true; hideStatusBar = true;
//useGL30 = true; useGL30 = true;
errorHandler = CrashSender::log; errorHandler = CrashSender::log;
stencil = 8; stencil = 8;
}}); }});

View File

@@ -1,3 +1,5 @@
#define HIGHP
#define MAX_HITS 64 #define MAX_HITS 64
#define HIT_RADIUS 12.0 #define HIT_RADIUS 12.0
#define ALPHA 0.18 #define ALPHA 0.18

View File

@@ -1,3 +1,5 @@
#define HIGHP
uniform sampler2D u_texture; uniform sampler2D u_texture;
uniform vec2 u_campos; uniform vec2 u_campos;

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 836 KiB

After

Width:  |  Height:  |  Size: 847 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 124 KiB

After

Width:  |  Height:  |  Size: 124 KiB

View File

@@ -48,9 +48,7 @@ public abstract class ClientLauncher extends ApplicationCore implements Platform
return (Float.isNaN(result) || Float.isInfinite(result)) ? 1f : Mathf.clamp(result, 0.0001f, 60f / 10f); return (Float.isNaN(result) || Float.isInfinite(result)) ? 1f : Mathf.clamp(result, 0.0001f, 60f / 10f);
}); });
batch = new SortedSpriteDelegate(Vars.useArrayTextures ? batch = new SortedSpriteBatch();
new ArrayTextureSpriteBatch() :
new SpriteBatch());
assets = new AssetManager(); assets = new AssetManager();
assets.setLoader(Texture.class, "." + mapExtension, new MapPreviewLoader()); assets.setLoader(Texture.class, "." + mapExtension, new MapPreviewLoader());

View File

@@ -39,7 +39,7 @@ public class Vars implements Loadable{
/** Maximum schematic size.*/ /** Maximum schematic size.*/
public static final int maxSchematicSize = 32; public static final int maxSchematicSize = 32;
/** Whether to use array texture batches. */ /** Whether to use array texture batches. */
public static boolean useArrayTextures = true; public static boolean useArrayTextures = false;
/** All schematic base64 starts with this string.*/ /** All schematic base64 starts with this string.*/
public static final String schematicBaseStart ="bXNjaAB"; public static final String schematicBaseStart ="bXNjaAB";
/** IO buffer size. */ /** IO buffer size. */

View File

@@ -1,3 +1,3 @@
org.gradle.daemon=true org.gradle.daemon=true
org.gradle.jvmargs=-Xms256m -Xmx1024m org.gradle.jvmargs=-Xms256m -Xmx1024m
archash=c35b04d61dcdfe42146739d9889a99ef426f9641 archash=fe98ee919fd2c8761640281e2c4640ddb8765264