Shadows setting / Server map text limit / Fallback spritesheet

This commit is contained in:
Anuken
2019-03-23 11:02:59 -04:00
parent 4bc9143306
commit ed4d0eb5d0
15 changed files with 10978 additions and 11 deletions
@@ -26,7 +26,6 @@ import static io.anuke.mindustry.Vars.*;
public class BlockRenderer{
private final static int initialRequests = 32 * 32;
private final static int expandr = 9;
private final static boolean disableShadows = false;
private final static Color shadowColor = new Color(0, 0, 0, 0.19f);
public final FloorRenderer floor = new FloorRenderer();
@@ -100,7 +99,7 @@ public class BlockRenderer{
}
public void drawShadows(){
if(disableShadows) return;
if(!Core.settings.getBool("shadows")) return;
Draw.color();