Cleaned up UI, merged atlases, added GLProfiling

This commit is contained in:
Anuken
2017-10-22 16:24:49 -04:00
parent 2ca4f8b90a
commit 70693ffdd3
130 changed files with 662 additions and 939 deletions

View File

@@ -2,6 +2,7 @@ package io.anuke.mindustry;
import java.util.Date;
import com.badlogic.gdx.graphics.profiling.GLProfiler;
import com.badlogic.gdx.utils.Array;
import io.anuke.mindustry.GameState.State;
@@ -31,6 +32,9 @@ public class Mindustry extends ModuleCore {
@Override
public void init(){
//if(Vars.debug){
GLProfiler.enable();
//}
//always initialize blocks in this order, otherwise there are ID errors
Blocks.dirt.getClass();
ProductionBlocks.coaldrill.getClass();