diff --git a/core/src/io/anuke/mindustry/io/SaveIO.java b/core/src/io/anuke/mindustry/io/SaveIO.java index cbd9a3a803..ccef23d108 100644 --- a/core/src/io/anuke/mindustry/io/SaveIO.java +++ b/core/src/io/anuke/mindustry/io/SaveIO.java @@ -16,7 +16,7 @@ import java.util.zip.InflaterInputStream; import static io.anuke.mindustry.Vars.*; public class SaveIO{ - public static final IntArray breakingVersions = IntArray.with(47, 48, 49, 50, 51, 52); + public static final IntArray breakingVersions = IntArray.with(47, 48, 49, 50, 51, 52, 53, 54, 55, 56); public static final IntMap versions = new IntMap<>(); public static final Array versionArray = Array.with( new Save16() diff --git a/core/src/io/anuke/mindustry/maps/Sectors.java b/core/src/io/anuke/mindustry/maps/Sectors.java index 965bbccc1a..d82989aa01 100644 --- a/core/src/io/anuke/mindustry/maps/Sectors.java +++ b/core/src/io/anuke/mindustry/maps/Sectors.java @@ -69,6 +69,16 @@ public class Sectors{ return grid.get(Bits.getLeftShort(position), Bits.getRightShort(position)); } + /**Tries to a sector in a specific direciton, specified by expandX and expandY. + * If a sector is in that direction, this method will return false (failure) + * @param sector the sector to expand + * @param expandX spaces in X coordinate to expand, can be negative + * @param expandY spaces in Y coordinate to expand, can be negative*/ + public boolean expandSector(Sector sector, int expandX, int expandY){ + + return false; + } + /**Unlocks a sector. This shows nearby sectors.*/ public void completeSector(int x, int y){ createSector(x, y);