From b27fefae889ad411a83f1814549a13fdb56e2ca0 Mon Sep 17 00:00:00 2001 From: Anuken Date: Wed, 8 Aug 2018 01:09:57 -0400 Subject: [PATCH] Misc fixes --- build.gradle | 7 ++++++- core/assets/bundles/bundle.properties | 4 ++-- .../io/anuke/mindustry/ui/dialogs/CustomGameDialog.java | 1 + ios/robovm.properties | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index 8494966e99..7886a6577b 100644 --- a/build.gradle +++ b/build.gradle @@ -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") { diff --git a/core/assets/bundles/bundle.properties b/core/assets/bundles/bundle.properties index cec38779f0..f455ae3ab1 100644 --- a/core/assets/bundles/bundle.properties +++ b/core/assets/bundles/bundle.properties @@ -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 diff --git a/core/src/io/anuke/mindustry/ui/dialogs/CustomGameDialog.java b/core/src/io/anuke/mindustry/ui/dialogs/CustomGameDialog.java index 920f2251d8..4e57765124 100644 --- a/core/src/io/anuke/mindustry/ui/dialogs/CustomGameDialog.java +++ b/core/src/io/anuke/mindustry/ui/dialogs/CustomGameDialog.java @@ -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(); } diff --git a/ios/robovm.properties b/ios/robovm.properties index 3e9997a364..854980777c 100644 --- a/ios/robovm.properties +++ b/ios/robovm.properties @@ -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