Merge remote-tracking branch 'origin/4.0' into 4.0
This commit is contained in:
@@ -168,6 +168,10 @@ project(":core") {
|
|||||||
project(":server") {
|
project(":server") {
|
||||||
apply plugin: "java"
|
apply plugin: "java"
|
||||||
|
|
||||||
|
configurations {
|
||||||
|
compile.exclude module: android
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly project(":annotations")
|
compileOnly project(":annotations")
|
||||||
|
|
||||||
|
|||||||
@@ -276,7 +276,6 @@ text.blocks.inputfuel=연료
|
|||||||
text.blocks.fuelburntime=연료 연소 시간
|
text.blocks.fuelburntime=연료 연소 시간
|
||||||
text.blocks.inputcapacity=입력 용량
|
text.blocks.inputcapacity=입력 용량
|
||||||
text.blocks.outputcapacity=출력 용량
|
text.blocks.outputcapacity=출력 용량
|
||||||
text.blocks.requird=요구사항:
|
|
||||||
|
|
||||||
text.unit.blocks=블록들
|
text.unit.blocks=블록들
|
||||||
text.unit.powersecond=초당 전력 단위
|
text.unit.powersecond=초당 전력 단위
|
||||||
@@ -499,4 +498,4 @@ block.liquid-junction.name=액체 교차기
|
|||||||
block.bridge-conduit.name=브릿지 도관
|
block.bridge-conduit.name=브릿지 도관
|
||||||
block.rotary-pump.name=로타리 펌프
|
block.rotary-pump.name=로타리 펌프
|
||||||
block.nuclear-reactor.name=핵발전소
|
block.nuclear-reactor.name=핵발전소
|
||||||
text.save.old=This save is for an older version of the game, and can no longer be used.\n\n[LIGHT_GRAY]Save backwards compatibility will be implemented in the full 4.0 release.
|
text.save.old=이 저장파일은 이전 버전의 게임용이며, 지금은 사용할 수 없습니다. \n\n[LIGHT_GRAY]4.0 정식때 이전 게임버전에서 만든 저장파일과 호환됩니다.
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ import io.anuke.ucore.entities.impl.EffectEntity;
|
|||||||
import io.anuke.ucore.entities.trait.DrawTrait;
|
import io.anuke.ucore.entities.trait.DrawTrait;
|
||||||
import io.anuke.ucore.scene.ui.layout.Unit;
|
import io.anuke.ucore.scene.ui.layout.Unit;
|
||||||
import io.anuke.ucore.util.OS;
|
import io.anuke.ucore.util.OS;
|
||||||
|
import io.anuke.ucore.util.Translator;
|
||||||
|
|
||||||
import java.util.Locale;
|
import java.util.Locale;
|
||||||
|
|
||||||
@@ -130,6 +131,8 @@ public class Vars{
|
|||||||
public static EntityGroup<Fire> fireGroup;
|
public static EntityGroup<Fire> fireGroup;
|
||||||
public static EntityGroup<BaseUnit>[] unitGroups;
|
public static EntityGroup<BaseUnit>[] unitGroups;
|
||||||
|
|
||||||
|
public static final Translator[] tmptr = new Translator[]{new Translator(), new Translator(), new Translator(), new Translator()};
|
||||||
|
|
||||||
public static void init(){
|
public static void init(){
|
||||||
Version.init();
|
Version.init();
|
||||||
|
|
||||||
|
|||||||
@@ -33,5 +33,10 @@ public abstract class Decal extends TimedEntity implements BelowLiquidTrait, Dra
|
|||||||
return groundEffectGroup;
|
return groundEffectGroup;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public float fin() {
|
||||||
|
return time / lifetime();
|
||||||
|
}
|
||||||
|
|
||||||
abstract void drawDecal();
|
abstract void drawDecal();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -134,4 +134,9 @@ public class ItemTransfer extends TimedEntity implements DrawTrait{
|
|||||||
public EntityGroup targetGroup(){
|
public EntityGroup targetGroup(){
|
||||||
return effectGroup;
|
return effectGroup;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public float fin(){
|
||||||
|
return time() / lifetime();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -34,6 +34,7 @@ import java.io.IOException;
|
|||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
|
|
||||||
import static io.anuke.mindustry.Vars.tilesize;
|
import static io.anuke.mindustry.Vars.tilesize;
|
||||||
|
import static io.anuke.mindustry.Vars.tmptr;
|
||||||
import static io.anuke.mindustry.Vars.world;
|
import static io.anuke.mindustry.Vars.world;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -41,7 +42,6 @@ import static io.anuke.mindustry.Vars.world;
|
|||||||
*/
|
*/
|
||||||
public interface BuilderTrait extends Entity{
|
public interface BuilderTrait extends Entity{
|
||||||
//these are not instance variables!
|
//these are not instance variables!
|
||||||
Translator[] tmptr = {new Translator(), new Translator(), new Translator(), new Translator()};
|
|
||||||
float placeDistance = 140f;
|
float placeDistance = 140f;
|
||||||
float mineDistance = 70f;
|
float mineDistance = 70f;
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
app.version=3.5
|
app.version=4.0
|
||||||
app.id=io.anuke.mindustry
|
app.id=io.anuke.mindustry
|
||||||
app.mainclass=io.anuke.mindustry.IOSLauncher
|
app.mainclass=io.anuke.mindustry.IOSLauncher
|
||||||
app.executable=IOSLauncher
|
app.executable=IOSLauncher
|
||||||
app.build=11
|
app.build=14
|
||||||
app.name=Mindustry
|
app.name=Mindustry
|
||||||
|
|||||||
Reference in New Issue
Block a user