Test: Disable antialiasing

This commit is contained in:
Anuken
2021-06-03 09:49:41 -04:00
parent e248f44099
commit 7a93c21d10
4 changed files with 12 additions and 4 deletions

View File

@ -144,6 +144,14 @@ public class MinimapRenderer{
public void update(Tile tile){ public void update(Tile tile){
if(world.isGenerating() || !state.isGame()) return; if(world.isGenerating() || !state.isGame()) return;
if(tile.build != null && tile.isCenter()){
tile.getLinkedTiles(other -> {
if(!other.isCenter()){
update(other);
}
});
}
int color = colorFor(tile); int color = colorFor(tile);
pixmap.set(tile.x, pixmap.height - 1 - tile.y, color); pixmap.set(tile.x, pixmap.height - 1 - tile.y, color);

View File

@ -241,7 +241,6 @@ public class Tile implements Position, QuadTreeObject, Displayable{
//assign entity and type to blocks, so they act as proxies for this one //assign entity and type to blocks, so they act as proxies for this one
other.build = entity; other.build = entity;
other.block = block; other.block = block;
} }
} }
} }

View File

@ -1,5 +1,6 @@
org.gradle.daemon=true org.gradle.daemon=true
org.gradle.jvmargs=-Xms256m -Xmx1024m --illegal-access=permit #--illegal-access=permit
org.gradle.jvmargs=-Xms256m -Xmx1024m
# Don't recompute annotations if sources haven't been changed # Don't recompute annotations if sources haven't been changed
kapt.incremental.apt = true kapt.incremental.apt = true
# Multithreaded # Multithreaded
@ -8,4 +9,4 @@ kapt.use.worker.api=true
kapt.include.compile.classpath=false kapt.include.compile.classpath=false
# I don't need to use the kotlin stdlib yet, so remove it to prevent extra bloat & method count issues # I don't need to use the kotlin stdlib yet, so remove it to prevent extra bloat & method count issues
kotlin.stdlib.default.dependency=false kotlin.stdlib.default.dependency=false
archash=5a9d95001fc988df2681616ebc33152b9c88ea92 archash=b8f52056240e6779d5b2c13b71235778ade8346c

View File

@ -220,7 +220,7 @@ task pack(dependsOn: [classes, configurations.runtimeClasspath]){
if(file.isDirectory() || (file.toString().replace("\\", "/").contains("/ui/") && file.toString().startsWith("icon-")) || file.toString().contains(".9.png")) return if(file.isDirectory() || (file.toString().replace("\\", "/").contains("/ui/") && file.toString().startsWith("icon-")) || file.toString().contains(".9.png")) return
executor.submit{ executor.submit{
antialias(file.file) //antialias(file.file)
} }
} }