Various icon changes

This commit is contained in:
Anuken
2020-01-17 13:57:04 -05:00
parent 4f29c80814
commit c3d2351b2d
173 changed files with 1665 additions and 217 deletions

View File

@ -353,3 +353,10 @@ task updateBundles(dependsOn: classes, type: JavaExec){
standardInput = System.in
workingDir = "../core/assets/bundles/"
}
task fontgen(dependsOn: classes, type: JavaExec){
main = "mindustry.tools.FontGenerator"
classpath = sourceSets.main.runtimeClasspath
standardInput = System.in
workingDir = "../"
}

View File

@ -42,6 +42,7 @@ public class FontGenerator{
ZipFi zip = new ZipFi(folder.child("font.zip"));
Fi dest = folder.child("font.ttf");
zip.list()[0].child("font").child("fontello.ttf").copyTo(dest);
dest.copyTo(Fi.get("core/assets/fonts/icon.ttf"));
Log.info("Merge...");