Compare commits

..

312 Commits
v105 ... v107

Author SHA1 Message Date
Anuken
5523ea4752 Slag light 2020-09-28 19:37:18 -04:00
Anuken
c89d6f6b74 Re-packed sprites from PR 2020-09-28 18:42:09 -04:00
Anuken
d3863a7550 Merge remote-tracking branch 'origin/master' 2020-09-28 18:32:48 -04:00
Anuken
a5b1239c2b Method renaming for consistency 2020-09-28 18:32:39 -04:00
Anuken
95146e032f Merge pull request #2757 from Voz-Duh/cleaner-sprites
Cleaner Sprites
2020-09-28 17:34:40 -04:00
Voz-Duh
45e1700237 Fix 2020-09-28 21:58:37 +03:00
Voz-Duh
81ceec8d03 Fix 2020-09-28 21:47:42 +03:00
Anuken
6a45a965c0 Allow unloading non-visible blocks 2020-09-28 12:42:20 -04:00
Anuken
d55de18d09 Merge remote-tracking branch 'origin/master' 2020-09-28 11:02:57 -04:00
Anuken
231902aec5 Fixed #2756 2020-09-28 11:02:53 -04:00
Voz-Duh
aef09a18b7 Fix 2020-09-28 17:38:11 +03:00
Voz-Duh
332365adc6 Fix 2020-09-28 17:36:35 +03:00
Voz-Duh
2c3813c94b Cleaner Sprites 2020-09-28 17:34:05 +03:00
Anuken
586d3adb0e Update bug_report.md 2020-09-28 10:30:51 -04:00
Anuken
f1d09053f3 Fixed #2755 / Fixed #2753 2020-09-28 10:26:08 -04:00
Anuken
078a68a07d Fixed cores being placeable on nothing 2020-09-27 23:00:38 -04:00
Anuken
482ec4b43c Fixed #2752 2020-09-27 18:01:17 -04:00
Anuken
3bf01334c9 Many things 2020-09-27 17:15:31 -04:00
Anuken
ff84d72e20 Cleaner wall sprites 2020-09-27 00:43:00 -04:00
Anuken
f46180298f Merge branch 'master' of https://github.com/Anuken/Mindustry 2020-09-26 22:32:17 -04:00
Anuken
ae46535365 Sprite cleanup 2020-09-26 22:31:49 -04:00
Anuken
0c7ce94b13 Sprite cleanup 2020-09-26 22:29:15 -04:00
Anuken
fea8a3c12b Merge pull request #2718 from MEEPofFaith/patch-2
Make lightning have frag angle properties
2020-09-26 22:27:26 -04:00
Anuken
285f733b61 Merge pull request #2725 from LeoDog896/master
More sort and target options
2020-09-26 22:27:05 -04:00
Anuken
7b98628084 Unbroke wave sprite 2020-09-26 22:20:02 -04:00
Anuken
0a11482b55 Merge pull request #2742 from TheEvilSkeleton/master
Add Flathub link
2020-09-26 20:17:35 -04:00
Anuken
f4b6600a6d Merge pull request #2738 from Voz-Duh/top-for-liquid-turrets
Top For Liquid Turrets
2020-09-26 20:16:38 -04:00
Proprietary Chrome-chan
b73cad5cd6 Add Flathub link 2020-09-26 21:06:43 +00:00
Anuken
f785f97e87 Merge remote-tracking branch 'origin/master' 2020-09-26 14:38:20 -04:00
Anuken
9edd029764 Fixed #2740 2020-09-26 14:38:16 -04:00
Voz-Duh
55081785d0 Fix 2020-09-26 21:24:47 +03:00
Voz-Duh
79aaec80c3 Fix 2020-09-26 20:45:15 +03:00
Voz-Duh
a72b1463b4 Fix 2020-09-26 20:40:09 +03:00
Anuken
2817573594 Merge pull request #2739 from summetdev/patch-3
Add @echo off to run-server.bat
2020-09-26 13:14:18 -04:00
Summet
3a4318551e add @echo off 2020-09-26 19:49:01 +03:00
Voz-Duh
18604a397d Top For Liquid Turrets 2020-09-26 19:11:55 +03:00
Anuken
0f420b625a Fixed #2737 2020-09-26 11:59:14 -04:00
Anuken
d4d3b71d7d Fixed #2735 2020-09-26 09:46:16 -04:00
Anuken
ccdd94a090 Build check cleanup 2020-09-25 20:15:00 -04:00
Anuken
c49b3124d5 Merge remote-tracking branch 'origin/master' 2020-09-25 18:49:36 -04:00
Anuken
dc30993898 Fixed #2729 2020-09-25 18:49:31 -04:00
Anuken
47d734873b Merge pull request #2727 from LeoDog896/drown
Drown event
2020-09-25 16:27:21 -04:00
LeoDog896
1d52211f93 Update core/src/mindustry/entities/comp/FlyingComp.java
Co-authored-by: Summet <summet.dev@gmail.com>
2020-09-25 14:21:48 -04:00
Anuken
059b72b3e2 Merge remote-tracking branch 'origin/master' 2020-09-25 14:21:34 -04:00
Anuken
2cc93924f1 Support for Android java mods 2020-09-25 14:21:30 -04:00
Anuken
23fe204322 Merge pull request #2728 from LeoDog896/globalizeVars
Use reportIssueUrl
2020-09-25 13:05:44 -04:00
LeoDog896
53d4124fc3 Use reportIssueUrl 2020-09-25 12:26:04 -04:00
LeoDog896
c912eb197b Drown event
we all need to know when they drown
2020-09-25 12:01:59 -04:00
LeoDog896
35e4f696aa Merge remote-tracking branch 'upstream/master' 2020-09-25 10:55:04 -04:00
Anuken
85d32cd510 Merge pull request #2726 from Voz-Duh/shadow-fix
Shadow Fix
2020-09-25 09:53:13 -04:00
Anuken
292793daf1 Fixed #2722 2020-09-25 09:50:38 -04:00
Voz-Duh
41b4cbbce2 Shadow Fix 2020-09-25 15:18:06 +03:00
LeoDog896
6492ffd35d More sort and target options 2020-09-25 07:58:44 -04:00
MEEP of Faith
9f26979419 why variable here 2020-09-24 20:34:02 -07:00
Anuken
7b90f5a97d Merge remote-tracking branch 'origin/master' 2020-09-24 22:41:17 -04:00
Anuken
3a06cacf1d Minor fixes 2020-09-24 22:41:13 -04:00
Anuken
56515db614 Update bug_report.md 2020-09-24 21:27:33 -04:00
Anuken
2141e2ebab Cleaned up extra accessor method 2020-09-24 18:32:18 -04:00
MEEP of Faith
55e25cc509 Make lightning have frag angle properties
Adds `lightningCone`, which is the full angle of where the lightning direction can be, and `lightningAngle` which is the angle compared to the bullet that the center of the lightning cone is.
2020-09-24 15:31:03 -07:00
Anuken
bc705aa7a0 Minor allocation optimization 2020-09-24 18:24:43 -04:00
Anuken
9e0b29b3dd Cleanup 2020-09-24 18:11:10 -04:00
Anuken
504334999d Campaign multiplayer note 2020-09-24 16:49:04 -04:00
Anuken
8d8cedaa44 Removed launch mechanic remnants 2020-09-24 16:44:11 -04:00
Anuken
659da0a837 formation tweaks 2020-09-24 15:49:39 -04:00
Anuken
0dccbf8598 Better physics system 2020-09-24 15:39:34 -04:00
Anuken
1682e3b996 Fixed #2714 2020-09-24 14:26:24 -04:00
Anuken
a914bd77f6 Fixed #2712 2020-09-24 14:00:43 -04:00
Anuken
da115e90bc Merge remote-tracking branch 'origin/master' 2020-09-24 13:05:43 -04:00
Anuken
0a07458186 Power-based ammo / Refactoring / IP kicks / Fixes 2020-09-24 13:05:39 -04:00
Anuken
1d530f531d Merge pull request #2707 from LeoDog896/master
Make renderer shader final
2020-09-24 12:43:51 -04:00
LeoDog896
244a587db8 Merge remote-tracking branch 'upstream/master' 2020-09-24 12:08:27 -04:00
LeoDog896
b88302e604 Make shader final
Seriously, it shouldn't be changed
2020-09-24 12:07:45 -04:00
Anuken
d1980ef493 Merge pull request #2704 from summetdev/patch-2
remove .bat extension from README.md
2020-09-24 12:02:34 -04:00
Summet
110c04e5e3 remove .bat 2020-09-24 18:32:57 +03:00
Anuken
f3f33038e4 Merge pull request #2701 from Voz-Duh/team-indicator-for-command-center
Team Indicator For Command Center
2020-09-24 11:16:12 -04:00
Anuken
da66d93db9 Merge pull request #2702 from LeoDog896/master
Added boss as radar target
2020-09-24 11:15:15 -04:00
Voz-Duh
d08c54d9a7 Fix 2020-09-24 18:10:49 +03:00
LeoDog896
e23e8de62a Added boss as radar target 2020-09-24 10:59:13 -04:00
Voz-Duh
11eb5f464f Team Indicator For Command Center 2020-09-24 17:47:50 +03:00
Anuken
db94acdb83 Merge remote-tracking branch 'origin/master' 2020-09-24 09:23:42 -04:00
Anuken
68e708cf9a d 2020-09-24 09:23:38 -04:00
Anuken
35460f0b5f Merge pull request #2692 from Prosta4okua/master
immediate RU L10n update
2020-09-23 23:03:54 -04:00
Felix Corvus
90fe7d7e59 immediate RU L10n update 2020-09-24 05:34:37 +03:00
Anuken
0288cb34fb Cleanup 2020-09-23 22:15:14 -04:00
Anuken
75ebaab3a3 Merge pull request #2660 from J-VdS/schematic
Server disable schematic option (fix #2382)
2020-09-23 22:01:06 -04:00
Anuken
ada664a2ca Fixed #2690 2020-09-23 21:46:40 -04:00
Anuken
f9b46fbf18 Merge branch 'master' of https://github.com/Anuken/Mindustry 2020-09-23 19:16:53 -04:00
Anuken
764b93154e Turret sprite tweaks 2020-09-23 19:16:33 -04:00
Anuken
e4d97d790f Merge pull request #2576 from MWestfall/patch-3
Update servers.json
2020-09-23 19:02:24 -04:00
Anuken
5fa31b5625 Merge pull request #2577 from MWestfall/patch-4
Update servers_v6.json
2020-09-23 19:01:29 -04:00
Anuken
414d3eb3c4 Merge pull request #2637 from AydenRennaker/patch-7
Add Atanner Gaming V6 Server
2020-09-23 19:01:11 -04:00
Anuken
abd8356385 Update .travis.yml 2020-09-23 18:47:29 -04:00
Anuken
ae78054188 Update .travis.yml 2020-09-23 18:37:45 -04:00
Anuken
28b7ef53bb Updated bundle contents 2020-09-23 18:28:25 -04:00
Anuken
d7bd4bd0c8 Merge remote-tracking branch 'origin/master' 2020-09-23 18:26:09 -04:00
Anuken
3a618761b3 Pre-release tweaks 2020-09-23 18:26:05 -04:00
Anuken
8efba6ada7 Merge pull request #2564 from Prosta4okua/master
[Bundle][RU] actual L10n
2020-09-23 18:25:36 -04:00
Anuken
c12263078a Merge pull request #2626 from YellOw139/patch-2
[Bundle][RO] Translation Update
2020-09-23 18:25:24 -04:00
Anuken
fcff922370 Merge branch 'master' into patch-2 2020-09-23 18:25:12 -04:00
Anuken
14627dbbf7 Merge pull request #2639 from PetrGasparik/6.0-aplha-2
Czech translation track for 6.0 aplha 2
2020-09-23 18:24:48 -04:00
Anuken
5df5a6e39f tweak 2020-09-23 18:01:12 -04:00
Anuken
3db2ffb843 Launch pad destination selection 2020-09-23 18:00:24 -04:00
Anuken
1cc8d7e3f4 Balance 2020-09-23 15:21:06 -04:00
Anuken
84aa4ad602 Merge pull request #2675 from Voz-Duh/turrets-shadow
Turrets Shadow
2020-09-23 10:50:47 -04:00
J-VdS
d0c6f3274b Merge branch 'master' into schematic 2020-09-23 16:29:41 +02:00
J-VdS
1e10817708 revert file 2020-09-23 16:26:48 +02:00
Voz-Duh
64d4fd5579 Fix 2020-09-23 16:55:59 +03:00
Voz-Duh
868c6a6996 Fix 2020-09-23 16:47:11 +03:00
Anuken
8ed83964a2 Bugfixes 2020-09-23 09:33:56 -04:00
Anuken
ec11e60c7c Fixed #2679 2020-09-23 09:32:27 -04:00
Voz-Duh
b4d0df03df Fix 2020-09-23 12:56:21 +03:00
Voz-Duh
d0f6d9fb95 Deleted other files 2020-09-23 12:42:02 +03:00
YellOw139
fb42302720 Update bundle_ro.properties 2020-09-23 12:40:27 +03:00
YellOw139
7701368d1b Main menu adjustments for mobile 2020-09-23 12:39:13 +03:00
Voz-Duh
9503e26e1d Add shadow 2020-09-23 12:39:06 +03:00
Felix Corvus
fe9a44d876 Update bundle_ru.properties 2020-09-23 08:35:28 +03:00
Anuken
6b43697891 (2) 2020-09-22 23:32:34 -04:00
Anuken
b601dc5deb Fixed fuse length being less than expected 2020-09-22 23:25:44 -04:00
Anuken
a4375f9c85 Merge remote-tracking branch 'origin/master' 2020-09-22 23:22:56 -04:00
Anuken
0058d45352 Fixed #2672 2020-09-22 23:22:53 -04:00
Anuken
2eaa7d2745 Merge pull request #2669 from genNAowl/camelcasing1
rotatespeed > rotateSpeed
2020-09-22 23:08:50 -04:00
Anuken
cf13717cc8 Fixed #2671 2020-09-22 22:52:55 -04:00
Anuken
39aeab5f11 cleanup 2020-09-22 21:58:59 -04:00
Anuken
3f403a26cc ? ? 2020-09-22 21:54:09 -04:00
Anuken
721e79eb90 Fixed #2670 2020-09-22 21:48:42 -04:00
Anuken
3592b36f85 ??? 2020-09-22 21:45:07 -04:00
Anuken
36fc6959f4 Removed redundant revision code 2020-09-22 21:42:49 -04:00
Anuken
7a6f69fc88 log revision changes 2020-09-22 21:39:12 -04:00
Anuken
f685c30178 testing if travis messed up codegen 2020-09-22 21:28:31 -04:00
Leonwang4234
e00b50c1f1 rotatespeed > rotateSpeed 2020-09-22 18:25:05 -07:00
Anuken
ba6ab8483e Various tweaks 2020-09-22 20:42:36 -04:00
Anuken
4a02315ee5 Small bugfixes 2020-09-22 17:59:37 -04:00
Anuken
f3e08f9cb6 Internal refactoring & cleanup 2020-09-22 15:50:33 -04:00
Anuken
0256a475cf Fixed #2662 2020-09-22 13:38:08 -04:00
Anuken
3a466475fd Better error handling on Steam 2020-09-22 13:12:21 -04:00
J-VdS
28cd08bdd1 idk 2020-09-22 19:04:42 +02:00
J-VdS
428c396968 Update SchematicsDialog.java 2020-09-22 19:04:05 +02:00
J-VdS
890dfdeb06 weird intellij 2020-09-22 19:03:27 +02:00
J-VdS
a0913c67df Update DesktopInput.java 2020-09-22 19:01:51 +02:00
J-VdS
ba4612ed96 indent 2020-09-22 19:00:25 +02:00
J-VdS
4608697d0d capitals 2020-09-22 18:59:35 +02:00
J-VdS
89ea055a24 comment change 2020-09-22 18:58:47 +02:00
J-VdS
3a3367b510 prepush2 2020-09-22 18:46:28 +02:00
J-VdS
393ca67291 cleanup 2020-09-22 18:42:59 +02:00
J-VdS
f4003fd463 merge 2020-09-22 18:41:24 +02:00
J-VdS
51065b57c4 info popup 2020-09-22 18:40:04 +02:00
Anuken
5895e2f23c #2647 2020-09-22 12:24:40 -04:00
Anuken
08ff36c43e Bugfixes 2020-09-22 12:16:17 -04:00
Anuken
b2b8949e26 Cleanup 2020-09-22 11:16:19 -04:00
Anuken
ce4f67341c Merge remote-tracking branch 'origin/master' 2020-09-22 10:03:10 -04:00
Anuken
a6c10a97f2 Fixed #2654 / Fixed #2651 / fine I'll add a base 2020-09-22 10:03:05 -04:00
Anuken
d4044c3b27 Merge pull request #2609 from DeltaNedas/crashlog
more info in crash reports
2020-09-22 09:30:29 -04:00
DeltaNedas
472d408bbc crash send error code 2020-09-22 06:16:40 +00:00
DeltaNedas
c7cfb290eb version for mods 2020-09-22 06:15:43 +00:00
DeltaNedas
8b354e7334 Update core/src/mindustry/net/CrashSender.java
Co-authored-by: Anuken <arnukren@gmail.com>
2020-09-22 06:13:51 +00:00
YellOw139
5009f3aaf1 Quad, Oct 2020-09-22 07:52:11 +03:00
Anuken
87032c82b1 T4/5 support mechs 2020-09-21 23:32:30 -04:00
Anuken
1d8f837fb1 Fixed #2646 2020-09-21 14:35:39 -04:00
Anuken
ff7c87bec0 Bugfixes 2020-09-21 14:33:15 -04:00
Anuken
ff58ccf659 Sprite tweaks 2020-09-21 13:22:07 -04:00
Felix Corvus
eb0a5d4d14 Update bundle_ru.properties 2020-09-21 19:18:40 +03:00
Anuken
45e77fe3b4 Balance 2020-09-21 12:05:24 -04:00
Anuken
74fadfe603 Merge branch 'master' of https://github.com/Anuken/Mindustry 2020-09-21 11:41:15 -04:00
Anuken
1aa8bb9dd2 T5 air support unit 2020-09-21 11:41:11 -04:00
Anuken
b732da09df Merge pull request #2643 from Remint32/patch-4
Make Pal.java colors changable for texturepack-mods tweaks
2020-09-21 11:10:37 -04:00
Felix Corvus
6840fb53b7 Update Pal.java 2020-09-21 16:24:06 +03:00
Anuken
6b56fef512 Merge pull request #2636 from genNAowl/wall-sound-effects
Add sound variables for when a wall is releasing lightning/deflecting bullets
2020-09-21 09:11:57 -04:00
Felix Corvus
1b38b2d2f9 Lyagushka just kva'd 2020-09-21 16:00:45 +03:00
Petr Gašparík
50960ff599 Update for Stream plus humble selfpromo 2020-09-21 11:08:46 +02:00
Petr Gašparík
c122d737c1 Czech translation - fixes 2020-09-21 11:01:53 +02:00
Petr Gašparík
3349764421 Czech translation - from 105 to 6.0 alpha 2020-09-21 10:59:02 +02:00
Petr Gašparík
636a332d65 Merge branch 'master' of https://github.com/Anuken/Mindustry into v105 2020-09-21 10:05:24 +02:00
AydenRennaker
9f5e96ff8a Add Atanner Gaming V6 Server
Auto Updating server to latest bleeding edge build.
2020-09-20 22:56:11 -06:00
Leonwang4234
5eb722efee Update Wall.java 2020-09-20 20:25:18 -07:00
Anuken
63e35bd462 T4 air carrier unit (*unfinished*) 2020-09-20 19:34:12 -04:00
Anuken
401384ae5b Anuken/Mindustry-Suggestions/issues/548 2020-09-20 16:35:25 -04:00
DeltaNedas
f9a70b1190 typo 2020-09-20 20:35:44 +01:00
DeltaNedas
632322a2bc add even more info to crash logs 2020-09-20 20:25:57 +01:00
Anuken
b2d054c1f2 Merge remote-tracking branch 'origin/master' 2020-09-20 15:23:41 -04:00
Anuken
0a314e142e Fixed #2632 (among other things) 2020-09-20 15:23:34 -04:00
YellOw139
d6291ea6c5 Merge branch 'master' into patch-2 2020-09-20 17:47:32 +03:00
Felix Corvus
f7b320e838 Update bundle_ru.properties 2020-09-20 17:47:08 +03:00
YellOw139
c82455d994 #2628 2020-09-20 17:42:19 +03:00
Felix Corvus
dd32b4d39d Merge branch 'master' into master 2020-09-20 16:56:36 +03:00
Anuken
8a3ed9c80b Merge pull request #2628 from Remint32/patch-5
[Bundle] Little improvements for convenience
2020-09-20 09:51:29 -04:00
Félix Córvus
0396cc6ec4 Update Control.java 2020-09-20 16:45:34 +03:00
Félix Córvus
e907d1a23f Updating bundles 2020-09-20 16:43:15 +03:00
Felix Corvus
86446f4f00 Update Control.java 2020-09-20 16:32:38 +03:00
YellOw139
9bdc81e728 Update contributors 2020-09-20 12:11:33 +03:00
YellOw139
a0d81eb18e [Bundle][RO] Translation Update
This PR was tested in-game and it's ready to merge at any time (unless marked as draft).

Changelog:
- Changes as per commits c71be9ae32, f53af781ba, 68cf2af6e0, 0bcb48ca31, b4d83f33e9
- Changed Surge Alloy name to 'Supra Aliaj'. 
  The new name is closer to the original, shorter and easier to pronounce. Old name: 'Aliaj de Supratensiune'
- Changed Phase Fabric name to 'Fibră-Fază'.
  It's closer to the original and shorter. Old name: 'Material de Fază'
- Tweaked some stat names
- Tweaked some map editor button names
- Typo fixes & various other improvements
2020-09-20 12:06:09 +03:00
Anuken
415380f25e Merge remote-tracking branch 'origin/master' 2020-09-19 21:54:18 -04:00
Anuken
b9fd38a76e Various tweaks and speculative changes 2020-09-19 21:54:08 -04:00
Anuken
b4d83f33e9 Merge pull request #2395 from genNAowl/ready-to-merge-force-projectors
F O R C E P R O J E C T O R S
2020-09-19 21:15:45 -04:00
Anuken
3b8b762a1c Removed phase radius display *(see description)*
Phased radius has been proposed in numerous PRs, but I don't know how to handle it properly yet. New players may be confused about the extra circle/hexagon indicator around blocks - it's not clear what it means. An extra radius easy to implement, so I'll leave it out of this PR and handle it later.
2020-09-19 21:15:18 -04:00
Anuken
cdd1e90d1a Fixed #2622 2020-09-19 17:35:32 -04:00
Anuken
eb8658e140 Mud tweaks / Unit count tweaks 2020-09-19 16:04:50 -04:00
Anuken
84b1c0348d Merge remote-tracking branch 'origin/master' 2020-09-19 14:11:51 -04:00
Anuken
0bcb48ca31 Costs for unit research 2020-09-19 14:11:48 -04:00
Anuken
c470c0abe1 Merge pull request #2612 from sk7725/patch-17
[KO] Update bundle_ko.properties
2020-09-19 13:26:31 -04:00
Anuken
dcbfc2b7aa Storage team colors 2020-09-19 12:38:24 -04:00
Anuken
ce8e060f29 Merge remote-tracking branch 'origin/master' 2020-09-19 12:31:06 -04:00
Anuken
9b0947a6e5 Fixed #2607 / Fixed #2604 2020-09-19 12:30:58 -04:00
Anuken
c865dbb465 Merge pull request #2610 from DeltaNedas/pubtree
make techtree funcs public
2020-09-19 12:14:26 -04:00
Anuken
eb60b60b4a Merge pull request #2615 from Remint32/patch-4
[Bundle] Missing keybind lines
2020-09-19 12:12:52 -04:00
Anuken
e19e74cdc5 Bugfixes 2020-09-19 11:40:11 -04:00
Felix Corvus
68cf2af6e0 missing keybind lines 2020-09-19 17:34:49 +03:00
Felix Corvus
db3eaf9a33 missing lines 2020-09-19 17:29:33 +03:00
Felix Corvus
48f6ed47a6 Merge branch 'master' into master 2020-09-19 17:01:57 +03:00
Felix Corvus
c1efb69a91 Update bundle_ru.properties 2020-09-19 16:58:22 +03:00
Vanguard
742b171d5c 2 new lines
unit.sei.name
unit.omura.name
2020-09-19 16:10:07 +03:00
Sunny Kim
8a4dd09137 Update bundle_ko.properties
+ Lots of environmental blocks(reflects 74cefb3ec9)!
2020-09-19 20:49:08 +09:00
DeltaNedas
435ef23eed Update CrashSender.java 2020-09-19 09:50:02 +00:00
DeltaNedas
cdc1337fcb make techtree funcs public 2020-09-19 10:00:33 +01:00
DeltaNedas
c324cf2c66 h 2020-09-19 09:56:05 +01:00
DeltaNedas
3894234578 more info in crash reports 2020-09-19 09:54:09 +01:00
Anuken
b29c0ab401 Unit production limit tweaks 2020-09-18 22:42:05 -04:00
Anuken
8a99a89f57 how many times do I neet to press refresh before IntelliJ sees the files that were there all along 2020-09-18 21:19:26 -04:00
Anuken
c038ef200a arc 2020-09-18 21:16:40 -04:00
Anuken
aae045b5dd Outline changes 2020-09-18 21:14:04 -04:00
Anuken
8dd1c5f1f8 hhhhh 2020-09-18 18:56:01 -04:00
Anuken
f53af781ba T4/5 naval / Controversial weapon outlines 2020-09-18 18:54:09 -04:00
Felix Corvus
4cc90c0f4d Update bundle_ru.properties 2020-09-18 22:25:59 +03:00
Felix Corvus
80490c401a Update bundle_ru.properties 2020-09-18 21:38:31 +03:00
Anuken
6b6783f201 Fixed #2591 / Fixed #2591 / Fixed #2589 / Fixed #2587 2020-09-18 11:21:50 -04:00
Anuken
c71be9ae32 Mud 2020-09-18 00:13:08 -04:00
Anuken
4c241f9867 Bugfixes 2020-09-17 23:53:35 -04:00
Anuken
f242a2b2cd Fixed #2585 2020-09-17 22:25:56 -04:00
Anuken
0c7a7e00eb Merge remote-tracking branch 'origin/master' 2020-09-17 21:05:23 -04:00
Anuken
ea224bd1f1 many things 2020-09-17 21:05:16 -04:00
Anuken
c5fffb9ddd Merge pull request #2579 from DeltaNedas/logicops
add lua-style integer division with //
2020-09-17 14:47:17 -04:00
DeltaNedas
ee08fa8f77 add lua-style integer division with // 2020-09-17 17:46:45 +01:00
Anuken
dfb96dcdd9 Merge pull request #2557 from Vortetty/patch-1
Update servers_be.json
2020-09-17 11:15:07 -04:00
Anuken
b0bb048c35 Merge branch 'master' into patch-1 2020-09-17 11:14:54 -04:00
MWestfall
d4811a7d04 Update servers_v6.json
ECAN Moving to V6
2020-09-17 10:36:48 -04:00
MWestfall
553bc1d1c8 Update servers.json 2020-09-17 10:34:19 -04:00
Anuken
ce2dd89f44 Fixed #2571 2020-09-16 23:34:56 -04:00
Anuken
7b55ce94fe Merge remote-tracking branch 'origin/master' 2020-09-16 18:38:30 -04:00
Anuken
bdf814c9b9 Removed sector data cache system 2020-09-16 18:38:23 -04:00
Anuken
53f5c69d40 Merge pull request #2569 from Mayonez-bat/patch-1
Update servers_v6.json
2020-09-16 18:08:32 -04:00
Felix Corvus
e1277da02d Update bundle_ru.properties 2020-09-17 00:49:02 +03:00
Anuken
030542890e Bugfixes 2020-09-16 16:04:11 -04:00
Mayonez-bat
eb5c5a617b Update servers_v6.json
Add pandorum,su:8000
2020-09-16 20:24:09 +01:00
Anuken
5c98512e4f Bugfixes 2020-09-16 14:53:44 -04:00
Anuken
0847fc9f09 Crash fix 2020-09-16 12:58:26 -04:00
Anuken
47b4da59e0 Fixed #2567 2020-09-16 12:56:32 -04:00
Prosta4okua
d2b8967713 Merge pull request #20 from TheSlaylord/patch-14
_Ничего личного, можно добавлюсь в список контрибуторов/переводчиков?_
Нет, нельзя.
*делает слияние*
:D
2020-09-16 18:57:00 +03:00
TheSlaylord
b24c5ea920 Update contributors 2020-09-16 18:48:04 +03:00
TheSlaylord
7dfe973664 Update bundle_ru.properties 2020-09-16 18:46:04 +03:00
Anuken
ddcfd0728d Merge remote-tracking branch 'origin/master' 2020-09-16 11:44:46 -04:00
Anuken
9cfd78ee1f Fixed #2565 2020-09-16 11:44:39 -04:00
Anuken
90978b54da Merge pull request #2558 from sk7725/patch-16
[KO] Unit name changes
2020-09-16 10:50:39 -04:00
Anuken
7e9f5f5dc4 Merge pull request #2562 from Quezler/patch-44
+ commander
2020-09-16 10:49:39 -04:00
Anuken
edb776a549 Merge pull request #2521 from YellOw139/patch-1
Create bundle_ro.properties
2020-09-16 10:29:07 -04:00
Anuken
bc2d4267ee Merge remote-tracking branch 'origin/master' 2020-09-16 09:57:16 -04:00
Anuken
d015e878c8 Visual fixes 2020-09-16 09:57:12 -04:00
Anuken
bdda8dbd38 Merge pull request #2559 from BasedUser/patch-2
Update servers_v6.json
2020-09-16 09:51:12 -04:00
Anuken
b200b198ed Merge branch 'master' into patch-2 2020-09-16 09:51:05 -04:00
Anuken
5b6da6039f Merge pull request #2560 from Somka000/patch-5
Update servers_v6.json
2020-09-16 09:33:34 -04:00
Anuken
5fbc3b8dd4 Merge pull request #2561 from Somka000/patch-7
Update servers_be.json
2020-09-16 09:26:24 -04:00
Anuken
e2a838a715 Fixed #2563 2020-09-16 09:23:57 -04:00
Felix Corvus
41f3fcbe16 Update bundle_ru.properties 2020-09-16 16:01:47 +03:00
Felix Corvus
013995b30d nicknames fixes 2020-09-16 15:13:25 +03:00
YellOw139
66aacd6ef0 Update bundle_ro.properties 2020-09-16 13:39:28 +03:00
YellOw139
703ad61b72 Update bundle_ro.properties 2020-09-16 13:38:54 +03:00
Patrick 'Quezler' Mounier
e7162004f2 + commander 2020-09-16 12:04:24 +02:00
Somka000
542492e434 Update servers_be.json
Move .pl to 6.0 server list
2020-09-16 08:38:48 +02:00
Petr Gašparík
6547af8009 Merge branch 'master' of https://github.com/Anuken/Mindustry into v105 2020-09-16 08:22:45 +02:00
Somka000
b816bc1467 Update servers_v6.json
Move .pl to 6.0 server list
2020-09-16 08:20:58 +02:00
YellOw139
9e81460adb Update bundle_ro.properties 2020-09-16 08:18:01 +03:00
YellOw139
71df10c6d8 Update bundle_ro.properties 2020-09-16 07:43:07 +03:00
BasedUser
de610c839a Update servers_be.json 2020-09-16 06:59:56 +03:00
BasedUser
24291e595a Update servers_v6.json
Move routerchain.ddns.net to v6 server list
2020-09-16 06:59:09 +03:00
Anuken
3974497c31 Merge remote-tracking branch 'origin/master' 2020-09-15 23:49:47 -04:00
Anuken
462e6733ed Cliff-spam cache fix 2020-09-15 23:49:40 -04:00
Sunny Kim
3407520645 [KO] Unit name changes
[KO] Unit name changes, based on community reactions.
2020-09-16 10:15:38 +09:00
Anuken
2877bdf0d6 Update bundle_ko.properties (#2475)
* Update bundle_ko.properties

* Update bundle_ko.properties

* Update bundle_ko.properties
2020-09-15 20:36:18 -04:00
Sunny Kim
c7e4346890 Higher than 5 waves -> Lower than 5 waves (#2444)
I just noticed this and it bugs me. Also removed "Campaign Achievement:" because almost all achievements are campaign. Also changed wrong words, including the notorious 블럭 -> 블록. Also fixed typo: 2 Waves skipped to 2 Launches skipped.
2020-09-15 20:36:10 -04:00
Anuken
52ff09d024 Fixed deployment 2020-09-15 20:18:21 -04:00
YellOw139
f52693ae88 Update bundle_ro.properties 2020-09-15 21:55:17 +03:00
Vortetty
b018063a5c Update servers_be.json
Added a 24/7 uptime server im hosting with auto updates (restarts after the updates)
2020-09-15 10:25:17 -07:00
YellOw139
ac8c82eaa1 Update bundle_ro.properties 2020-09-14 14:52:45 +03:00
YellOw139
fffa07398e Update bundle_ro.properties 2020-09-14 10:40:26 +03:00
YellOw139
7021d2b9fd Update bundle_ro.properties 2020-09-14 09:45:51 +03:00
YellOw139
140569238b Update bundle_ro.properties 2020-09-13 18:59:52 +03:00
YellOw139
12d8cba2a7 Update bundle_ro.properties 2020-09-13 16:11:43 +03:00
YellOw139
a5d36dff7e Update bundle_ro.properties 2020-09-13 13:59:52 +03:00
YellOw139
aff57f2f30 Update bundle_ro.properties 2020-09-10 00:01:35 +03:00
YellOw139
8c0fb1edbb Update bundle_ro.properties 2020-09-09 23:29:21 +03:00
YellOw139
3ceda53202 Update bundle_ro.properties 2020-09-09 23:20:36 +03:00
YellOw139
7fc53f0a9e Update bundle_ro.properties 2020-09-09 18:32:51 +03:00
YellOw139
4503096e26 Update bundle_ro.properties 2020-09-09 18:27:12 +03:00
YellOw139
6c7a603219 Create bundle_ro.properties
I know unfinished translations in non-draft pull requests are a big no, but I ran low on battery, had no available charger and needed to change devices while making sure progress is not lost.

Will fix ASAP.
2020-09-09 03:14:51 +03:00
Sunny Kim
850d3a037a Update bundle_ko.properties 2020-09-02 09:21:10 +09:00
Sunny Kim
80e2c06c48 Update bundle_ko.properties 2020-09-02 09:17:18 +09:00
Sunny Kim
7d4a1cb627 Update bundle_ko.properties 2020-09-02 09:12:22 +09:00
J-VdS
fee15caf7a Merge branch 'master' into schematic 2020-08-28 13:38:46 +02:00
Leonwang4234
939fbab4c4 why did I forget to change this 2020-08-22 10:05:16 -07:00
Leonwang4234
94fe7bb456 Forgot to remove this * 5f for some reason 2020-08-22 09:03:09 -07:00
Leonwang4234
7954788da3 changed phase radius boost
Split into phase radius boost and phase shield boost.
2020-08-22 09:00:50 -07:00
Leonwang4234
0c4e58ee2b remove push mechanic 2020-08-21 21:43:09 -07:00
Leonwang4234
5f3b204708 Update ForceProjector.java 2020-08-21 10:12:04 -07:00
Leonwang4234
a97df4247b F O R C E P R O J E C T O R S 2020-08-21 10:11:48 -07:00
Petr Gašparík
eb13ac4961 fix 2020-08-21 10:37:43 +02:00
Petr Gašparík
2b8dfaf289 Czech translation - up-to-date! 2020-08-21 10:35:04 +02:00
J-VdS
a418d7e59f fix mobile copysetting 2020-08-20 23:34:24 +02:00
J-VdS
0d425456be allow copies 2020-08-20 20:46:04 +02:00
J-VdS
3753e8f54a global rule not working 2020-08-19 20:29:03 +02:00
J-VdS
4938aac731 schematic server setting 2020-08-19 19:10:25 +02:00
J-VdS
4334a3c24b Merge branch 'master' into schematic 2020-08-19 16:14:48 +02:00
J-VdS
a95296eccc Merge pull request #3 from Anuken/master
merge 2
2020-08-19 16:13:15 +02:00
J-VdS
fe18222c6c block schematics 2020-08-19 16:11:00 +02:00
J-VdS
337d5b0531 Merge pull request #1 from Anuken/master
$ update
2020-08-04 17:33:50 +02:00
385 changed files with 22242 additions and 14816 deletions

View File

@@ -7,6 +7,8 @@ assignees: ''
--- ---
**Note**: Do not report any new bugs directly relating to the v6 campaign. They will not be fixed or considered at this time.
**Platform**: *Android/iOS/Mac/Windows/Linux* **Platform**: *Android/iOS/Mac/Windows/Linux*
**Build**: *The build number under the title in the main menu. Required.* **Build**: *The build number under the title in the main menu. Required.*
@@ -17,7 +19,7 @@ assignees: ''
**Link(s) to mod(s) used**: *The mod repositories or zip files that are related to the issue, if applicable.* **Link(s) to mod(s) used**: *The mod repositories or zip files that are related to the issue, if applicable.*
**Save file**: *The save file you were playing on when the bug happened, if applicable.* **Save file**: *The save file you were playing on when the bug happened. REQUIRED for any issue that happens in-game.*
**Crash report**: *The contents of relevant crash report files. REQUIRED if you are reporting a crash.* **Crash report**: *The contents of relevant crash report files. REQUIRED if you are reporting a crash.*

View File

@@ -26,6 +26,7 @@ script:
- cp -a Mindustry/core/build/docs/javadoc/. docs/ - cp -a Mindustry/core/build/docs/javadoc/. docs/
- cd docs - cd docs
- if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then git add .; git commit -m "Update ${TRAVIS_BUILD_NUMBER}"; git push https://Anuken:${GH_PUSH_TOKEN}@github.com/MindustryGame/docs; fi - if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then git add .; git commit -m "Update ${TRAVIS_BUILD_NUMBER}"; git push https://Anuken:${GH_PUSH_TOKEN}@github.com/MindustryGame/docs; fi
- cd ../Mindustry
deploy: deploy:
- provider: releases - provider: releases
skip_cleanup: true skip_cleanup: true
@@ -38,11 +39,11 @@ deploy:
on: on:
repo: Anuken/Mindustry repo: Anuken/Mindustry
tags: true tags: true
- provider: script #- provider: script
script: bash update_wiki.sh # script: bash update_wiki.sh
on: # on:
repo: Anuken/Mindustry # repo: Anuken/Mindustry
tags: true # tags: true
env: env:
global: global:
- secure: TqlUl/ojjkCMVOGbCTKz7Cnr4F08UyWzY/CiJ0vvUOGJGZ1qm7XavAlDf5XT0egU4mvr37THubFO8vojbqmrmy0oZnYh3njKFA8axgyZ8PyKkjGHOfd0i6qyEWsOr9H90/2X8r3LwEeLaDFyHpu3wljIGBjweg53g2qwmDwCFa9UR80FJZ+xDB+rD6B3cXT0DTEkCoLZXLqXm0Y3HvBdSuBL1LR/FNb2BSxNq+tNLGiz1kdQZV5erausbbZypBoGxzz63xAnyz2kkFz73A8xQYVTzGbFodTPz7HM13GVZ5s43I03Y+HYyHBgBaSLziO2hi2kzVJccOwzBp7wS4fs1MqsFY5+IeWJ9k+hm89NiYT7+6zlEgoUMlIniny1qLqWTzx7btUeuC/y/h5TVBNgaV+z0jmHycHfeSyq5I+vmX4J8qe3wmaN8TcdqYKU5nIznOTk3CM5Fzu0Bs9vkCkOxmormmcjMFW1RbdOLc/hpZWZggsBA88sNEAI8eq+r5QEeqzeCx8YKoZDjdrsqvgLMc3El3gS9oMGxkn0Y/TEcqs9Tc4BXtTkqIA68hD0DYzlAxYjVbbkAI9Hh9lHNvV3Dr/oCkGXQ/HflM143kj1L3tSBZpqeqQE2XhngB5nqpS3OZTmZbMTQ8qD2luU18yaTGMLF5tJS/fdKPRx0gQ1kL8= - secure: TqlUl/ojjkCMVOGbCTKz7Cnr4F08UyWzY/CiJ0vvUOGJGZ1qm7XavAlDf5XT0egU4mvr37THubFO8vojbqmrmy0oZnYh3njKFA8axgyZ8PyKkjGHOfd0i6qyEWsOr9H90/2X8r3LwEeLaDFyHpu3wljIGBjweg53g2qwmDwCFa9UR80FJZ+xDB+rD6B3cXT0DTEkCoLZXLqXm0Y3HvBdSuBL1LR/FNb2BSxNq+tNLGiz1kdQZV5erausbbZypBoGxzz63xAnyz2kkFz73A8xQYVTzGbFodTPz7HM13GVZ5s43I03Y+HYyHBgBaSLziO2hi2kzVJccOwzBp7wS4fs1MqsFY5+IeWJ9k+hm89NiYT7+6zlEgoUMlIniny1qLqWTzx7btUeuC/y/h5TVBNgaV+z0jmHycHfeSyq5I+vmX4J8qe3wmaN8TcdqYKU5nIznOTk3CM5Fzu0Bs9vkCkOxmormmcjMFW1RbdOLc/hpZWZggsBA88sNEAI8eq+r5QEeqzeCx8YKoZDjdrsqvgLMc3El3gS9oMGxkn0Y/TEcqs9Tc4BXtTkqIA68hD0DYzlAxYjVbbkAI9Hh9lHNvV3Dr/oCkGXQ/HflM143kj1L3tSBZpqeqQE2XhngB5nqpS3OZTmZbMTQ8qD2luU18yaTGMLF5tJS/fdKPRx0gQ1kL8=

View File

@@ -22,9 +22,9 @@ First, make sure you have [JDK 14](https://adoptopenjdk.net/) installed. Open a
#### Windows #### Windows
_Running:_ `gradlew.bat desktop:run` _Running:_ `gradlew desktop:run`
_Building:_ `gradlew.bat desktop:dist` _Building:_ `gradlew desktop:dist`
_Sprite Packing:_ `gradlew.bat tools:pack` _Sprite Packing:_ `gradlew tools:pack`
#### Linux/Mac OS #### Linux/Mac OS
@@ -70,3 +70,7 @@ Post feature requests and feedback [here](https://github.com/Anuken/Mindustry-Su
[<img src="https://fdroid.gitlab.io/artwork/badge/get-it-on.png" [<img src="https://fdroid.gitlab.io/artwork/badge/get-it-on.png"
alt="Get it on F-Droid" alt="Get it on F-Droid"
height="80">](https://f-droid.org/packages/io.anuke.mindustry/) height="80">](https://f-droid.org/packages/io.anuke.mindustry/)
[<img src="https://flathub.org/assets/badges/flathub-badge-en.svg"
alt="Download On Flathub"
height="60">](https://flathub.org/apps/details/com.github.Anuken.Mindustry)

View File

@@ -99,7 +99,7 @@ android{
keyAlias RELEASE_KEY_ALIAS keyAlias RELEASE_KEY_ALIAS
keyPassword RELEASE_KEY_PASSWORD keyPassword RELEASE_KEY_PASSWORD
}else{ }else{
println("No keystore info property found!") println("No keystore property found. Releases will be unsigned.")
} }
} }
} }

View File

@@ -7,7 +7,6 @@ import android.content.pm.*;
import android.net.*; import android.net.*;
import android.os.Build.*; import android.os.Build.*;
import android.os.*; import android.os.*;
import android.provider.Settings.*;
import android.telephony.*; import android.telephony.*;
import arc.*; import arc.*;
import arc.backend.android.*; import arc.backend.android.*;
@@ -15,7 +14,7 @@ import arc.files.*;
import arc.func.*; import arc.func.*;
import arc.scene.ui.layout.*; import arc.scene.ui.layout.*;
import arc.util.*; import arc.util.*;
import arc.util.serialization.*; import dalvik.system.*;
import mindustry.*; import mindustry.*;
import mindustry.game.Saves.*; import mindustry.game.Saves.*;
import mindustry.io.*; import mindustry.io.*;
@@ -23,7 +22,6 @@ import mindustry.net.*;
import mindustry.ui.dialogs.*; import mindustry.ui.dialogs.*;
import java.io.*; import java.io.*;
import java.lang.System;
import java.lang.Thread.*; import java.lang.Thread.*;
import java.util.*; import java.util.*;
@@ -73,12 +71,25 @@ public class AndroidLauncher extends AndroidApplication{
public void shareFile(Fi file){ public void shareFile(Fi file){
} }
@Override
public Class<?> loadJar(Fi jar, String mainClass) throws Exception{
DexClassLoader loader = new DexClassLoader(jar.file().getPath(), getFilesDir().getPath(), null, getClassLoader());
return Class.forName(mainClass, true, loader);
}
@Override @Override
public void showFileChooser(boolean open, String extension, Cons<Fi> cons){ public void showFileChooser(boolean open, String extension, Cons<Fi> cons){
showFileChooser(open, cons, extension);
}
void showFileChooser(boolean open, Cons<Fi> cons, String... extensions){
String extension = extensions[0];
if(VERSION.SDK_INT >= VERSION_CODES.Q){ if(VERSION.SDK_INT >= VERSION_CODES.Q){
Intent intent = new Intent(open ? Intent.ACTION_OPEN_DOCUMENT : Intent.ACTION_CREATE_DOCUMENT); Intent intent = new Intent(open ? Intent.ACTION_OPEN_DOCUMENT : Intent.ACTION_CREATE_DOCUMENT);
intent.addCategory(Intent.CATEGORY_OPENABLE); intent.addCategory(Intent.CATEGORY_OPENABLE);
intent.setType(extension.equals("zip") && !open ? "application/zip" : "*/*"); intent.setType(extension.equals("zip") && !open && extensions.length == 1 ? "application/zip" : "*/*");
addResultListener(i -> startActivityForResult(intent, i), (code, in) -> { addResultListener(i -> startActivityForResult(intent, i), (code, in) -> {
if(code == Activity.RESULT_OK && in != null && in.getData() != null){ if(code == Activity.RESULT_OK && in != null && in.getData() != null){
Uri uri = in.getData(); Uri uri = in.getData();
@@ -108,7 +119,7 @@ public class AndroidLauncher extends AndroidApplication{
}); });
}else if(VERSION.SDK_INT >= VERSION_CODES.M && !(checkSelfPermission(Manifest.permission.WRITE_EXTERNAL_STORAGE) == PackageManager.PERMISSION_GRANTED && }else if(VERSION.SDK_INT >= VERSION_CODES.M && !(checkSelfPermission(Manifest.permission.WRITE_EXTERNAL_STORAGE) == PackageManager.PERMISSION_GRANTED &&
checkSelfPermission(Manifest.permission.READ_EXTERNAL_STORAGE) == PackageManager.PERMISSION_GRANTED)){ checkSelfPermission(Manifest.permission.READ_EXTERNAL_STORAGE) == PackageManager.PERMISSION_GRANTED)){
chooser = new FileChooser(open ? "@open" : "@save", file -> file.extension().equalsIgnoreCase(extension), open, file -> { chooser = new FileChooser(open ? "@open" : "@save", file -> Structs.contains(extensions, file.extension().toLowerCase()), open, file -> {
if(!open){ if(!open){
cons.get(file.parent().child(file.nameWithoutExtension() + "." + extension)); cons.get(file.parent().child(file.nameWithoutExtension() + "." + extension));
}else{ }else{
@@ -125,10 +136,19 @@ public class AndroidLauncher extends AndroidApplication{
} }
requestPermissions(perms.toArray(new String[0]), PERMISSION_REQUEST_CODE); requestPermissions(perms.toArray(new String[0]), PERMISSION_REQUEST_CODE);
}else{ }else{
super.showFileChooser(open, extension, cons); if(open){
new FileChooser("@open", file -> Structs.contains(extensions, file.extension().toLowerCase()), true, cons).show();
}else{
super.showFileChooser(open, extension, cons);
}
} }
} }
@Override
public void showMultiFileChooser(Cons<Fi> cons, String... extensions){
showFileChooser(true, cons, extensions);
}
@Override @Override
public void beginForceLandscape(){ public void beginForceLandscape(){
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE); setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE);

View File

@@ -38,6 +38,8 @@ public class EntityIO{
this.serializer = serializer; this.serializer = serializer;
this.name = name; this.name = name;
json.setIgnoreUnknownFields(true);
directory.mkdirs(); directory.mkdirs();
//load old revisions //load old revisions
@@ -45,6 +47,8 @@ public class EntityIO{
revisions.add(json.fromJson(Revision.class, fi)); revisions.add(json.fromJson(Revision.class, fi));
} }
revisions.sort(r -> r.version);
//next revision to be used //next revision to be used
int nextRevision = revisions.isEmpty() ? 0 : revisions.max(r -> r.version).version + 1; int nextRevision = revisions.isEmpty() ? 0 : revisions.max(r -> r.version).version + 1;
@@ -61,11 +65,13 @@ public class EntityIO{
//keep track of fields present in the entity //keep track of fields present in the entity
presentFields.addAll(fields.map(f -> f.name)); presentFields.addAll(fields.map(f -> f.name));
Revision previous = revisions.isEmpty() ? null : revisions.peek();
//add new revision if it doesn't match or there are no revisions //add new revision if it doesn't match or there are no revisions
if(revisions.isEmpty() || !revisions.peek().equal(fields)){ if(revisions.isEmpty() || !revisions.peek().equal(fields)){
revisions.add(new Revision(nextRevision, revisions.add(new Revision(nextRevision,
fields.map(f -> new RevisionField(f.name, f.type.toString(), fields.map(f -> new RevisionField(f.name, f.type.toString()))));
f.type.isPrimitive() ? BaseProcessor.typeSize(f.type.toString()) : -1)))); Log.warn("Adding new revision @ for @.\nPre = @\nNew = @\n", nextRevision, name, previous == null ? null : previous.fields.toString(", ", f -> f.name + ":" + f.type), fields.toString(", ", f -> f.name + ":" + f.type.toString()));
//write revision //write revision
directory.child(nextRevision + ".json").writeString(json.toJson(revisions.peek())); directory.child(nextRevision + ".json").writeString(json.toJson(revisions.peek()));
} }
@@ -322,8 +328,7 @@ public class EntityIO{
for(int i = 0; i < fields.size; i++){ for(int i = 0; i < fields.size; i++){
RevisionField field = fields.get(i); RevisionField field = fields.get(i);
FieldSpec spec = specs.get(i); FieldSpec spec = specs.get(i);
//TODO when making fields, their primitive size may be overwritten by an annotation; check for that if(!field.type.replace("mindustry.gen.", "").equals(spec.type.toString().replace("mindustry.gen.", ""))){
if(!(field.type.equals(spec.type.toString()) && (!spec.type.isPrimitive() || BaseProcessor.typeSize(spec.type.toString()) == field.size))){
return false; return false;
} }
} }
@@ -333,11 +338,9 @@ public class EntityIO{
public static class RevisionField{ public static class RevisionField{
String name, type; String name, type;
int size; //in bytes
RevisionField(String name, String type, int size){ RevisionField(String name, String type){
this.name = name; this.name = name;
this.size = size;
this.type = type; this.type = type;
} }

View File

@@ -1,6 +1,5 @@
package mindustry.annotations.entity; package mindustry.annotations.entity;
import arc.*;
import arc.files.*; import arc.files.*;
import arc.func.*; import arc.func.*;
import arc.struct.*; import arc.struct.*;
@@ -77,7 +76,11 @@ public class EntityProcess extends BaseProcessor{
for(Smethod elem : component.methods()){ for(Smethod elem : component.methods()){
if(elem.is(Modifier.ABSTRACT) || elem.is(Modifier.NATIVE)) continue; if(elem.is(Modifier.ABSTRACT) || elem.is(Modifier.NATIVE)) continue;
//get all statements in the method, store them //get all statements in the method, store them
methodBlocks.put(elem.descString(), elem.tree().getBody().toString()); methodBlocks.put(elem.descString(), elem.tree().getBody().toString()
//replace all self() invocations with this
.replaceAll("this\\.<(.*)>self\\(\\)", "this")
.replaceAll("self\\(\\)", "this")
);
} }
} }
@@ -516,7 +519,7 @@ public class EntityProcess extends BaseProcessor{
//add free code to remove methods - always at the end //add free code to remove methods - always at the end
//this only gets called next frame. //this only gets called next frame.
if(first.name().equals("remove") && ann.pooled()){ if(first.name().equals("remove") && ann.pooled()){
mbuilder.addStatement("$T.app.post(() -> $T.free(this))", Core.class, Pools.class); mbuilder.addStatement("mindustry.gen.Groups.queueFree(($T)this)", Poolable.class);
} }
builder.addMethod(mbuilder.build()); builder.addMethod(mbuilder.build());
@@ -583,6 +586,17 @@ public class EntityProcess extends BaseProcessor{
//write clear //write clear
groupsBuilder.addMethod(groupClear.build()); groupsBuilder.addMethod(groupClear.build());
//add method for pool storage
groupsBuilder.addField(FieldSpec.builder(ParameterizedTypeName.get(Seq.class, Poolable.class), "freeQueue", Modifier.PRIVATE, Modifier.STATIC).initializer("new Seq<>()").build());
//method for freeing things
MethodSpec.Builder groupFreeQueue = MethodSpec.methodBuilder("queueFree")
.addModifiers(Modifier.PUBLIC, Modifier.STATIC)
.addParameter(Poolable.class, "obj")
.addStatement("freeQueue.add(obj)");
groupsBuilder.addMethod(groupFreeQueue.build());
//add method for resizing all necessary groups //add method for resizing all necessary groups
MethodSpec.Builder groupResize = MethodSpec.methodBuilder("resize") MethodSpec.Builder groupResize = MethodSpec.methodBuilder("resize")
.addParameter(TypeName.FLOAT, "x").addParameter(TypeName.FLOAT, "y").addParameter(TypeName.FLOAT, "w").addParameter(TypeName.FLOAT, "h") .addParameter(TypeName.FLOAT, "x").addParameter(TypeName.FLOAT, "y").addParameter(TypeName.FLOAT, "w").addParameter(TypeName.FLOAT, "h")
@@ -591,6 +605,11 @@ public class EntityProcess extends BaseProcessor{
MethodSpec.Builder groupUpdate = MethodSpec.methodBuilder("update") MethodSpec.Builder groupUpdate = MethodSpec.methodBuilder("update")
.addModifiers(Modifier.PUBLIC, Modifier.STATIC); .addModifiers(Modifier.PUBLIC, Modifier.STATIC);
//free everything pooled at the start of each updaet
groupUpdate
.addStatement("for($T p : freeQueue) $T.free(p)", Poolable.class, Pools.class)
.addStatement("freeQueue.clear()");
//method resize //method resize
for(GroupDefinition group : groupDefs){ for(GroupDefinition group : groupDefs){
if(group.spatial){ if(group.spatial){

View File

@@ -3,6 +3,8 @@ package mindustry.annotations.impl;
import arc.files.*; import arc.files.*;
import arc.scene.style.*; import arc.scene.style.*;
import arc.struct.*; import arc.struct.*;
import arc.util.*;
import arc.util.io.*;
import arc.util.serialization.*; import arc.util.serialization.*;
import com.squareup.javapoet.*; import com.squareup.javapoet.*;
import mindustry.annotations.Annotations.*; import mindustry.annotations.Annotations.*;
@@ -33,6 +35,17 @@ public class AssetsProcess extends BaseProcessor{
String resources = rootDirectory + "/core/assets-raw/sprites/ui"; String resources = rootDirectory + "/core/assets-raw/sprites/ui";
Jval icons = Jval.read(Fi.get(rootDirectory + "/core/assets-raw/fontgen/config.json").readString()); Jval icons = Jval.read(Fi.get(rootDirectory + "/core/assets-raw/fontgen/config.json").readString());
ObjectMap<String, String> texIcons = new OrderedMap<>();
PropertiesUtils.load(texIcons, Fi.get(rootDirectory + "/core/assets/icons/icons.properties").reader());
texIcons.each((key, val) -> {
String[] split = val.split("\\|");
String name = Strings.kebabToCamel(split[1]).replace("Medium", "").replace("Icon", "");
if(SourceVersion.isKeyword(name) || name.equals("char")) name = name + "i";
ichtype.addField(FieldSpec.builder(char.class, name, Modifier.PUBLIC, Modifier.STATIC, Modifier.FINAL).initializer("(char)" + key).build());
});
ictype.addField(FieldSpec.builder(ParameterizedTypeName.get(ObjectMap.class, String.class, TextureRegionDrawable.class), ictype.addField(FieldSpec.builder(ParameterizedTypeName.get(ObjectMap.class, String.class, TextureRegionDrawable.class),
"icons", Modifier.PUBLIC, Modifier.STATIC, Modifier.FINAL).initializer("new ObjectMap<>()").build()); "icons", Modifier.PUBLIC, Modifier.STATIC, Modifier.FINAL).initializer("new ObjectMap<>()").build());

View File

@@ -67,7 +67,7 @@ public class LogicStatementProcessor extends BaseProcessor{
int index = 0; int index = 0;
for(Svar field : fields){ for(Svar field : fields){
if(field.is(Modifier.TRANSIENT)) continue; if(field.isAny(Modifier.TRANSIENT, Modifier.STATIC)) continue;
writer.addStatement("out.append(\" \")"); writer.addStatement("out.append(\" \")");
writer.addStatement("out.append((($T)obj).$L$L)", c.mirror(), field.name(), writer.addStatement("out.append((($T)obj).$L$L)", c.mirror(), field.name(),

View File

@@ -19,7 +19,7 @@ import java.util.*;
}) })
public class RemoteProcess extends BaseProcessor{ public class RemoteProcess extends BaseProcessor{
/** Maximum size of each event packet. */ /** Maximum size of each event packet. */
public static final int maxPacketSize = 4096; public static final int maxPacketSize = 8192;
/** Warning on top of each autogenerated file. */ /** Warning on top of each autogenerated file. */
public static final String autogenWarning = "Autogenerated file. Do not modify!\n"; public static final String autogenWarning = "Autogenerated file. Do not modify!\n";

View File

@@ -3,6 +3,7 @@
alpha=0 alpha=0
atrax=1 atrax=1
block=2 block=2
corvus=24
flare=3 flare=3
mace=4 mace=4
mega=5 mega=5
@@ -19,7 +20,10 @@ mindustry.world.blocks.campaign.LaunchPad.LaunchPayloadComp=15
mindustry.world.blocks.defense.ForceProjector.ForceDrawComp=22 mindustry.world.blocks.defense.ForceProjector.ForceDrawComp=22
mono=16 mono=16
nova=17 nova=17
oct=26
poly=18 poly=18
pulsar=19 pulsar=19
quad=23
risso=20 risso=20
spiroct=21 spiroct=21
vela=25

View File

@@ -0,0 +1 @@
{version:1,fields:[{name:ammo,type:float,size:4},{name:armor,type:float,size:4},{name:controller,type:mindustry.entities.units.UnitController,size:-1},{name:elevation,type:float,size:4},{name:health,type:float,size:4},{name:isShooting,type:boolean,size:1},{name:mounts,type:"mindustry.entities.units.WeaponMount[]",size:-1},{name:rotation,type:float,size:4},{name:shield,type:float,size:4},{name:spawnedByCore,type:boolean,size:1},{name:stack,type:mindustry.type.ItemStack,size:-1},{name:statuses,type:arc.struct.Seq<mindustry.entities.units.StatusEntry>,size:-1},{name:team,type:mindustry.game.Team,size:-1},{name:type,type:mindustry.type.UnitType,size:-1},{name:x,type:float,size:4},{name:y,type:float,size:4}]}

View File

@@ -0,0 +1 @@
{version:1,fields:[{name:ammo,type:float,size:4},{name:armor,type:float,size:4},{name:baseRotation,type:float,size:4},{name:controller,type:mindustry.entities.units.UnitController,size:-1},{name:elevation,type:float,size:4},{name:health,type:float,size:4},{name:isShooting,type:boolean,size:1},{name:mineTile,type:mindustry.world.Tile,size:-1},{name:mounts,type:"mindustry.entities.units.WeaponMount[]",size:-1},{name:plans,type:arc.struct.Queue<mindustry.entities.units.BuildPlan>,size:-1},{name:rotation,type:float,size:4},{name:shield,type:float,size:4},{name:spawnedByCore,type:boolean,size:1},{name:stack,type:mindustry.type.ItemStack,size:-1},{name:statuses,type:arc.struct.Seq<mindustry.entities.units.StatusEntry>,size:-1},{name:team,type:mindustry.game.Team,size:-1},{name:type,type:mindustry.type.UnitType,size:-1},{name:x,type:float,size:4},{name:y,type:float,size:4}]}

View File

@@ -0,0 +1 @@
{fields:[{name:ammo,type:float},{name:armor,type:float},{name:controller,type:mindustry.entities.units.UnitController},{name:elevation,type:float},{name:health,type:float},{name:isShooting,type:boolean},{name:mounts,type:"mindustry.entities.units.WeaponMount[]"},{name:payloads,type:arc.struct.Seq<mindustry.world.blocks.payloads.Payload>},{name:plans,type:arc.struct.Queue<mindustry.entities.units.BuildPlan>},{name:rotation,type:float},{name:shield,type:float},{name:spawnedByCore,type:boolean},{name:stack,type:mindustry.type.ItemStack},{name:statuses,type:arc.struct.Seq<mindustry.entities.units.StatusEntry>},{name:team,type:mindustry.game.Team},{name:type,type:mindustry.type.UnitType},{name:x,type:float},{name:y,type:float}]}

View File

@@ -0,0 +1 @@
{version:1,fields:[{name:ammo,type:float,size:4},{name:armor,type:float,size:4},{name:controller,type:mindustry.entities.units.UnitController,size:-1},{name:elevation,type:float,size:4},{name:health,type:float,size:4},{name:isShooting,type:boolean,size:1},{name:mounts,type:"mindustry.entities.units.WeaponMount[]",size:-1},{name:plans,type:arc.struct.Queue<mindustry.entities.units.BuildPlan>,size:-1},{name:rotation,type:float,size:4},{name:shield,type:float,size:4},{name:spawnedByCore,type:boolean,size:1},{name:stack,type:mindustry.type.ItemStack,size:-1},{name:statuses,type:arc.struct.Seq<mindustry.entities.units.StatusEntry>,size:-1},{name:team,type:mindustry.game.Team,size:-1},{name:type,type:mindustry.type.UnitType,size:-1},{name:x,type:float,size:4},{name:y,type:float,size:4}]}

View File

@@ -0,0 +1 @@
{version:1,fields:[{name:ammo,type:float,size:4},{name:armor,type:float,size:4},{name:controller,type:mindustry.entities.units.UnitController,size:-1},{name:elevation,type:float,size:4},{name:health,type:float,size:4},{name:isShooting,type:boolean,size:1},{name:mineTile,type:mindustry.world.Tile,size:-1},{name:mounts,type:"mindustry.entities.units.WeaponMount[]",size:-1},{name:payloads,type:arc.struct.Seq<mindustry.world.blocks.payloads.Payload>,size:-1},{name:plans,type:arc.struct.Queue<mindustry.entities.units.BuildPlan>,size:-1},{name:rotation,type:float,size:4},{name:shield,type:float,size:4},{name:spawnedByCore,type:boolean,size:1},{name:stack,type:mindustry.type.ItemStack,size:-1},{name:statuses,type:arc.struct.Seq<mindustry.entities.units.StatusEntry>,size:-1},{name:team,type:mindustry.game.Team,size:-1},{name:type,type:mindustry.type.UnitType,size:-1},{name:x,type:float,size:4},{name:y,type:float,size:4}]}

View File

@@ -0,0 +1 @@
{version:1,fields:[{name:ammo,type:float,size:4},{name:armor,type:float,size:4},{name:controller,type:mindustry.entities.units.UnitController,size:-1},{name:elevation,type:float,size:4},{name:health,type:float,size:4},{name:isShooting,type:boolean,size:1},{name:mineTile,type:mindustry.world.Tile,size:-1},{name:mounts,type:"mindustry.entities.units.WeaponMount[]",size:-1},{name:plans,type:arc.struct.Queue<mindustry.entities.units.BuildPlan>,size:-1},{name:rotation,type:float,size:4},{name:shield,type:float,size:4},{name:spawnedByCore,type:boolean,size:1},{name:stack,type:mindustry.type.ItemStack,size:-1},{name:statuses,type:arc.struct.Seq<mindustry.entities.units.StatusEntry>,size:-1},{name:team,type:mindustry.game.Team,size:-1},{name:type,type:mindustry.type.UnitType,size:-1},{name:x,type:float,size:4},{name:y,type:float,size:4}]}

View File

@@ -0,0 +1 @@
{fields:[{name:ammo,type:float,size:4},{name:armor,type:float,size:4},{name:controller,type:mindustry.entities.units.UnitController,size:-1},{name:deactivated,type:boolean,size:1},{name:elevation,type:float,size:4},{name:health,type:float,size:4},{name:isShooting,type:boolean,size:1},{name:mounts,type:"mindustry.entities.units.WeaponMount[]",size:-1},{name:payloads,type:arc.struct.Seq<mindustry.world.blocks.payloads.Payload>,size:-1},{name:plans,type:arc.struct.Queue<mindustry.entities.units.BuildPlan>,size:-1},{name:rotation,type:float,size:4},{name:shield,type:float,size:4},{name:spawnedByCore,type:boolean,size:1},{name:stack,type:mindustry.type.ItemStack,size:-1},{name:statuses,type:arc.struct.Seq<mindustry.entities.units.StatusEntry>,size:-1},{name:team,type:mindustry.game.Team,size:-1},{name:type,type:mindustry.type.UnitType,size:-1},{name:x,type:float,size:4},{name:y,type:float,size:4}]}

View File

@@ -0,0 +1 @@
{version:1,fields:[{name:ammo,type:float,size:4},{name:armor,type:float,size:4},{name:controller,type:mindustry.entities.units.UnitController,size:-1},{name:elevation,type:float,size:4},{name:health,type:float,size:4},{name:isShooting,type:boolean,size:1},{name:mounts,type:"mindustry.entities.units.WeaponMount[]",size:-1},{name:payloads,type:arc.struct.Seq<mindustry.world.blocks.payloads.Payload>,size:-1},{name:plans,type:arc.struct.Queue<mindustry.entities.units.BuildPlan>,size:-1},{name:rotation,type:float,size:4},{name:shield,type:float,size:4},{name:spawnedByCore,type:boolean,size:1},{name:stack,type:mindustry.type.ItemStack,size:-1},{name:statuses,type:arc.struct.Seq<mindustry.entities.units.StatusEntry>,size:-1},{name:team,type:mindustry.game.Team,size:-1},{name:type,type:mindustry.type.UnitType,size:-1},{name:x,type:float,size:4},{name:y,type:float,size:4}]}

View File

@@ -0,0 +1 @@
{fields:[{name:ammo,type:float,size:4},{name:armor,type:float,size:4},{name:controller,type:mindustry.entities.units.UnitController,size:-1},{name:deactivated,type:boolean,size:1},{name:elevation,type:float,size:4},{name:health,type:float,size:4},{name:isShooting,type:boolean,size:1},{name:mounts,type:"mindustry.entities.units.WeaponMount[]",size:-1},{name:rotation,type:float,size:4},{name:shield,type:float,size:4},{name:spawnedByCore,type:boolean,size:1},{name:stack,type:mindustry.type.ItemStack,size:-1},{name:statuses,type:arc.struct.Seq<mindustry.entities.units.StatusEntry>,size:-1},{name:team,type:mindustry.game.Team,size:-1},{name:type,type:mindustry.type.UnitType,size:-1},{name:x,type:float,size:4},{name:y,type:float,size:4}]}

View File

@@ -0,0 +1 @@
{version:1,fields:[{name:ammo,type:float,size:4},{name:armor,type:float,size:4},{name:controller,type:mindustry.entities.units.UnitController,size:-1},{name:elevation,type:float,size:4},{name:health,type:float,size:4},{name:isShooting,type:boolean,size:1},{name:mounts,type:"mindustry.entities.units.WeaponMount[]",size:-1},{name:rotation,type:float,size:4},{name:shield,type:float,size:4},{name:spawnedByCore,type:boolean,size:1},{name:stack,type:mindustry.type.ItemStack,size:-1},{name:statuses,type:arc.struct.Seq<mindustry.entities.units.StatusEntry>,size:-1},{name:team,type:mindustry.game.Team,size:-1},{name:type,type:mindustry.type.UnitType,size:-1},{name:x,type:float,size:4},{name:y,type:float,size:4}]}

View File

@@ -0,0 +1 @@
{fields:[{name:ammo,type:float,size:4},{name:armor,type:float,size:4},{name:baseRotation,type:float,size:4},{name:controller,type:mindustry.entities.units.UnitController,size:-1},{name:deactivated,type:boolean,size:1},{name:elevation,type:float,size:4},{name:health,type:float,size:4},{name:isShooting,type:boolean,size:1},{name:mounts,type:"mindustry.entities.units.WeaponMount[]",size:-1},{name:rotation,type:float,size:4},{name:shield,type:float,size:4},{name:spawnedByCore,type:boolean,size:1},{name:stack,type:mindustry.type.ItemStack,size:-1},{name:statuses,type:arc.struct.Seq<mindustry.entities.units.StatusEntry>,size:-1},{name:team,type:mindustry.game.Team,size:-1},{name:type,type:mindustry.type.UnitType,size:-1},{name:x,type:float,size:4},{name:y,type:float,size:4}]}

View File

@@ -0,0 +1 @@
{version:1,fields:[{name:ammo,type:float,size:4},{name:armor,type:float,size:4},{name:baseRotation,type:float,size:4},{name:controller,type:mindustry.entities.units.UnitController,size:-1},{name:elevation,type:float,size:4},{name:health,type:float,size:4},{name:isShooting,type:boolean,size:1},{name:mounts,type:"mindustry.entities.units.WeaponMount[]",size:-1},{name:rotation,type:float,size:4},{name:shield,type:float,size:4},{name:spawnedByCore,type:boolean,size:1},{name:stack,type:mindustry.type.ItemStack,size:-1},{name:statuses,type:arc.struct.Seq<mindustry.entities.units.StatusEntry>,size:-1},{name:team,type:mindustry.game.Team,size:-1},{name:type,type:mindustry.type.UnitType,size:-1},{name:x,type:float,size:4},{name:y,type:float,size:4}]}

View File

@@ -0,0 +1 @@
{version:1,fields:[{name:ammo,type:float,size:4},{name:armor,type:float,size:4},{name:controller,type:mindustry.entities.units.UnitController,size:-1},{name:elevation,type:float,size:4},{name:health,type:float,size:4},{name:isShooting,type:boolean,size:1},{name:mounts,type:"mindustry.entities.units.WeaponMount[]",size:-1},{name:rotation,type:float,size:4},{name:shield,type:float,size:4},{name:spawnedByCore,type:boolean,size:1},{name:stack,type:mindustry.type.ItemStack,size:-1},{name:statuses,type:arc.struct.Seq<mindustry.entities.units.StatusEntry>,size:-1},{name:team,type:mindustry.game.Team,size:-1},{name:type,type:mindustry.type.UnitType,size:-1},{name:x,type:float,size:4},{name:y,type:float,size:4}]}

View File

@@ -0,0 +1 @@
{version:1,fields:[{name:ammo,type:float,size:4},{name:armor,type:float,size:4},{name:controller,type:mindustry.entities.units.UnitController,size:-1},{name:elevation,type:float,size:4},{name:health,type:float,size:4},{name:isShooting,type:boolean,size:1},{name:mounts,type:"mindustry.entities.units.WeaponMount[]",size:-1},{name:rotation,type:float,size:4},{name:shield,type:float,size:4},{name:spawnedByCore,type:boolean,size:1},{name:stack,type:mindustry.type.ItemStack,size:-1},{name:statuses,type:arc.struct.Seq<mindustry.entities.units.StatusEntry>,size:-1},{name:team,type:mindustry.game.Team,size:-1},{name:type,type:mindustry.type.UnitType,size:-1},{name:x,type:float,size:4},{name:y,type:float,size:4}]}

View File

@@ -0,0 +1 @@
{version:1,fields:[{name:ammo,type:float,size:4},{name:armor,type:float,size:4},{name:baseRotation,type:float,size:4},{name:controller,type:mindustry.entities.units.UnitController,size:-1},{name:elevation,type:float,size:4},{name:health,type:float,size:4},{name:isShooting,type:boolean,size:1},{name:mounts,type:"mindustry.entities.units.WeaponMount[]",size:-1},{name:rotation,type:float,size:4},{name:shield,type:float,size:4},{name:spawnedByCore,type:boolean,size:1},{name:stack,type:mindustry.type.ItemStack,size:-1},{name:statuses,type:arc.struct.Seq<mindustry.entities.units.StatusEntry>,size:-1},{name:team,type:mindustry.game.Team,size:-1},{name:type,type:mindustry.type.UnitType,size:-1},{name:x,type:float,size:4},{name:y,type:float,size:4}]}

View File

@@ -0,0 +1 @@
{version:1,fields:[{name:ammo,type:float,size:4},{name:armor,type:float,size:4},{name:controller,type:mindustry.entities.units.UnitController,size:-1},{name:elevation,type:float,size:4},{name:health,type:float,size:4},{name:isShooting,type:boolean,size:1},{name:mineTile,type:mindustry.world.Tile,size:-1},{name:mounts,type:"mindustry.entities.units.WeaponMount[]",size:-1},{name:rotation,type:float,size:4},{name:shield,type:float,size:4},{name:spawnedByCore,type:boolean,size:1},{name:stack,type:mindustry.type.ItemStack,size:-1},{name:statuses,type:arc.struct.Seq<mindustry.entities.units.StatusEntry>,size:-1},{name:team,type:mindustry.game.Team,size:-1},{name:type,type:mindustry.type.UnitType,size:-1},{name:x,type:float,size:4},{name:y,type:float,size:4}]}

View File

@@ -0,0 +1 @@
{version:1,fields:[{name:ammo,type:float,size:4},{name:armor,type:float,size:4},{name:controller,type:mindustry.entities.units.UnitController,size:-1},{name:elevation,type:float,size:4},{name:health,type:float,size:4},{name:isShooting,type:boolean,size:1},{name:mounts,type:"mindustry.entities.units.WeaponMount[]",size:-1},{name:rotation,type:float,size:4},{name:shield,type:float,size:4},{name:spawnedByCore,type:boolean,size:1},{name:stack,type:mindustry.type.ItemStack,size:-1},{name:statuses,type:arc.struct.Seq<mindustry.entities.units.StatusEntry>,size:-1},{name:team,type:mindustry.game.Team,size:-1},{name:type,type:mindustry.type.UnitType,size:-1},{name:x,type:float,size:4},{name:y,type:float,size:4}]}

View File

@@ -200,7 +200,6 @@ project(":desktop"){
dependencies{ dependencies{
implementation project(":core") implementation project(":core")
implementation arcModule("natives:natives-box2d-desktop")
implementation arcModule("natives:natives-desktop") implementation arcModule("natives:natives-desktop")
implementation arcModule("natives:natives-freetype-desktop") implementation arcModule("natives:natives-freetype-desktop")
implementation 'com.github.MinnDevelopment:java-discord-rpc:v2.0.1' implementation 'com.github.MinnDevelopment:java-discord-rpc:v2.0.1'
@@ -239,7 +238,6 @@ project(":ios"){
implementation arcModule("natives:natives-ios") implementation arcModule("natives:natives-ios")
implementation arcModule("natives:natives-freetype-ios") implementation arcModule("natives:natives-freetype-ios")
implementation arcModule("natives:natives-box2d-ios")
implementation arcModule("backends:backend-robovm") implementation arcModule("backends:backend-robovm")
compileOnly project(":annotations") compileOnly project(":annotations")
@@ -261,7 +259,6 @@ project(":core"){
doLast{ doLast{
def props = loadVersionProps() def props = loadVersionProps()
def androidVersion = props['androidBuildCode'].toInteger() - 2 def androidVersion = props['androidBuildCode'].toInteger() - 2
def buildVersion = props["build"]
def loglines = file("../changelog").text.split("\n") def loglines = file("../changelog").text.split("\n")
def maxLength = 460 def maxLength = 460
@@ -273,7 +270,6 @@ project(":core"){
} }
} }
def changelogs = file("../fastlane/metadata/android/en-US/changelogs/") def changelogs = file("../fastlane/metadata/android/en-US/changelogs/")
new File(changelogs, buildVersion + ".txt").text = (result)
new File(changelogs, androidVersion + ".txt").text = (result) new File(changelogs, androidVersion + ".txt").text = (result)
} }
} }
@@ -284,7 +280,6 @@ project(":core"){
api "org.lz4:lz4-java:1.4.1" api "org.lz4:lz4-java:1.4.1"
api arcModule("arc-core") api arcModule("arc-core")
api arcModule("extensions:freetype") api arcModule("extensions:freetype")
api arcModule("extensions:box2d")
api arcModule("extensions:g3d") api arcModule("extensions:g3d")
api arcModule("extensions:fx") api arcModule("extensions:fx")
api arcModule("extensions:arcnet") api arcModule("extensions:arcnet")
@@ -301,7 +296,6 @@ project(":server"){
dependencies{ dependencies{
implementation project(":core") implementation project(":core")
implementation arcModule("natives:natives-box2d-desktop")
implementation arcModule("backends:backend-headless") implementation arcModule("backends:backend-headless")
} }
} }
@@ -314,7 +308,6 @@ project(":tests"){
testImplementation "org.junit.jupiter:junit-jupiter-params:5.3.1" testImplementation "org.junit.jupiter:junit-jupiter-params:5.3.1"
testImplementation "org.junit.jupiter:junit-jupiter-api:5.3.1" testImplementation "org.junit.jupiter:junit-jupiter-api:5.3.1"
testImplementation arcModule("backends:backend-headless") testImplementation arcModule("backends:backend-headless")
testImplementation arcModule("natives:natives-box2d-desktop")
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.3.1" testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.3.1"
} }
@@ -336,7 +329,6 @@ project(":tools"){
implementation arcModule("natives:natives-desktop") implementation arcModule("natives:natives-desktop")
implementation arcModule("natives:natives-freetype-desktop") implementation arcModule("natives:natives-freetype-desktop")
implementation arcModule("natives:natives-box2d-desktop")
implementation arcModule("backends:backend-headless") implementation arcModule("backends:backend-headless")
} }
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 230 B

After

Width:  |  Height:  |  Size: 277 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 229 B

After

Width:  |  Height:  |  Size: 277 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 231 B

After

Width:  |  Height:  |  Size: 283 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 226 B

After

Width:  |  Height:  |  Size: 278 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 298 B

After

Width:  |  Height:  |  Size: 491 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 309 B

After

Width:  |  Height:  |  Size: 499 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 321 B

After

Width:  |  Height:  |  Size: 522 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 304 B

After

Width:  |  Height:  |  Size: 515 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 268 B

After

Width:  |  Height:  |  Size: 300 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 252 B

After

Width:  |  Height:  |  Size: 292 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 250 B

After

Width:  |  Height:  |  Size: 294 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 261 B

After

Width:  |  Height:  |  Size: 299 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 247 B

After

Width:  |  Height:  |  Size: 296 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 243 B

After

Width:  |  Height:  |  Size: 290 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 234 B

After

Width:  |  Height:  |  Size: 289 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 237 B

After

Width:  |  Height:  |  Size: 292 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 228 B

After

Width:  |  Height:  |  Size: 375 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 247 B

After

Width:  |  Height:  |  Size: 408 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 257 B

After

Width:  |  Height:  |  Size: 419 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 245 B

After

Width:  |  Height:  |  Size: 409 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 640 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 636 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 245 B

After

Width:  |  Height:  |  Size: 410 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 265 B

After

Width:  |  Height:  |  Size: 441 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 280 B

After

Width:  |  Height:  |  Size: 454 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 260 B

After

Width:  |  Height:  |  Size: 448 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 150 B

After

Width:  |  Height:  |  Size: 235 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 102 B

After

Width:  |  Height:  |  Size: 121 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 330 B

After

Width:  |  Height:  |  Size: 376 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 289 B

After

Width:  |  Height:  |  Size: 490 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 751 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 189 B

After

Width:  |  Height:  |  Size: 304 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 763 B

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 628 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 637 B

After

Width:  |  Height:  |  Size: 435 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 854 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 904 B

After

Width:  |  Height:  |  Size: 671 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 812 B

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 984 B

After

Width:  |  Height:  |  Size: 893 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 285 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 755 B

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 511 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 783 B

After

Width:  |  Height:  |  Size: 347 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 427 B

After

Width:  |  Height:  |  Size: 660 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 546 B

After

Width:  |  Height:  |  Size: 843 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 244 B

After

Width:  |  Height:  |  Size: 323 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 602 B

After

Width:  |  Height:  |  Size: 796 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 226 B

After

Width:  |  Height:  |  Size: 323 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 428 B

After

Width:  |  Height:  |  Size: 655 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 459 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 355 B

View File

@@ -4,6 +4,5 @@
flattenPaths: true, flattenPaths: true,
maxWidth: 4096, maxWidth: 4096,
maxHeight: 4096, maxHeight: 4096,
minHeight: 2048,
fast: true fast: true
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 890 B

After

Width:  |  Height:  |  Size: 908 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 828 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 720 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 617 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 550 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 350 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 486 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Some files were not shown because too many files have changed in this diff Show More