non-functional loading screen
This commit is contained in:
@@ -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{
|
||||
|
||||
|
||||
@@ -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 -> {
|
||||
|
||||
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user