Misc fixes

This commit is contained in:
Anuken 2018-08-08 01:09:57 -04:00
parent aa00a1b8d1
commit b27fefae88
4 changed files with 10 additions and 4 deletions

View File

@ -50,7 +50,7 @@ allprojects {
output += '"' + other.name.substring("bundle".length() + 1, other.name.lastIndexOf('.')) + '",'
}
output = (output.substring(0, output.size() - 1) + "]")
new File('core/assets/locales.json').text = output;
new File(project(':core').projectDir, 'assets/locales.json').text = output;
}
writeVersion = {
@ -130,12 +130,17 @@ project(":ios") {
dependencies {
compile project(":core")
implementation project(":kryonet")
compileOnly project(":annotations")
compile "com.mobidevelop.robovm:robovm-rt:$roboVMVersion"
compile "com.mobidevelop.robovm:robovm-cocoatouch:$roboVMVersion"
compile "com.badlogicgames.gdx:gdx-backend-robovm:$gdxVersion"
compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-ios"
}
compileJava.options.compilerArgs += [
"-processor", "io.anuke.annotations.RemoteMethodAnnotationProcessor"
]
}
project(":core") {

View File

@ -536,8 +536,8 @@ unit.drone.name=Drone
unit.drone.description=The starter drone unit. Spawns in the core by default. Automatically mines ores, collects items and repairs blocks.
unit.fabricator.name=Fabricator
unit.fabricator.description=An advanced drone unit. Automatically mines ores, collects items and repairs blocks. Significantly more effective than a drone.
unit.scout.name=Scout
unit.scout.description=A basic ground unit. Useful in massive swarms.
unit.dagger.name=Scout
unit.dagger.description=A basic ground unit. Useful in swarms.
unit.titan.name=Titan
unit.titan.description=An advanced, armored ground unit. Attacks both ground and air targets.
unit.monsoon.name=Monsoon

View File

@ -128,6 +128,7 @@ public class CustomGameDialog extends FloatingDialog{
pane.setFadeScrollBars(false);
table.row();
for(GameMode mode : GameMode.values()){
if(mode.hidden) continue;
table.labelWrap("[accent]" + mode.toString() + ":[] [lightgray]" + mode.description()).width(400f);
table.row();
}

View File

@ -2,5 +2,5 @@ app.version=4.0
app.id=io.anuke.mindustry
app.mainclass=io.anuke.mindustry.IOSLauncher
app.executable=IOSLauncher
app.build=17
app.build=19
app.name=Mindustry