Compare commits
169 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3d0b02ee23 | ||
|
|
d7cfbfe6c8 | ||
|
|
dc00e22f13 | ||
|
|
bcde481304 | ||
|
|
5b1341e488 | ||
|
|
6ad70ceee3 | ||
|
|
9c4d2f5490 | ||
|
|
6c5eff1143 | ||
|
|
a893767d0f | ||
|
|
a4f240edc8 | ||
|
|
e0a94f694b | ||
|
|
8654f25a4f | ||
|
|
e877310d85 | ||
|
|
bb59f45ba6 | ||
|
|
3d4c2a2c20 | ||
|
|
e36667cd08 | ||
|
|
cebaa6949e | ||
|
|
019e22aff2 | ||
|
|
5129e2ea73 | ||
|
|
3b63f60462 | ||
|
|
5e29115c2e | ||
|
|
0b4b30286d | ||
|
|
a01f64080d | ||
|
|
d031351bc8 | ||
|
|
1d21d36253 | ||
|
|
8d4cd72b41 | ||
|
|
46ab6d3476 | ||
|
|
3fcf3cbf93 | ||
|
|
ada912c69b | ||
|
|
e204b89eaf | ||
|
|
e903798fc2 | ||
|
|
54497c43b6 | ||
|
|
99e54cc214 | ||
|
|
56ae47cd8d | ||
|
|
0fb336cf7b | ||
|
|
469b3c0a94 | ||
|
|
d90d88c68b | ||
|
|
dcc061af3e | ||
|
|
a2960f5c50 | ||
|
|
565f8a2b4d | ||
|
|
5cb50d57ec | ||
|
|
522e19d4bf | ||
|
|
0db7a78889 | ||
|
|
1ce3b40b4e | ||
|
|
e633528a7a | ||
|
|
6570b411d1 | ||
|
|
ac9e774795 | ||
|
|
8791747453 | ||
|
|
dda3afe9fa | ||
|
|
d4435f980c | ||
|
|
f29673a6e3 | ||
|
|
9816bab151 | ||
|
|
5884c0bcb3 | ||
|
|
96dc00beac | ||
|
|
febc1e53b6 | ||
|
|
3e18fb3ca0 | ||
|
|
28b9de2e7a | ||
|
|
9a41399178 | ||
|
|
db47b9a877 | ||
|
|
7cdd7a3487 | ||
|
|
833f646903 | ||
|
|
35a85860b1 | ||
|
|
00f24dfb79 | ||
|
|
8c6ae2576d | ||
|
|
5416ad33bd | ||
|
|
1e25ba2d8e | ||
|
|
8d08d25f5b | ||
|
|
802e7b12d0 | ||
|
|
9b57550f3d | ||
|
|
28c13c8e52 | ||
|
|
d8f9059989 | ||
|
|
ac9d37d038 | ||
|
|
6323c13704 | ||
|
|
2f7f16daff | ||
|
|
9059238aee | ||
|
|
2677c0e752 | ||
|
|
ba80770564 | ||
|
|
06ad35d934 | ||
|
|
864c4f6bc3 | ||
|
|
f5f0f02abe | ||
|
|
19979dec55 | ||
|
|
926e61b7cc | ||
|
|
15378d3267 | ||
|
|
33fcfda1a0 | ||
|
|
74d7b43d0f | ||
|
|
e392c8f0e6 | ||
|
|
f60ba8587f | ||
|
|
86a7f837cd | ||
|
|
9465497481 | ||
|
|
8c3f3ac304 | ||
|
|
88ba8f6f55 | ||
|
|
c64459dbf4 | ||
|
|
8b0bbffe27 | ||
|
|
94805259d7 | ||
|
|
e796d44f92 | ||
|
|
5e8686db77 | ||
|
|
ee835f6514 | ||
|
|
5de61aaed3 | ||
|
|
6613e4ec42 | ||
|
|
206314f4f4 | ||
|
|
8f12c3f1a8 | ||
|
|
4c224d0b9c | ||
|
|
30dd089c8b | ||
|
|
8d9ec206bf | ||
|
|
8319288776 | ||
|
|
60bf36613f | ||
|
|
a75994cbbf | ||
|
|
e1f7c7b03d | ||
|
|
bb7e2c7cee | ||
|
|
69eb6469f9 | ||
|
|
d2eb3be7f8 | ||
|
|
5aa76639d1 | ||
|
|
3bf72a1af6 | ||
|
|
b745d88299 | ||
|
|
3aedc07ad0 | ||
|
|
dbb164f4be | ||
|
|
b0103d1ce3 | ||
|
|
9c532047d3 | ||
|
|
0003a58210 | ||
|
|
34f2704dc7 | ||
|
|
0ddee379ca | ||
|
|
6dcbe4fabb | ||
|
|
5dbb9fdf3f | ||
|
|
914fa3079d | ||
|
|
2e958d8d8f | ||
|
|
7a5e61fd2e | ||
|
|
6a031d8f53 | ||
|
|
dc6f01c0d3 | ||
|
|
1cc8cbe8a8 | ||
|
|
01ae8bec85 | ||
|
|
258ab87f6b | ||
|
|
8ba2db6c58 | ||
|
|
a7599e85dc | ||
|
|
28389d698e | ||
|
|
c47a220721 | ||
|
|
69f7296baa | ||
|
|
855f56bb45 | ||
|
|
a79d072aaf | ||
|
|
467047a011 | ||
|
|
0288daa39d | ||
|
|
3f075068a9 | ||
|
|
278e7027f2 | ||
|
|
9d654c1f18 | ||
|
|
279187d13b | ||
|
|
360494f971 | ||
|
|
81931eb536 | ||
|
|
a2ef11eb0f | ||
|
|
b872252771 | ||
|
|
b2c388276f | ||
|
|
178928f866 | ||
|
|
7e548f9969 | ||
|
|
a60ce3c54c | ||
|
|
0f173bcc5a | ||
|
|
64dbe8312e | ||
|
|
7f443c71ae | ||
|
|
27276c025c | ||
|
|
e9d03c179c | ||
|
|
dec01c23a9 | ||
|
|
e0eb227ce5 | ||
|
|
20021c5b31 | ||
|
|
f8d6797fc2 | ||
|
|
25051980ce | ||
|
|
fb8becca99 | ||
|
|
020c6388c2 | ||
|
|
a786167b04 | ||
|
|
1699ab48e8 | ||
|
|
20d3740e75 | ||
|
|
29bcb8e07c | ||
|
|
8986b89d67 |
1
.gitignore
vendored
@@ -3,6 +3,7 @@
|
|||||||
/core/assets/mindustry-saves/
|
/core/assets/mindustry-saves/
|
||||||
/core/assets/mindustry-maps/
|
/core/assets/mindustry-maps/
|
||||||
/core/assets/bundles/output/
|
/core/assets/bundles/output/
|
||||||
|
/core/assets/.gifimages/
|
||||||
/deploy/
|
/deploy/
|
||||||
/desktop/packr-out/
|
/desktop/packr-out/
|
||||||
/desktop/packr-export/
|
/desktop/packr-export/
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ _Building:_ `./gradlew desktop:dist`
|
|||||||
---
|
---
|
||||||
|
|
||||||
Gradle may take up to several minutes to download files. Be patient. <br>
|
Gradle may take up to several minutes to download files. Be patient. <br>
|
||||||
After building, the output .JAR file should be in the output JAR file should be in `/desktop/build/libs/desktop-release.jar.`
|
After building, the output .JAR file should be in `/desktop/build/libs/desktop-release.jar.`
|
||||||
|
|
||||||
### Downloads
|
### Downloads
|
||||||
|
|
||||||
|
|||||||
@@ -60,11 +60,6 @@ public class AndroidLauncher extends PatchedAndroidApplication{
|
|||||||
Platform.instance = new Platform(){
|
Platform.instance = new Platform(){
|
||||||
DateFormat format = SimpleDateFormat.getDateTimeInstance();
|
DateFormat format = SimpleDateFormat.getDateTimeInstance();
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean hasDiscord(){
|
|
||||||
return isPackageInstalled("com.discord");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String format(Date date){
|
public String format(Date date){
|
||||||
return format.format(date);
|
return format.format(date);
|
||||||
|
|||||||
25
build.gradle
@@ -26,7 +26,7 @@ allprojects {
|
|||||||
appName = 'Mindustry'
|
appName = 'Mindustry'
|
||||||
gdxVersion = '1.9.8'
|
gdxVersion = '1.9.8'
|
||||||
roboVMVersion = '2.3.0'
|
roboVMVersion = '2.3.0'
|
||||||
uCoreVersion = '1d353d76e9'
|
uCoreVersion = '64ec4a15148b27749ca7b505dea9743add9902f2'
|
||||||
|
|
||||||
getVersionString = {
|
getVersionString = {
|
||||||
String buildVersion = getBuildVersion()
|
String buildVersion = getBuildVersion()
|
||||||
@@ -44,7 +44,7 @@ allprojects {
|
|||||||
|
|
||||||
generateLocales = {
|
generateLocales = {
|
||||||
def output = '["en",'
|
def output = '["en",'
|
||||||
def bundles = new File('core/assets/bundles/')
|
def bundles = new File(project(':core').projectDir, 'assets/bundles/')
|
||||||
bundles.listFiles().each { other ->
|
bundles.listFiles().each { other ->
|
||||||
if(other.name == "bundle.properties") return;
|
if(other.name == "bundle.properties") return;
|
||||||
output += '"' + other.name.substring("bundle".length() + 1, other.name.lastIndexOf('.')) + '",'
|
output += '"' + other.name.substring("bundle".length() + 1, other.name.lastIndexOf('.')) + '",'
|
||||||
@@ -54,7 +54,7 @@ allprojects {
|
|||||||
}
|
}
|
||||||
|
|
||||||
writeVersion = {
|
writeVersion = {
|
||||||
def pfile = new File('core/assets/version.properties')
|
def pfile = new File(project(':core').projectDir, 'assets/version.properties')
|
||||||
def props = new Properties()
|
def props = new Properties()
|
||||||
|
|
||||||
try{
|
try{
|
||||||
@@ -127,24 +127,22 @@ project(":ios") {
|
|||||||
apply plugin: "robovm"
|
apply plugin: "robovm"
|
||||||
|
|
||||||
task copyGen{
|
task copyGen{
|
||||||
doFirst{
|
|
||||||
copy{
|
copy{
|
||||||
from ("../core/build/classes/java/main/io/anuke/mindustry/gen/"){
|
from ("core/build/classes/java/main/io/anuke/mindustry/gen/"){
|
||||||
include "**/*.java"
|
include "**/*.java"
|
||||||
}
|
}
|
||||||
|
|
||||||
into "../core/src/io/anuke/mindustry/gen"
|
into "ios/src/io/anuke/mindustry/gen"
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
doLast{
|
doFirst{
|
||||||
delete{
|
delete{
|
||||||
delete "../core/src/io/anuke/mindustry/gen/"
|
delete "ios/src/io/anuke/mindustry/gen/"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
build.finalizedBy(copyGen)
|
build.dependsOn(copyGen)
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(":core")
|
compile project(":core")
|
||||||
@@ -194,8 +192,10 @@ project(":server") {
|
|||||||
apply plugin: "java"
|
apply plugin: "java"
|
||||||
|
|
||||||
configurations {
|
configurations {
|
||||||
|
if(findProject(":android") != null){
|
||||||
compile.exclude module: android
|
compile.exclude module: android
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly project(":annotations")
|
compileOnly project(":annotations")
|
||||||
@@ -229,9 +229,14 @@ project(":kryonet") {
|
|||||||
dependencies {
|
dependencies {
|
||||||
compile project(":core")
|
compile project(":core")
|
||||||
compile 'com.github.crykn:kryonet:2.22.1'
|
compile 'com.github.crykn:kryonet:2.22.1'
|
||||||
|
compile 'com.github.Anuken:WaifUPnP:05eb46bc577fd7674596946ba288c96c0cedd893'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
project(":reporter"){
|
||||||
|
apply plugin: "java"
|
||||||
|
}
|
||||||
|
|
||||||
tasks.eclipse.doLast {
|
tasks.eclipse.doLast {
|
||||||
delete ".project"
|
delete ".project"
|
||||||
}
|
}
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 59 KiB |
BIN
core/assets-raw/sprites/blocks/defense/mend-projector-top.png
Normal file
|
After Width: | Height: | Size: 111 B |
BIN
core/assets-raw/sprites/blocks/defense/mend-projector.png
Normal file
|
After Width: | Height: | Size: 217 B |
|
Before Width: | Height: | Size: 160 B After Width: | Height: | Size: 83 B |
|
Before Width: | Height: | Size: 177 B After Width: | Height: | Size: 93 B |
|
Before Width: | Height: | Size: 178 B After Width: | Height: | Size: 95 B |
|
Before Width: | Height: | Size: 227 B After Width: | Height: | Size: 119 B |
|
Before Width: | Height: | Size: 215 B After Width: | Height: | Size: 98 B |
|
Before Width: | Height: | Size: 215 B After Width: | Height: | Size: 98 B |
|
Before Width: | Height: | Size: 212 B After Width: | Height: | Size: 98 B |
|
Before Width: | Height: | Size: 212 B After Width: | Height: | Size: 97 B |
|
Before Width: | Height: | Size: 231 B After Width: | Height: | Size: 116 B |
|
Before Width: | Height: | Size: 229 B After Width: | Height: | Size: 117 B |
|
Before Width: | Height: | Size: 233 B After Width: | Height: | Size: 119 B |
|
Before Width: | Height: | Size: 238 B After Width: | Height: | Size: 117 B |
|
Before Width: | Height: | Size: 228 B After Width: | Height: | Size: 113 B |
|
Before Width: | Height: | Size: 225 B After Width: | Height: | Size: 108 B |
|
Before Width: | Height: | Size: 217 B After Width: | Height: | Size: 104 B |
|
Before Width: | Height: | Size: 222 B After Width: | Height: | Size: 106 B |
|
Before Width: | Height: | Size: 249 B After Width: | Height: | Size: 109 B |
|
Before Width: | Height: | Size: 247 B After Width: | Height: | Size: 107 B |
|
Before Width: | Height: | Size: 248 B After Width: | Height: | Size: 110 B |
|
Before Width: | Height: | Size: 234 B After Width: | Height: | Size: 110 B |
|
Before Width: | Height: | Size: 233 B After Width: | Height: | Size: 109 B |
|
Before Width: | Height: | Size: 230 B After Width: | Height: | Size: 108 B |
|
Before Width: | Height: | Size: 229 B After Width: | Height: | Size: 105 B |
|
Before Width: | Height: | Size: 232 B After Width: | Height: | Size: 109 B |
|
Before Width: | Height: | Size: 210 B After Width: | Height: | Size: 105 B |
|
Before Width: | Height: | Size: 229 B After Width: | Height: | Size: 105 B |
|
Before Width: | Height: | Size: 228 B After Width: | Height: | Size: 105 B |
|
Before Width: | Height: | Size: 227 B After Width: | Height: | Size: 103 B |
|
Before Width: | Height: | Size: 265 B After Width: | Height: | Size: 127 B |
|
Before Width: | Height: | Size: 248 B After Width: | Height: | Size: 127 B |
|
Before Width: | Height: | Size: 274 B After Width: | Height: | Size: 133 B |
|
Before Width: | Height: | Size: 281 B After Width: | Height: | Size: 129 B |
|
Before Width: | Height: | Size: 246 B After Width: | Height: | Size: 120 B |
|
Before Width: | Height: | Size: 243 B After Width: | Height: | Size: 114 B |
|
Before Width: | Height: | Size: 236 B After Width: | Height: | Size: 110 B |
|
Before Width: | Height: | Size: 247 B After Width: | Height: | Size: 113 B |
|
Before Width: | Height: | Size: 247 B After Width: | Height: | Size: 108 B |
|
Before Width: | Height: | Size: 249 B After Width: | Height: | Size: 107 B |
|
Before Width: | Height: | Size: 249 B After Width: | Height: | Size: 110 B |
|
Before Width: | Height: | Size: 253 B After Width: | Height: | Size: 110 B |
|
Before Width: | Height: | Size: 254 B After Width: | Height: | Size: 111 B |
|
Before Width: | Height: | Size: 260 B After Width: | Height: | Size: 111 B |
|
Before Width: | Height: | Size: 258 B After Width: | Height: | Size: 110 B |
|
Before Width: | Height: | Size: 260 B After Width: | Height: | Size: 113 B |
|
Before Width: | Height: | Size: 296 B After Width: | Height: | Size: 163 B |
|
Before Width: | Height: | Size: 257 B After Width: | Height: | Size: 115 B |
|
Before Width: | Height: | Size: 789 B After Width: | Height: | Size: 389 B |
|
Before Width: | Height: | Size: 532 B After Width: | Height: | Size: 273 B |
|
Before Width: | Height: | Size: 233 B After Width: | Height: | Size: 114 B |
|
Before Width: | Height: | Size: 179 B After Width: | Height: | Size: 83 B |
|
Before Width: | Height: | Size: 189 B After Width: | Height: | Size: 84 B |
|
Before Width: | Height: | Size: 172 B After Width: | Height: | Size: 75 B |
|
Before Width: | Height: | Size: 301 B After Width: | Height: | Size: 132 B |
BIN
core/assets-raw/sprites/blocks/distribution/router.png
Normal file
|
After Width: | Height: | Size: 113 B |
|
Before Width: | Height: | Size: 248 B After Width: | Height: | Size: 110 B |
|
Before Width: | Height: | Size: 226 B |
|
Before Width: | Height: | Size: 210 B |
|
Before Width: | Height: | Size: 346 B After Width: | Height: | Size: 216 B |
|
Before Width: | Height: | Size: 492 B After Width: | Height: | Size: 271 B |
|
Before Width: | Height: | Size: 219 B After Width: | Height: | Size: 119 B |
|
Before Width: | Height: | Size: 298 B After Width: | Height: | Size: 168 B |
|
Before Width: | Height: | Size: 289 B After Width: | Height: | Size: 155 B |
|
Before Width: | Height: | Size: 562 B After Width: | Height: | Size: 294 B |
|
Before Width: | Height: | Size: 298 B |
|
Before Width: | Height: | Size: 261 B |
|
Before Width: | Height: | Size: 286 B |
|
Before Width: | Height: | Size: 261 B After Width: | Height: | Size: 136 B |
|
Before Width: | Height: | Size: 286 B After Width: | Height: | Size: 143 B |
|
Before Width: | Height: | Size: 327 B After Width: | Height: | Size: 170 B |
|
After Width: | Height: | Size: 135 B |
BIN
core/assets-raw/sprites/blocks/drills/mechanical-drill-top.png
Normal file
|
After Width: | Height: | Size: 120 B |
BIN
core/assets-raw/sprites/blocks/drills/mechanical-drill.png
Normal file
|
After Width: | Height: | Size: 177 B |
|
Before Width: | Height: | Size: 239 B After Width: | Height: | Size: 120 B |
|
Before Width: | Height: | Size: 341 B After Width: | Height: | Size: 175 B |
|
Before Width: | Height: | Size: 379 B After Width: | Height: | Size: 170 B |
|
Before Width: | Height: | Size: 473 B After Width: | Height: | Size: 268 B |
|
Before Width: | Height: | Size: 461 B After Width: | Height: | Size: 253 B |
|
Before Width: | Height: | Size: 354 B After Width: | Height: | Size: 206 B |
|
Before Width: | Height: | Size: 296 B After Width: | Height: | Size: 172 B |
|
Before Width: | Height: | Size: 678 B After Width: | Height: | Size: 362 B |
|
After Width: | Height: | Size: 147 B |
BIN
core/assets-raw/sprites/blocks/drills/pneumatic-drill-top.png
Normal file
|
After Width: | Height: | Size: 121 B |
BIN
core/assets-raw/sprites/blocks/drills/pneumatic-drill.png
Normal file
|
After Width: | Height: | Size: 157 B |
|
Before Width: | Height: | Size: 279 B |
|
Before Width: | Height: | Size: 255 B |
|
Before Width: | Height: | Size: 274 B |
|
Before Width: | Height: | Size: 192 B After Width: | Height: | Size: 99 B |
|
Before Width: | Height: | Size: 256 B After Width: | Height: | Size: 132 B |
|
Before Width: | Height: | Size: 338 B After Width: | Height: | Size: 167 B |
|
Before Width: | Height: | Size: 298 B After Width: | Height: | Size: 169 B |
|
Before Width: | Height: | Size: 223 B After Width: | Height: | Size: 128 B |
|
Before Width: | Height: | Size: 248 B After Width: | Height: | Size: 133 B |
|
Before Width: | Height: | Size: 186 B After Width: | Height: | Size: 98 B |