mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-09 23:37:51 +07:00
Test: Disable antialiasing
This commit is contained in:
@ -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);
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
|
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user