non-functional loading screen

This commit is contained in:
Anuken
2019-08-26 22:53:11 -04:00
parent 1fc9c82aaf
commit 76cd7ba8d1
211 changed files with 722 additions and 699 deletions

View File

@@ -16,8 +16,8 @@ import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import static io.anuke.mindustry.Vars.content;
import static io.anuke.mindustry.Vars.tilesize;
import static io.anuke.mindustry.Min.content;
import static io.anuke.mindustry.Min.tilesize;
public class Generators{

View File

@@ -19,11 +19,11 @@ public class ImagePacker{
static ObjectMap<TextureRegion, BufferedImage> imageCache = new ObjectMap<>();
public static void main(String[] args) throws IOException{
Vars.headless = true;
Min.headless = true;
Log.setLogger(new NoopLogHandler());
Vars.content = new ContentLoader();
Vars.content.load();
Min.content = new ContentLoader();
Min.content.createContent();
Log.setLogger(new LogHandler());
Files.walk(Paths.get("../../../assets-raw/sprites_out")).forEach(path -> {

View File

@@ -9,9 +9,9 @@ import io.anuke.arc.util.*;
public class Upscaler{
static Res[] resolutions = {
new Res(Vars.iconsizesmall, "-small"),
new Res(Vars.iconsizemed, "-med"),
new Res(Vars.iconsize, ""),
new Res(Min.iconsizesmall, "-small"),
new Res(Min.iconsizemed, "-med"),
new Res(Min.iconsize, ""),
};
public static void main(String[] args){