Memory optimizations, multithreading fixes, uCore updated
This commit is contained in:
@@ -2,6 +2,7 @@ package io.anuke.mindustry;
|
||||
|
||||
import io.anuke.mindustry.core.*;
|
||||
import io.anuke.mindustry.io.BundleLoader;
|
||||
import io.anuke.ucore.core.Timers;
|
||||
import io.anuke.ucore.modules.ModuleCore;
|
||||
import io.anuke.ucore.util.Log;
|
||||
|
||||
@@ -15,10 +16,14 @@ public class Mindustry extends ModuleCore {
|
||||
|
||||
debug = Platform.instance.isDebug();
|
||||
|
||||
Timers.mark();
|
||||
|
||||
Log.setUseColors(false);
|
||||
BundleLoader.load();
|
||||
ContentLoader.load();
|
||||
|
||||
Log.info("Time to load content: {0}", Timers.elapsed());
|
||||
|
||||
module(logic = new Logic());
|
||||
module(world = new World());
|
||||
module(control = new Control());
|
||||
|
||||
Reference in New Issue
Block a user