Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fb200c6d11 | ||
|
|
8418770bbf | ||
|
|
eaa7b04c3d | ||
|
|
6131ef23fc | ||
|
|
40bf0741f0 | ||
|
|
6633b07fb2 | ||
|
|
e65971db47 | ||
|
|
97254a6672 |
2
.github/workflows/deployment.yml
vendored
2
.github/workflows/deployment.yml
vendored
@@ -21,6 +21,8 @@ jobs:
|
|||||||
- name: Update docs
|
- name: Update docs
|
||||||
run: |
|
run: |
|
||||||
cd ../
|
cd ../
|
||||||
|
git config --global user.email "cli@github.com"
|
||||||
|
git config --global user.name "Github Actions"
|
||||||
git clone --depth=1 https://github.com/MindustryGame/docs.git
|
git clone --depth=1 https://github.com/MindustryGame/docs.git
|
||||||
cp -a Mindustry/core/build/docs/javadoc/. docs/
|
cp -a Mindustry/core/build/docs/javadoc/. docs/
|
||||||
cd docs
|
cd docs
|
||||||
|
|||||||
1
.github/workflows/push.yml
vendored
1
.github/workflows/push.yml
vendored
@@ -15,6 +15,7 @@ jobs:
|
|||||||
- name: Run unit tests
|
- name: Run unit tests
|
||||||
run: ./gradlew test
|
run: ./gradlew test
|
||||||
- name: Trigger BE build
|
- name: Trigger BE build
|
||||||
|
if: ${{ github.repository == ‘Anuken/Mindustry’ }}
|
||||||
run: |
|
run: |
|
||||||
git clone --depth=1 --branch=master https://github.com/Anuken/MindustryBuilds ../MindustryBuilds
|
git clone --depth=1 --branch=master https://github.com/Anuken/MindustryBuilds ../MindustryBuilds
|
||||||
cd ../MindustryBuilds
|
cd ../MindustryBuilds
|
||||||
|
|||||||
@@ -101,3 +101,4 @@ jalastram (freesound.org)
|
|||||||
newlocknew (freesound.org)
|
newlocknew (freesound.org)
|
||||||
dsmolenaers (freesound.org)
|
dsmolenaers (freesound.org)
|
||||||
Headphaze (freesound.org)
|
Headphaze (freesound.org)
|
||||||
|
VolasYouKnow
|
||||||
|
|||||||
@@ -1216,7 +1216,7 @@ public class Blocks implements ContentList{
|
|||||||
requirements(Category.power, with(Items.lead, 100, Items.silicon, 75, Items.phaseFabric, 25, Items.plastanium, 75, Items.thorium, 50));
|
requirements(Category.power, with(Items.lead, 100, Items.silicon, 75, Items.phaseFabric, 25, Items.plastanium, 75, Items.thorium, 50));
|
||||||
size = 2;
|
size = 2;
|
||||||
powerProduction = 4.5f;
|
powerProduction = 4.5f;
|
||||||
itemDuration = 60 * 15f;
|
itemDuration = 60 * 14f;
|
||||||
}};
|
}};
|
||||||
|
|
||||||
solarPanel = new SolarGenerator("solar-panel"){{
|
solarPanel = new SolarGenerator("solar-panel"){{
|
||||||
|
|||||||
@@ -286,7 +286,8 @@ public abstract class SaveVersion extends SaveFileReader{
|
|||||||
|
|
||||||
public void writeEntities(DataOutput stream) throws IOException{
|
public void writeEntities(DataOutput stream) throws IOException{
|
||||||
//write team data with entities.
|
//write team data with entities.
|
||||||
Seq<TeamData> data = state.teams.getActive().and(Team.sharded.data());
|
Seq<TeamData> data = state.teams.getActive().copy();
|
||||||
|
if(!data.contains(Team.sharded.data())) data.add(Team.sharded.data());
|
||||||
stream.writeInt(data.size);
|
stream.writeInt(data.size);
|
||||||
for(TeamData team : data){
|
for(TeamData team : data){
|
||||||
stream.writeInt(team.team.id);
|
stream.writeInt(team.team.id);
|
||||||
@@ -313,12 +314,23 @@ public abstract class SaveVersion extends SaveFileReader{
|
|||||||
|
|
||||||
public void readEntities(DataInput stream) throws IOException{
|
public void readEntities(DataInput stream) throws IOException{
|
||||||
int teamc = stream.readInt();
|
int teamc = stream.readInt();
|
||||||
|
|
||||||
for(int i = 0; i < teamc; i++){
|
for(int i = 0; i < teamc; i++){
|
||||||
Team team = Team.get(stream.readInt());
|
Team team = Team.get(stream.readInt());
|
||||||
TeamData data = team.data();
|
TeamData data = team.data();
|
||||||
int blocks = stream.readInt();
|
int blocks = stream.readInt();
|
||||||
|
data.blocks.clear();
|
||||||
|
data.blocks.ensureCapacity(Math.min(blocks, 1000));
|
||||||
|
var reads = Reads.get(stream);
|
||||||
|
var set = new IntSet();
|
||||||
|
|
||||||
for(int j = 0; j < blocks; j++){
|
for(int j = 0; j < blocks; j++){
|
||||||
data.blocks.addLast(new BlockPlan(stream.readShort(), stream.readShort(), stream.readShort(), content.block(stream.readShort()).id, TypeIO.readObject(Reads.get(stream))));
|
short x = stream.readShort(), y = stream.readShort(), rot = stream.readShort(), bid = stream.readShort();
|
||||||
|
var obj = TypeIO.readObject(reads);
|
||||||
|
//cannot have two in the same position
|
||||||
|
if(set.add(Point2.pack(x, y))){
|
||||||
|
data.blocks.addLast(new BlockPlan(x, y, rot, content.block(bid).id, obj));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -140,6 +140,7 @@ public class PlanetDialog extends BaseDialog implements PlanetInterfaceRenderer{
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
rebuildButtons();
|
||||||
mode = look;
|
mode = look;
|
||||||
selected = hovered = launchSector = null;
|
selected = hovered = launchSector = null;
|
||||||
launching = false;
|
launching = false;
|
||||||
|
|||||||
@@ -10,7 +10,6 @@ import arc.util.io.*;
|
|||||||
import mindustry.annotations.Annotations.*;
|
import mindustry.annotations.Annotations.*;
|
||||||
import mindustry.content.*;
|
import mindustry.content.*;
|
||||||
import mindustry.entities.units.*;
|
import mindustry.entities.units.*;
|
||||||
import mindustry.game.*;
|
|
||||||
import mindustry.gen.*;
|
import mindustry.gen.*;
|
||||||
import mindustry.graphics.*;
|
import mindustry.graphics.*;
|
||||||
import mindustry.type.*;
|
import mindustry.type.*;
|
||||||
|
|||||||
10
fastlane/metadata/android/en-US/changelogs/29723.txt
Normal file
10
fastlane/metadata/android/en-US/changelogs/29723.txt
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
Only a few days left until stable 6.0 release now. The campaign should now be playable; I've done a playthrough and fixed all the bugs and irregularities I encountered.
|
||||||
|
|
||||||
|
Aside from internal modding API changes and potential bugfixes, 6.0 should not have any more additions.
|
||||||
|
|
||||||
|
- Added basalt boulder decoration block
|
||||||
|
- Added hint about generator use & power transfer
|
||||||
|
- Made power node placement smarter
|
||||||
|
- Buffed Lancer turret
|
||||||
|
|
||||||
|
Campaign:
|
||||||
@@ -1,3 +1,3 @@
|
|||||||
org.gradle.daemon=true
|
org.gradle.daemon=true
|
||||||
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
||||||
archash=a61861127c9fea900f10b84a35be2369437be8f1
|
archash=6742c2b110eeecd1934c42b5b1c87b00c911ecc4
|
||||||
|
|||||||
Reference in New Issue
Block a user