Compare commits

...
1614 Commits
Author SHA1 Message Date
Anuken 0b175cb25d Fixed release script using wrong folder 2019-04-04 19:36:15 -04:00
Anuken 0820338b55 Moved FPS counter once more / Pulverizer sprite fix 2019-04-04 19:31:17 -04:00
Anuken a2b46eee6f Improved pixel zoom / Possible player duplicate glitch 2019-04-04 18:58:48 -04:00
Anuken 09a435320a Impact reactor display bugfix 2019-04-04 15:14:45 -04:00
Anuken bf56200c06 Power amount message for buffered blocks 2019-04-04 15:06:27 -04:00
Anuken 2d18df2011 Multiplayer bugfixes / Balancing 2019-04-04 14:46:41 -04:00
Anuken bab87c0da8 Default spawn limit bumped to 4 2019-04-04 00:05:59 -04:00
Anuken 148f272500 New rule modifiers 2019-04-04 00:03:19 -04:00
Anuken 6de4af727b JSON read/write generation 2019-04-03 22:24:14 -04:00
Anuken 75946b9d14 Explosion propagation 2019-04-03 09:39:11 -04:00
Anuken 1c63ee6743 Clean pixel zoom 2019-04-02 23:30:40 -04:00
Anuken efdaf0d986 Balancing, tweaks and bugfixes 2019-04-02 22:43:20 -04:00
Anuken 3f6aeac33d Cleanup of new graphical options 2019-04-02 17:18:55 -04:00
Anuken d9692004cc Shield optimization 2019-04-02 17:08:22 -04:00
Anuken 67a12eecad Bugfixes 2019-04-02 15:52:44 -04:00
Anuken 37999e0870 Risky building changes 2019-04-02 14:26:23 -04:00
Anuken 66dc1e94f5 Slight entity optimizations / Turret sprite fixes 2019-04-02 13:58:44 -04:00
Anuken ebcce194a0 Turret coolant use balancing 2019-04-02 11:26:02 -04:00
Anuken 95eab94c80 Fixed liquid blocks not accepting liquids 2019-04-02 10:51:52 -04:00
Anuken 41a6dbe06c Basic minimap 2019-04-01 21:16:22 -04:00
Anuken fa22b0ec12 Removed dead donations code 2019-04-01 18:51:49 -04:00
Anuken be60a367e8 Removed donations library and Android support libraries 2019-04-01 18:46:11 -04:00
Anuken 608de34205 Updated bundles 2019-04-01 13:32:49 -04:00
Anuken 0a8f2edb05 Block update unit tests 2019-04-01 11:57:43 -04:00
Anuken 41b08f38c5 Fixed tests 2019-04-01 11:34:10 -04:00
Anuken a83c0b2e9a "fixes" 2019-03-31 22:27:11 -04:00
Anuken 8f853c8f18 Back button cleanup 2019-03-31 18:26:52 -04:00
Anuken b4071f6dcb Merge 2019-03-31 18:24:25 -04:00
Anuken 6b70418861 Cleanup 2019-03-31 18:20:38 -04:00
Anuken de0235ad94 Sweeping rework 2019-03-31 17:49:15 -04:00
Anuken c278c632b3 Back button quitting 2019-03-31 13:16:43 -04:00
Anuken 6392330e70 Optimizations / Very broken changes 2019-03-31 13:11:12 -04:00
Anuken 160ae4e244 Fixed startup crashing 2019-03-31 10:37:52 -04:00
Anuken a6c9bd3182 Class cleanup 2019-03-30 23:23:57 -04:00
Anuken 801eadd8a8 Bugfixes 2019-03-30 19:10:06 -04:00
Anuken 211dab1297 Compilation cleanup 2019-03-30 18:48:54 -04:00
Anuken 0c3b39ffdc Merge branches 'avoidance-optimization' and 'master' of https://github.com/Anuken/Mindustry 2019-03-30 13:52:46 -04:00
Anuken c31f88a318 Fixes 2019-03-30 13:01:55 -04:00
Anuken e9eb981782 More optimization / Flying avoidance 2019-03-30 12:54:29 -04:00
Anuken 83bde8a781 Improved avoidance 2019-03-30 12:33:01 -04:00
Anuken 52f352bf94 Fixed nondeterministic drill item sorting 2019-03-30 10:16:48 -04:00
Anuken b419a96d69 Mech balance / Re-added map screenshot 2019-03-30 00:17:29 -04:00
Anuken eb3d5b62f5 Tweaks 2019-03-29 22:48:04 -04:00
Anuken 1c5f578d88 Initial implementation 2019-03-29 18:48:03 -04:00
Anuken db3aae1388 Merge remote-tracking branch 'origin/master' 2019-03-29 18:15:31 -04:00
Anuken 0b08eb72a6 Bugfixes 2019-03-29 18:15:22 -04:00
Skybbles // L5474 cbc81376be pulverizer pulverises scrap not stone (#442) 2019-03-29 13:55:45 -06:00
Anuken 27e9901d05 Removed unused shadow methods; minor tweaks 2019-03-29 09:07:46 -04:00
Anuken 532c36677c Map preview block shadows 2019-03-28 22:23:59 -04:00
Anuken 0c20c6ecb7 Removed greek bundle temporarily, as font does not support it 2019-03-28 20:48:34 -04:00
Anuken fbb3240ebb Hid 0-damage stat to prevent confusion 2019-03-28 19:20:09 -04:00
Anuken bffae90022 Crash fixes 2019-03-28 17:41:57 -04:00
Anuken 61f6368591 Bundle update 2019-03-28 17:31:22 -04:00
Valen. H 1027ca2a85 Greek (#394)
Made in 2018, might be a bit out of date but seems functional. (4-alpha-63)
**Not complete**
2019-03-28 15:29:11 -06:00
Prosta4okua 5acc42f739 @router & @xzimur Create a PR for the Russian language (#437)
Останній комміт — Code cleanup (https://github.com/Anuken/Mindustry/commit/97f5bf3cc4898cf3312efca9c05a63f2768515f3#diff-daade3141498d8856d75ec34b88bbb19)
2019-03-28 15:26:14 -06:00
laohuaji233 1edeaeb94e Update bundle_zh_CN.properties (#436)
more translations
2019-03-28 15:26:08 -06:00
키에르 879acc6077 Update bundle_ko.properties (#435)
* Update bundle_ko.properties

* Oops

* Oops 2

* Update bundle_ko.properties

* Update bundle_ko.properties
2019-03-28 15:25:35 -06:00
Anuken 4e5d87104c Unit AI fixes / Other general fixes 2019-03-28 17:12:49 -04:00
Anuken e6a24b8ba1 Balancing / Bugfixes / Decreased build duration slightly 2019-03-28 14:38:00 -04:00
Anuken fd190c7770 UI layout fixes 2019-03-28 12:50:22 -04:00
Anuken d56869aefa Unit shadows 2019-03-28 12:42:04 -04:00
Anuken c8a15bb7e4 Shadow optimization: 30 -> 60 FPS on phone tested 2019-03-28 12:19:54 -04:00
Anuken 07c28c3f6d Minor fixes 2019-03-28 11:00:34 -04:00
Anuken 855957b099 Broke all crafting 2019-03-27 23:24:07 -04:00
Anuken 50959317e9 New launch pad / Tech tree tweaks 2019-03-27 22:13:40 -04:00
Anuken 20a681a71f Zone unlocking tweak 2019-03-27 19:21:15 -04:00
Anuken 4e2d558b36 Merge remote-tracking branch 'origin/master' 2019-03-27 09:31:12 -04:00
Anuken 0430b908f4 New requirements for zone unlock, currently broken 2019-03-27 09:31:07 -04:00
Anuken a84e9f2aaa Updated RoboVM plugin 2019-03-26 20:35:29 -04:00
Anuken 7ce571e59c New tentative edge style / Zone tweaks 2019-03-26 20:10:01 -04:00
Anuken 545a64f7dc Merge remote-tracking branch 'origin/master' 2019-03-26 11:05:55 -04:00
Anuken 10c999a4a2 Bugfixes / Mender block / Extra stats / Balancing 2019-03-26 11:05:47 -04:00
Anuken d0e026d597 Bugfixes 2019-03-25 13:12:55 -04:00
Anuken 0b1e2bf19b Compile fixes 2019-03-24 21:54:01 -04:00
Anuken 71c2c7ad05 More code cleanup 2019-03-24 21:10:59 -04:00
Anuken 97f5bf3cc4 Code cleanup 2019-03-24 19:58:51 -04:00
Anuken bb9573b85a Build cost/speed rules 2019-03-24 18:33:07 -04:00
Anuken e1f53dfc67 Added bundle entries 2019-03-24 17:58:59 -04:00
Anuken 87481e0a4d Ammo stats 2019-03-24 17:55:41 -04:00
Anuken f7aa58e385 Many small tweaks / Custom rules / Server run files / Balance 2019-03-24 16:29:25 -04:00
Anuken ea5c78f814 UI scaling fixes 2019-03-23 22:00:41 -04:00
Anuken c93c016e9c more icons 2019-03-23 19:06:50 -04:00
Anuken 4bb6664c7e Merge remote-tracking branch 'origin/master' 2019-03-23 18:48:00 -04:00
Anuken 9578068a02 another menu attempt 2019-03-23 18:47:57 -04:00
Anuken 30e5f2b17d iOS building fix 2019-03-23 18:33:33 -04:00
Anuken f959760c07 More iOS icon stuff 2019-03-23 15:05:22 -04:00
Anuken e7db2350bc Merge remote-tracking branch 'origin/master' 2019-03-23 14:39:08 -04:00
Anuken 0585dabf7a iOS icons 2019-03-23 14:39:04 -04:00
William So a3c6e3f1df Update 'bundle_zh_TW.properties' (#433)
* Match 'bundle_zh_TW.properties' with 'bundle.properties'

* Update 'bundle_zh_TW.properties'
2019-03-23 11:48:55 -06:00
Prosta4okua 9f57278644 Update bundle_uk_UA.properties (#430)
* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* deleted Ыы

* Update bundle_uk_UA.properties
2019-03-23 11:48:50 -06:00
ScriptHosT12 afc35cf623 Update bundle_pt_BR.properties (#432) 2019-03-23 11:48:37 -06:00
Prosta4okua 6d8523054b Update bundle_ru.properties (#429)
* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties
2019-03-23 11:48:31 -06:00
Anuken fdecd55278 Updated build files 2019-03-23 13:40:13 -04:00
Anuken 7e7f95916b Moved launch button to top right 2019-03-23 11:49:48 -04:00
Anuken ab52c65dcf Updated bundles 2019-03-23 11:08:46 -04:00
Anuken ed4d0eb5d0 Shadows setting / Server map text limit / Fallback spritesheet 2019-03-23 11:02:59 -04:00
Anuken 4bc9143306 New icon / Windows deployment fixes / Map fixes / Menu fix 2019-03-22 22:30:26 -04:00
Anuken a4f558c77a Code cleanup / Tainted water 2019-03-22 19:16:15 -04:00
Anuken e4f226a9c5 more menu table fighting 2019-03-22 13:58:51 -04:00
Anuken c7d34049fa Crash fix / Input tweak 2019-03-22 00:16:09 -04:00
Anuken ee06e620c6 Zone wave bugfix / New tests / More "encouragement" 2019-03-21 19:19:12 -04:00
Anuken b48110db3b Fixed #431 [item spacing not taken into account] 2019-03-21 17:13:46 -04:00
Anuken 8413046dd8 Crash/visual fixes 2019-03-21 15:37:36 -04:00
Anuken 83a5a82e18 Fixed server map find bug 2019-03-21 11:22:10 -04:00
Anuken 771c5fbe3d Better packr minimization 2019-03-21 11:15:03 -04:00
Anuken 74f16d0137 Reduced drone factory cost 2019-03-21 10:43:04 -04:00
Anuken 5d5d354f7d Balancing 2019-03-21 10:36:33 -04:00
Anuken 8f5f27755d Bugfixes / Allow placing blocks in shallow liquids 2019-03-21 10:16:37 -04:00
Anuken 4cb92cdb06 Fixed some deployment issues 2019-03-21 00:58:06 -04:00
Anuken 9e067ebdd6 Merge remote-tracking branch 'origin/master' 2019-03-21 00:19:10 -04:00
Anuken fd5fcc9928 Wave editor bugfixes 2019-03-21 00:19:06 -04:00
Prosta4okua c0b2abb5fd Update bundle_uk_UA.properties (#423)
* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties
2019-03-20 21:04:20 -06:00
Anuken 2c8620a75c Added missing sprites 2019-03-20 22:42:33 -04:00
Anuken 62f6ed0878 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	core/assets/bundles/bundle_ru.properties
2019-03-20 22:41:24 -04:00
Anuken 886b62bbad Too many things to list in a single line commit log 2019-03-20 22:40:47 -04:00
Prosta4okua 4bd58589fc Update bundle_ru.properties (#422)
* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties
2019-03-20 17:37:46 -06:00
키에르 0ce4144767 Update bundle_ko.properties (#425)
* Update bundle_ko.properties

* Update bundle_ko.properties

* Update bundle_ko.properties

https://github.com/Anuken/Mindustry/commit/91741ec29c18bc92f0aecad77524faa985f9d095

* Update bundle_ko.properties

https://github.com/Anuken/Mindustry/commit/783f453da33d6ffcf88b7485d439114349a9fc46#diff-daade3141498d8856d75ec34b88bbb19
2019-03-20 17:16:21 -06:00
bei2 cde945f40e Update Japanese translations (#428)
* Add new japanese translation

It translated on commit 66810c8.
so it don't apply changes from commit 17e0489.

* Update Japanese translation

Applies commit 7a51693. and small changes.

* Upadte Japanese translations

* Update Japanese

* Update Japanese

* Update Japanese translations

Improve and update for new changes

* Update Japanese

* Update Japanese translations

* Update Japanese translations

* Update Japanese translations

* Update Japanese translations

* Update Japanese translations

* Update Japanese translations

* Update Japanese translation

* Update Japanese translations

* Update Japanese translations

* Oops!

* Update Japanese translations

* Update Japanese

* Update Japanese

* Update Japanese translations
2019-03-20 17:14:03 -06:00
Anuken e2126a2693 Mandatory line placement tutorial 2019-03-20 19:12:14 -04:00
Anuken c9f6d92bef committing from a phone is hard 2019-03-20 09:58:54 -04:00
Anuken fbf4c411c1 Map editor fixes / Zone environment changes 2019-03-19 23:51:52 -04:00
Anuken ce5218db58 Wave editor clipboard save+load / Bugfixes / Balancing 2019-03-19 19:25:48 -04:00
Anuken e2ea7f9b87 Bundle update 2019-03-19 15:27:19 -04:00
Anuken 94d9f04814 Toggleable diagonals 2019-03-19 15:26:30 -04:00
Anuken c86dbac04a no snek 2019-03-19 14:01:00 -04:00
Anuken f36eed32b9 Bugfixes / Balancing 2019-03-19 12:47:09 -04:00
Anuken cd752209ad Snake cleanup 2019-03-19 11:46:00 -04:00
Anuken fe37d619b9 Mobile snake 2019-03-19 10:30:13 -04:00
Anuken 043f4688ef snakes 2019-03-18 23:09:03 -04:00
Anuken 949f171579 Fixed ores not spawning in certain maps 2019-03-18 09:29:27 -04:00
Anuken 87d586a30e More boulders 2019-03-17 18:35:33 -04:00
Anuken 783f453da3 Generate tool bugfixes / Map edits / New blocks 2019-03-17 18:30:33 -04:00
Anuken 6dcf889ffe Map tweaks 2019-03-17 14:04:55 -04:00
Anuken 8d44879cc6 Power/wave dialog fixes 2019-03-17 12:03:48 -04:00
Anuken e7b813962d Bugfixes 2019-03-16 22:59:50 -04:00
Anuken 22fadab3b3 Fixed units patrolling too quickly / Editor bugfixes 2019-03-16 13:25:50 -04:00
Anuken 91741ec29c Enemy indicators 2019-03-16 12:44:45 -04:00
Anuken 8269d842ce Removed redundant zone waves / Fixed wave dialog float issue 2019-03-16 10:13:49 -04:00
Anuken d038bdb6ce Better filter layout 2019-03-15 20:32:08 -04:00
Anuken 6cef301b94 Filter localization / Ore filter / Pick tool ore compatibility 2019-03-15 20:19:09 -04:00
Anuken e7ffbd817c Improved generation tool 2019-03-15 15:06:55 -04:00
Anuken 97067a6ee2 heck 2019-03-15 10:25:27 -04:00
Anuken 7d1a8f5404 Unfinished generation tool 2019-03-15 00:13:54 -04:00
Anuken 43bcf0cf3b Fixed unit icons / New scatter AA turret 2019-03-14 16:37:07 -04:00
Anuken 71751ee18d Fixed build error / Minor wave info dialog correction / Bugfix 2019-03-14 14:12:08 -04:00
Anuken ed105b102d Custom wave patterns / Fixed checkbox sprite / Bugfixes 2019-03-14 14:01:22 -04:00
Anuken f2662045ed New item bars / Map bugfixes / Stub wave editing 2019-03-13 21:26:53 -04:00
Anuken ecb77b0283 Fortress builtin map / Attributes / Efficiency stat / Bugfixes 2019-03-12 23:39:39 -04:00
Anuken 4d4869842e Bugfixes 2019-03-12 16:37:32 -04:00
BLucky-gh 47300b42b0 Add instructions to change permissions (#415) 2019-03-12 13:09:06 -06:00
Andreas Heiskanen 609565af5f Tests: Add tests for addDarkness() in World.java (#412)
* Tests: Add tests for addDarkness() in World.java

Add Junit tests for the addDarkness found in core/src/io/anuke/mindustry/core/World.java

* Refactor: Remove code duplication

Remove code duplication in WorldTests. Invoke launchApplication directly from ApplicationTests.

* BugFix: Assign Tiles[][] tiles used for testing. 

Add assignment of Tiles[][] tiles separately when invoking ApplicationTests.launchApplication.
2019-03-12 13:08:35 -06:00
Anuken 0c75f920de Fixed editor placing blocks at 0 health 2019-03-12 14:57:10 -04:00
Anuken e7b51f313b Merge branches 'master' and 'new-map-format' of https://github.com/Anuken/Mindustry 2019-03-12 13:50:48 -04:00
Anuken e8204fc983 Fixed misc compile errors 2019-03-12 13:46:40 -04:00
Anuken aa69af64fb Fixed some ores not loading in correctly / Conflict check 2019-03-12 13:42:20 -04:00
Anuken 41f734b04d Fixed legacy maps loading with no team 2019-03-12 13:35:25 -04:00
Anuken 8ad6f3abcc New ore system / Multiblock fixes 2019-03-12 13:28:00 -04:00
Anuken e4875903f1 More fixes 2019-03-12 11:31:14 -04:00
Anuken 0a04de04f1 Format bugfixes 2019-03-12 11:07:02 -04:00
Anuken 20427fdffa Implemented correct map loading, legacy format support 2019-03-12 10:36:04 -04:00
Anuken 0fd0abc6c0 Fixed compile errors / New non-crappy undo system 2019-03-11 23:06:41 -04:00
Anuken 70f7fc29d4 Cleanup 2019-03-11 17:18:37 -04:00
Anuken b0c1aff783 Heal bullet effect fix / Spawned ID sync / Crash fix 2019-03-11 14:54:15 -04:00
Anuken 4909c28ed9 Better low-FPS predict 2019-03-11 14:33:39 -04:00
Anuken 9e6745f691 Fixed polluted water 2019-03-11 13:34:15 -04:00
Anuken 6c3ccb259f Some errors fixed 2019-03-11 13:27:15 -04:00
Anuken 6c8d80777c Removed useless name mapping / Cleanup 2019-03-11 11:43:23 -04:00
Anuken 2db61f93ac Balance 2019-03-11 09:28:50 -04:00
Anuken ad059cbc38 Unfinished RLE 2019-03-11 09:26:35 -04:00
Anuken 87e7e04c5e Balance 2019-03-11 08:29:18 -04:00
Anuken c083d059c9 Progress 2019-03-11 08:25:03 -04:00
Anuken ebd44d3b60 Merge 2019-03-10 22:51:04 -04:00
Anuken 51f5d04889 Work on map format upgrade 2019-03-10 22:47:09 -04:00
Anuken 0f4d574115 New unfinished environment blocks / Bugfixes / Tech tree tweak 2019-03-10 22:38:53 -04:00
Anuken 1feb4a5e6d Tar shader / Spritesheet split / Font cleanup 2019-03-10 11:11:16 -04:00
키에르 f861b75c7d Fix fonts (#424)
* Fix fonts

* Add more fonts & bundle update

* Increase font size
2019-03-10 08:03:54 -06:00
Anuken 3530ca8989 Fixed more tests 2019-03-10 00:21:21 -05:00
Anuken 6b074ed4b2 Fixed some tests failing 2019-03-10 00:10:33 -05:00
Anuken 671823b4fa Tentative travis build fix 2019-03-09 23:55:01 -05:00
Anuken 8ceebf1546 More UDP 2019-03-09 23:10:47 -05:00
Anuken 376495836a ok 2019-03-09 23:06:55 -05:00
Anuken 98212df076 Water shader 2019-03-09 22:53:16 -05:00
Anuken 1316c9235a Made inventory hide on second tap / Mobile rotation arrow 2019-03-09 19:43:33 -05:00
Anuken a0905d5695 Faster, smaller server / Bundle check cleanup 2019-03-09 19:12:54 -05:00
Anuken 2a35e22dd2 Merge remote-tracking branch 'origin/master' 2019-03-09 16:47:12 -05:00
Anuken f86a07daee Removed awt use / Sand recolor / Bugfixes / Link fix 2019-03-09 16:47:08 -05:00
키에르 997628622a bundle upgrade for beta version (#421)
* Update bundle_ko.properties

* Update bundle_ko.properties
2019-03-09 09:19:17 -07:00
Anuken 563e015c92 Fixed power bug 2019-03-09 09:51:12 -05:00
Anuken 64533de597 Bugfixes / Font changed / Zone tweaks 2019-03-08 19:07:23 -05:00
Anuken 3776b99c39 nothing 2019-03-06 17:36:47 -05:00
Anuken a5d1350815 Removed map screenshot key / Basic zone guide 2019-03-05 16:07:48 -05:00
Anuken 82e44397ff Bundle update / Minor tweaks 2019-03-05 13:50:28 -05:00
Anuken 335c880af2 Bundle update / Unit factory active stats 2019-03-05 11:36:55 -05:00
Anuken 966efa0669 Bugfixes / Sprite tweak 2019-03-05 09:53:37 -05:00
Anuken 526a61381d Merge remote-tracking branch 'origin/master' 2019-03-04 17:06:11 -05:00
Anuken d01f68f731 something may have been fixed 2019-03-04 17:06:07 -05:00
Anuken 1235b41172 Update bundle.properties 2019-03-04 13:19:41 -05:00
Anuken 21f3a053ed Impact map balance / Block balance / Editor block sorting 2019-03-03 19:54:20 -05:00
Anuken 9e960d461b Balancing 2019-03-03 19:27:31 -05:00
Anuken 02fad0a9cc Consumer fixes / Removed unit factory target tag / Rank tweak 2019-03-03 10:55:56 -05:00
Anuken 627b78043b Atlas updated 2019-03-02 23:09:50 -05:00
Anuken 89b439c3c8 Bugfixes 2019-03-02 23:06:14 -05:00
Anuken 4a4a9f267b Switched impact blocks to blue 2019-03-01 23:18:00 -05:00
Anuken f605aabaa9 Updated packed sprites for last commit 2019-03-01 23:03:09 -05:00
Anuken d82d0ae923 Waveskip / Stat fixes / 3x3 thermalpump / Removed liquid tiers 2019-03-01 23:01:12 -05:00
Anuken 1e111d29d9 More map balance / Fixed 'oh no' on 5x5+ block destruction 2019-03-01 17:18:08 -05:00
Anuken 110def97d9 Sprite fixes 2019-02-28 22:59:48 -05:00
Anuken 5bacdfa951 Turret stat fix 2019-02-28 22:46:55 -05:00
Anuken 914f1b38f8 Zone tweaks 2019-02-28 12:03:24 -05:00
Anuken 2aff73a958 Added drill output rate bar 2019-02-28 09:45:03 -05:00
Anuken 13c2eae1f4 Frozen forest rework / Reduced starter copper / Auto-deselect 2019-02-27 19:48:00 -05:00
Anuken 8f4258b119 Build shader swap 2019-02-26 16:02:06 -05:00
Anuken 4eba89603e Shader tests 2019-02-26 15:13:05 -05:00
Anuken 61f75d7331 Removed unused shader 2019-02-26 14:48:23 -05:00
Anuken cd387c5c3a Merge remote-tracking branch 'origin/master' 2019-02-26 14:47:08 -05:00
Anuken 2fa32e5099 Nuclear reactor fixes / Additional info bars 2019-02-26 14:47:05 -05:00
Damlon f12da57720 Update bundle_ko.properties (#417)
* Update bundle_ko.properties

Javelin : 자비린->재블린
https://www.korean.go.kr/front/onlineQna/onlineQnaView.do;front=2D3014620660AD4C0DA36360CA63518C?mn_id=61&qna_seq=144359&pageIndex=11

Dagger : 디거->대거
노코멘트.

Combustion Generator : 석탄 발전기->화력 발전기
석탄 이외에 여러 재료들을 불태워 발전하는 방식이기 때문

* Update bundle_ko.properties

대거->디거.. 는 되있넹?
Frozen Forest:겨울 정글->얼어붙은 숲
Forest는 숲의 의미가 강함

differential generator:미분 발전기->차동 발전기.
differential 이 발전기 출력 제한시키는 발전기 안정장치밖에 안나옴. 일단은 가장 적절한 차동 발전기로.

Graphite press:흑연 프레스->흑연 압축기
Multi press:멀티 프레스->다중 압축기
석탄 압축해서 흑연 만드는 공장임. Press(압축)

*Crags 는 울퉁불퉁한 돌들. 정도의 뜻이 있으나 깔쌈한 번역 안떠올라서 패스.

* Update bundle_ko.properties
2019-02-26 11:12:46 -07:00
Anuken 964d1a0d87 Shader cleanup 2019-02-26 13:11:49 -05:00
Anuken 0cb14461ba Improved antialiasing / Improved outlines 2019-02-26 10:42:20 -05:00
Anuken d05f9c5540 Bundle pruning 2019-02-25 22:38:01 -05:00
Prosta4okua 690580c57d Update bundle_ru.properties (#363)
* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* From PL Beryllium

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

RIP

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties
2019-02-25 20:36:55 -07:00
Prosta4okua 5039763a52 Update bundle_uk_UA.properties (#392)
* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties
2019-02-25 20:33:12 -07:00
Anuken 2cc54ffa5b Merge remote-tracking branch 'origin/master' 2019-02-25 22:26:55 -05:00
Anuken 0a9b78f013 Bugfixes / Renamed biomatter / Cleaned up conveyor sprites 2019-02-25 22:26:51 -05:00
키에르 e42fa7ad20 Update bundle_ko.properties (#416)
Hotfix
2019-02-25 08:02:53 -07:00
Anuken 9c179e559b Cleaned up team assignment 2019-02-24 22:55:53 -05:00
Anuken 6dd10b74d5 Merge remote-tracking branch 'origin/master' 2019-02-24 21:44:38 -05:00
Anuken a073b0ab18 bugfixes etc etc etc 2019-02-24 21:44:35 -05:00
Kenny 4f253999ac Added Translations and misc. (#410)
* Added Translations and misc.

Added many translations(maybe it is the newer things?) and did some misc. grammar change.

* Update bundle_zh_CN.properties

* Update bundle_zh_CN.properties
2019-02-24 17:59:58 -07:00
키에르 9108a7bae6 Update bundle_ko.properties (#411)
* Update bundle_ko.properties

* Update bundle_ko.properties
2019-02-24 17:59:37 -07:00
AceEllysium 6ba88323fe Create bundle_nl.properties (#413)
* Create bundle_nl.properties

* Update bundle_nl.properties

* Update bundle_nl.properties

* Update bundle_nl.properties

* Update bundle_nl.properties

* Update bundle_nl.properties
2019-02-24 17:59:20 -07:00
Anuken e112e3f949 Removed most units from tech tree / Bugfixes / Balancing 2019-02-24 10:39:59 -05:00
Anuken 1ed4e9f5bb Internal loadout system / Starting drills / Bugfixes 2019-02-23 22:31:38 -05:00
Anuken b6c5f202e4 Bugfixes / Pathfinding 'improvements' 2019-02-23 20:16:32 -05:00
Anuken 976b39414f Fixed: missing spawns / incorrect ranks / jittery movement / tests 2019-02-23 15:08:07 -05:00
Anuken d74887eaa1 More bugfixes 2019-02-22 23:16:50 -05:00
Anuken 7fb72bf0e2 Removed unnecessary uncertainty 2019-02-21 19:12:07 -05:00
Anuken b0126206e1 Bridge sprite cleanup 2019-02-21 17:16:42 -05:00
Anuken 9c240850b8 Fixed pad shader/disconnect bugs 2019-02-21 14:08:42 -05:00
Anuken 5b7b50f555 Boss waves, health bars / Better lasers / Bugfixes 2019-02-21 13:11:28 -05:00
Anuken f591403b7d Zone wave correctness checks 2019-02-20 17:54:23 -05:00
Anuken 4b028b3435 Re-added core database in game menus 2019-02-20 09:14:51 -05:00
Anuken cbcf237d80 Bugfixes 2019-02-19 13:43:15 -05:00
Anuken a815c564fb Wave balancing / Fixed wave not extinguishing fire 2019-02-19 09:28:27 -05:00
Anuken cb12501d5b Untested loadout config / Better filter display / Bugfixes 2019-02-18 22:51:31 -05:00
Anuken 86aeabc911 Fixed item display being too close to top left of screen 2019-02-17 11:36:54 -05:00
Anuken 5e2a455045 a 2019-02-17 01:36:46 -05:00
Anuken 86dddd0253 Minor tweaks 2019-02-16 11:15:10 -05:00
Anuken 4677de80c1 Destructible grey blocks / Content cleanup / Wave fixes / Impact balance 2019-02-16 11:10:01 -05:00
Anuken fbcbca6f24 crashfix 2019-02-15 18:59:19 -05:00
Anuken 7024273a02 Better team interaction 2019-02-15 12:32:01 -05:00
Anuken 070bb4d2d1 Removed battery balance from displayed balance 2019-02-15 09:15:00 -05:00
Anuken f33e924cdf Fixed power balance display being influenced by delta 2019-02-14 19:17:08 -05:00
Anuken 18fcc6e596 Bugfixes / Requirement display 2019-02-14 15:20:08 -05:00
Anuken 59e909ae3a Better 'unknown' map names / Recipe fixes 2019-02-14 12:11:20 -05:00
Anuken 66766b43c7 Bugfixes 2019-02-14 10:00:17 -05:00
Anuken 8c6c4c2630 Power balance info 2019-02-13 22:37:12 -05:00
Anuken ea2ed7d776 Fixed ranks being flipped 2019-02-13 19:32:37 -05:00
Anuken a708c8b7ea Untested rank system / 'Fixed' junction speed / Balancing 2019-02-13 18:28:36 -05:00
Anuken 12ca4cda91 Recipe tweaks 2019-02-13 16:24:18 -05:00
Anuken 85f73fee02 Bundle fixes 2019-02-13 16:23:41 -05:00
Anuken 1b5b6d424b Keybind changes 2019-02-13 13:48:18 -05:00
Anuken 126a764918 Zone balancing 2019-02-13 13:35:41 -05:00
Anuken f796a24956 Default patrol behavior for units 2019-02-13 13:14:12 -05:00
Anuken e815cff291 Bugfixes 2019-02-13 12:40:00 -05:00
DinoWattz 0ad89ebc04 Update bundle_pt_BR.properties (#401) 2019-02-12 12:05:32 -05:00
CinExPL a4b9579d25 Update bundle_pl.properties (#406)
improving some spelling errors
2019-02-12 12:05:13 -05:00
Anuken e65b6670ec Incomplete production meta system 2019-02-12 10:49:13 -05:00
Anuken 1665e75068 Improved block bar config 2019-02-12 00:06:08 -05:00
Anuken 6d01d893f7 Fixed unit tests 2019-02-11 23:31:50 -05:00
Anuken cb9616a381 Fixed waves not spawning in custom maps 2019-02-11 22:44:51 -05:00
Anuken d218fb926a Bugfixes 2019-02-11 17:32:44 -05:00
Anuken 39276b4b03 Default wave tweaks / Zone reseach requirements changed 2019-02-11 13:50:56 -05:00
Anuken 51ba999ee1 Bugfixes 2019-02-11 09:02:28 -05:00
Anuken 52593252c5 Wave balancing / Smoother conveyor items 2019-02-10 20:23:20 -05:00
Anuken 718f56172e Enlarged laser/blast drills / Removed ground zero copper cost 2019-02-10 17:32:22 -05:00
Anuken 34b7961814 Improved placement visuals 2019-02-10 12:32:33 -05:00
Anuken 897b90f044 Possible save fix / Place arrow de-mushroomified / Fixed descriptions 2019-02-10 11:46:18 -05:00
Anuken a9778e6e68 Bugfixes / Map tweaks 2019-02-10 10:20:26 -05:00
Anuken ccaf888e8b Merge remote-tracking branch 'origin/master' 2019-02-09 23:20:24 -05:00
Anuken 29821003fe Tweaked sector dialog / Item icons fixed / Bugfixes 2019-02-09 23:20:20 -05:00
Sonnicon 3f7ba23dff Update bundle_pl.properties (#404) 2019-02-09 14:54:14 -05:00
Anuken 6fd243522d Merge pull request #403 from ZacBytes/patch-1
Update bundle_zh_CN.properties
2019-02-09 11:09:32 -05:00
Anuken 368bf2258f Merge pull request #402 from BLucky-gh/patch-1
Added some details to README.md
2019-02-09 11:09:12 -05:00
Anuken 533ddb874e Fixed various mobile bugs / Automatic map folder creation 2019-02-09 11:07:51 -05:00
Zachary baaf126c15 Update bundle_zh_CN.properties 2019-02-09 21:27:33 +08:00
BLucky-gh 5b2bfe10bc Added some details to README.md 2019-02-09 12:38:30 +04:00
Anuken 17b24c3389 Bugfixes (again) 2019-02-08 21:29:32 -05:00
Anuken 55b3e8639f ? 2019-02-08 17:52:19 -05:00
Anuken 22dad88ff7 Fixed shore world borders / Core size tweaks 2019-02-08 17:25:17 -05:00
Anuken ce3b0f2d8f Actually fixed tests 2019-02-08 17:11:31 -05:00
Anuken a87e2a56d2 Bugfixes / Possibly fixed unit tests 2019-02-08 17:05:09 -05:00
Anuken bb0ee26e4f Merge remote-tracking branch 'origin/master' 2019-02-08 16:29:31 -05:00
Anuken adf5189541 TODO cleanup / Test fixes 2019-02-08 16:29:10 -05:00
Anuken 82077936bb Merge pull request #395 from etaoinshrdlcumwfgypbvkjxqz/zh-TW
Update 'bundle_zh_TW.properties'
2019-02-08 12:04:51 -05:00
Anuken 5094a6fc49 Merge branch 'master' into zh-TW 2019-02-08 12:04:43 -05:00
Anuken 274ef166ef Merge pull request #399 from Prosta4okua/patch-49
Update bundle.properties
2019-02-08 12:00:24 -05:00
Anuken 66c27fab13 Bugfixes 2019-02-08 08:44:20 -05:00
Anuken 56bcabedf7 Balancing / Bugfixes / Badly antialiased turret outlines 2019-02-07 23:06:43 -05:00
Anuken 79a9541394 Turret, power generator and bullet balancing sweep 2019-02-07 15:55:31 -05:00
Anuken 7e35de3c33 Balancing / Renamed palettes file 2019-02-07 15:33:56 -05:00
Anuken 7b90044544 Build/break queue shuffling 2019-02-07 11:21:03 -05:00
Anuken 5a7e5450dc Wall fix 2019-02-07 10:45:49 -05:00
Anuken ec2ec59be0 Import fix 2019-02-07 10:41:48 -05:00
Anuken beb25bd595 Fixed legacy color mapping 2019-02-07 10:40:29 -05:00
Anuken c2919f7e7a Fixed turrets saving ammo / Duo buff / Ammo display / Map saves break 2019-02-07 10:11:16 -05:00
Anuken cee9d86835 Bugfixes 2019-02-07 09:36:39 -05:00
Anuken 9dbedc6e5d Bugfixes 2019-02-06 17:37:39 -05:00
Anuken 53310ed80a Merge remote-tracking branch 'origin/master' 2019-02-06 17:14:54 -05:00
Anuken 9251c55be2 Crater fixes 2019-02-06 17:14:51 -05:00
Anuken 25658f2a0a Fixed build shader / Server now displays map directory 2019-02-06 13:59:10 -05:00
Anuken 4f9e64588f Hid irrelevant entries in placement menu 2019-02-06 13:20:15 -05:00
Prosta4okua afeb4d033b Update bundle.properties 2019-02-06 17:30:08 +02:00
Anuken 2569b2139d Crash fix 2019-02-06 09:04:19 -05:00
Anuken d88923bb71 Balancing 2019-02-06 08:58:53 -05:00
Anuken d0c6d9a489 Launch confirm dialog 2019-02-06 08:52:30 -05:00
Anuken 1bdea1b8d8 Arc balancing / Bundle update / Changed turret colors 2019-02-05 22:36:20 -05:00
Anuken 6ea90ea828 Fixed lighting not rendering / Fixed engine colors 2019-02-05 22:11:02 -05:00
Anuken 6217ae78e3 Unit gun tweaks 2019-02-05 19:05:41 -05:00
Anuken 20529d3ebc Various mobile bugfixes 2019-02-05 13:49:43 -05:00
Anuken c8fa116a24 Fixed magic turret items / Ground zero map tweaks 2019-02-05 11:50:55 -05:00
Anuken 2904bc69d9 Bugfixes 2019-02-05 00:34:05 -05:00
Anuken 38b3ad07b7 Balancing 2019-02-05 00:22:55 -05:00
Anuken fe765e5a5b Fixed infinite copper bug 2019-02-04 22:04:00 -05:00
Anuken 6e7514491c Balancing 2019-02-04 21:24:12 -05:00
Anuken eb5b50b3e9 Added pick keybind / Minor visual tweaks 2019-02-04 13:23:41 -05:00
Anuken 82b908f0ab Unit balancing 2019-02-04 09:09:47 -05:00
Anuken 336256fc71 Bundle/tech tree fixes 2019-02-03 23:08:48 -05:00
Anuken 49a7da6393 Finalized unit type definitions 2019-02-03 22:48:27 -05:00
Anuken a8c645f00d Weapon refactor / New units with edgy names / Spritesheet cleanup 2019-02-03 21:11:26 -05:00
Anuken 62d8cb0b25 Impact reactor 2019-02-03 11:22:53 -05:00
Anuken f5028a4937 Multipress sprite / Shields re-added 2019-02-02 22:33:12 -05:00
Anuken 203612853b Better block hover info / Liquids source crash fix / Generator fix 2019-02-02 18:03:52 -05:00
Anuken 8e8e95cd2d Merged alpha and dart mech pads / Differential gen / Fixed optional display 2019-02-02 17:39:46 -05:00
Anuken 696e6cb84b Pad respawning 2019-02-02 16:10:29 -05:00
Anuken 67940476af Fixed refactoring errors 2019-02-02 15:59:07 -05:00
Anuken 0dd9d2b460 Moved entity package from Arc / Entity code cleanup 2019-02-02 15:53:35 -05:00
Anuken 6b2f2d0664 Preparing to refactor entity module 2019-02-02 14:42:47 -05:00
Anuken 636bfdb530 Unit factory limit / Removed overdrive block effects / BlockFlag cleanup 2019-02-02 14:33:13 -05:00
Anuken c0d6618808 Final map 2019-02-02 12:35:36 -05:00
Anuken e21a3347ac Misc bugfixes / New zone 2019-02-02 10:14:16 -05:00
Anuken 59a68ee981 Spritesheet cleanup / Heat blocks / Editor bugfix 2019-02-01 21:47:44 -05:00
Anuken 7a072746d9 Fixed map colors / Cultivator tweak / Color gen 2019-02-01 19:01:08 -05:00
Anuken a6799dd29b Kiln texture fix / New map resize dialog 2019-02-01 18:08:09 -05:00
Anuken 163ecb160a Added new unit type / Made reactor use cryo only / Balancing 2019-02-01 15:55:11 -05:00
Anuken f00d1f9505 Added missing tech tree blocks / Zone improvements 2019-02-01 13:14:42 -05:00
Anuken 87b489a541 Tile cleanup 2019-02-01 09:22:08 -05:00
Anuken f670ade2ee Work on new maps continues 2019-02-01 00:04:21 -05:00
Anuken b5508c1152 New power node type / Bugfixes / Random item caches 2019-01-31 15:57:21 -05:00
Anuken 564c258c86 Core tiers 2019-01-31 15:33:07 -05:00
Anuken 745ff1a270 Map implemented / Editor pick key / Crash fix 2019-01-31 12:45:11 -05:00
Anuken e727ee6d4a Even more blocks / Map generator config / Editor fixes 2019-01-31 10:58:26 -05:00
Anuken e6a39a8255 Shader crash fix / More blocks / Kiln / Removed (unused) flux 2019-01-30 22:51:24 -05:00
Anuken 43bff5c34d Removed camera clamp / Self-destruct timer / More blend tweaks 2019-01-30 19:48:41 -05:00
Anuken c046a1b474 New blocks / Floor edge fixes 2019-01-30 18:39:10 -05:00
Anuken 209e3f03c1 Implemented shore map / New blocks / Bugfixes 2019-01-30 13:34:38 -05:00
Anuken dbf05a1419 New basic water sprite 2019-01-29 22:26:02 -05:00
Anuken 5af35b6771 Zone balancing 2019-01-29 14:33:41 -05:00
Anuken 00abba11ae Removed carrying 2019-01-29 14:13:29 -05:00
Anuken d268d94f76 Edge cleanup / Spawn warn / Bugfixes 2019-01-29 11:51:41 -05:00
Anuken 76af3e3077 Customizable edge stencil / Reduced redundant sprites 2019-01-28 23:30:11 -05:00
Anuken 54bade668e New tile edge algorithms / Struct value type generation 2019-01-28 22:11:23 -05:00
Anuken 5a3ec8f407 Fixed server crash / Struct annotation begins 2019-01-28 15:43:33 -05:00
Anuken c043664ad6 2 2019-01-28 09:04:59 -05:00
Anuken 7e9ca6fbb6 Compile fix 2019-01-28 09:04:28 -05:00
Anuken e9a82652a0 New blocks 2019-01-27 23:26:07 -05:00
Anuken db2e6b6973 Better launch / Better spawns / Tweaks 2019-01-27 18:09:59 -05:00
Anuken da9278ad8d Added recorder module 2019-01-27 12:31:14 -05:00
Anuken 5a9307e9a7 Smooth block shadows / Large procedural blocks 2019-01-27 12:09:01 -05:00
Anuken f31fd622dd Fixed #396 2019-01-27 09:19:23 -05:00
Anuken 6723157ca5 Power tweaks 2019-01-26 17:33:20 -05:00
Anuken 956448a1a5 Fixed tests again, locally 2019-01-26 13:20:07 -05:00
Anuken 4be675f977 Thermal generator now based on floor / Power restructuring 2019-01-26 12:48:15 -05:00
Anuken 7924051c0d Graphite press balancing 2019-01-26 11:32:39 -05:00
Anuken 83b5f6ef2d Custom game loading 2019-01-26 10:52:16 -05:00
Anuken 0f26d62a0a Bundle update / Custom game button / Join button 2019-01-26 10:37:04 -05:00
Anuken a9f11256cd Unfinished graphite press block 2019-01-25 23:15:30 -05:00
Anuken ead0547d59 Tree-based zone layout 2019-01-25 21:48:03 -05:00
Anuken 89e29bce62 Incomplete zone layout 2019-01-25 14:09:08 -05:00
Anuken 058db5d5d0 Sprite cleanup 2019-01-24 20:00:35 -05:00
Anuken 76aa409f89 Changed unnecessary server output to 'debug' log level 2019-01-24 16:36:48 -05:00
Anuken 923d0497e6 Added sprites 2019-01-24 13:11:41 -05:00
Anuken dd4f4b83fc Editor variant display / Visual changes 2019-01-24 13:11:22 -05:00
William So c2bed82db5 Update 'bundle_zh_TW.properties' 2019-01-24 20:07:59 +08:00
Anuken 9a444da343 Unfinished block / Bugfixes 2019-01-23 23:43:31 -05:00
Anuken 9dd6a77c76 Various blocks added / Crater map updated / Fixed status effect bugs 2019-01-23 20:08:28 -05:00
Anuken 895725df64 Removed ores near enemy spawns 2019-01-23 16:55:35 -05:00
Anuken 6f07576748 Merge branches 'master' and 'new-map-format' of https://github.com/Anuken/Mindustry into new-map-format
# Conflicts:
#	core/src/io/anuke/mindustry/editor/MapEditorDialog.java
#	core/src/io/anuke/mindustry/io/MapIO.java
#	core/src/io/anuke/mindustry/maps/MapTileData.java
2019-01-23 13:52:36 -05:00
Anuken 550a11962e Fixed compile errors in MapIO 2019-01-23 09:23:34 -05:00
Anuken c3883cdad0 Slight improvements to editor rendering / Renamed blockpart -> part 2019-01-23 08:51:21 -05:00
Anuken e9e2cd614d Basic crater map / Spray tool / Crater floor / canProduce() 2019-01-22 23:02:04 -05:00
Anuken 55e1759b47 Block optimizations 2019-01-22 19:35:00 -05:00
Anuken 33f5215e6d Finished ground zero map layout 2019-01-22 17:58:43 -05:00
Anuken 5459a646b3 In-game block team display / Editor bugfix 2019-01-22 15:46:22 -05:00
Anuken 6229f99a2e Fixed tests / Various build tools updated 2019-01-22 15:01:30 -05:00
Anuken 0e5b95e3aa Added health bars to block info / Fixed block info refresh bug 2019-01-22 13:46:10 -05:00
Anuken 72d7c1ba54 Fixed 'unlocks' dialog entries 2019-01-21 22:29:50 -05:00
Anuken ee9a2ee03d Deploy dialog requirements done 2019-01-21 19:37:02 -05:00
Anuken 6bfbcc4aa9 Added zone requirement display 2019-01-21 16:04:50 -05:00
Anuken a9d7ed50b7 Re-added all recipes to blocks 2019-01-20 21:11:58 -05:00
Anuken bc77ebc10c Automatic tech node cost generation 2019-01-20 15:44:54 -05:00
Anuken cbdce79d7d Misc. cleanup 2019-01-20 15:21:46 -05:00
Anuken 46dfa064d0 Removed recipe definitions 2019-01-20 13:50:56 -05:00
Anuken 0478af2564 Recipe class removed completely 2019-01-20 13:49:53 -05:00
Anuken 750388a425 Defined first 12 zones 2019-01-20 11:49:17 -05:00
Anuken ea9155b903 Further UI cleanup 2019-01-19 23:13:46 -05:00
Anuken d34f228d2f Functional tech tree 2019-01-19 22:16:28 -05:00
Anuken 093043750b UI cleanup 2019-01-19 17:45:33 -05:00
Anuken 4fb0c246db Tech tree filled out 2019-01-19 14:58:29 -05:00
Anuken 5e951f27c9 Block icon rework / Dynamic icon generation / Tech tree tweaks 2019-01-19 12:42:02 -05:00
Anuken 49253964d8 Tech tree rendering + layout 2019-01-19 00:26:39 -05:00
Anuken 4ff1d0c2e1 Render fix 2019-01-18 15:41:49 -05:00
Anuken 2385011f96 Better build request display / Fixed incorrect rotation axes 2019-01-18 11:30:15 -05:00
Anuken 7527f9326c Fixed units not rotating to target 2019-01-18 09:23:39 -05:00
Anuken 9c7b80f066 Scrap ore / Player shadows 2019-01-18 09:19:42 -05:00
Anuken 48facc0978 Launch button 2019-01-17 23:17:17 -05:00
Anuken 22a6c4e8af Glass 2019-01-17 19:28:25 -05:00
Anuken bd6cfa6461 Removed UnitCommand / Disabled mechs flying over env. blocks 2019-01-17 19:00:18 -05:00
Anuken c63dca1c0d Map distortion / Multi-spawns 2019-01-17 16:28:42 -05:00
Anuken c6af151bf3 Sprite cleanup / Stats / More balancing / New events 2019-01-17 15:30:50 -05:00
Anuken ccc20a9716 Balancing 2019-01-17 13:03:06 -05:00
Anuken 47605583d1 Saving fix 2019-01-16 23:48:21 -05:00
Anuken 58e83c11f0 Saves / Paused dialog cleanup / Zone rule save 2019-01-16 23:25:43 -05:00
Anuken 836a4eb892 Antialiasing 2019-01-16 22:45:51 -05:00
Anuken 6d50a747e3 Basic map shading 2019-01-16 20:37:43 -05:00
Anuken 4344af1f02 Added unlock messages for all content 2019-01-16 19:52:58 -05:00
Anuken 6510d83524 Starting items / No editor unlocks / Fixed Block#synthetic() 2019-01-16 19:36:30 -05:00
Anuken 6d01193e1e Tweaks 2019-01-15 23:04:27 -05:00
Anuken 8c3d6d05ab broken stuff 2019-01-15 22:16:02 -05:00
Anuken 733a064c79 NetworkIO cleanup 2019-01-15 21:33:08 -05:00
Anuken 8715f6a301 Removed zone init() 2019-01-15 21:26:45 -05:00
Anuken b51725633e Merge remote-tracking branch 'origin/master' 2019-01-15 21:21:32 -05:00
Anuken 5ec11c61bd Added map-specific generator 2019-01-15 21:21:28 -05:00
Anuken ab038a4d46 Merge pull request #390 from VizardAlpha/patch-19
Update bundle_fr_BE.properties
2019-01-15 20:29:39 -05:00
Anuken a976a7affb Merge branch 'master' into patch-19 2019-01-15 20:29:34 -05:00
Anuken 2f76684113 Cheaper arc 2019-01-14 18:38:32 -05:00
Anuken 1ad7f12e2d Updated README 2019-01-13 20:10:43 -05:00
Anuken 017b83d375 push time 2019-01-13 14:20:25 -05:00
Anuken 650b443fd0 Starting items / Zone balancing 2019-01-12 18:51:21 -05:00
Anuken 8aa1509f47 Gamemodes removed 2019-01-12 16:55:24 -05:00
VizardAlpha b21bf2d544 Updates bundle_fr_BE.properties 2019-01-12 14:56:51 +01:00
Anuken 777bd60f88 Added basic ore generator 2019-01-11 20:29:50 -05:00
Anuken 7889db43a8 Zone generator requirement 2019-01-11 09:46:49 -05:00
Anuken ae3aa20508 elevation is gone but this time I'm not doing the crab rave meme 2019-01-10 21:45:18 -05:00
Anuken 84e754dd10 Added zone class / Dialog method inline 2019-01-09 18:50:10 -05:00
Anuken b9618d66f2 Removed 'text.*' prefix 2019-01-09 16:58:06 -05:00
Anuken daa7b20e4a World generation launch pad preset 2019-01-09 16:37:14 -05:00
Anuken 48a7254aa3 Code generation fix 2019-01-09 11:52:45 -05:00
Anuken 2bc63b37e4 Bugfixes 2019-01-09 11:49:28 -05:00
Anuken 33afab7294 Launchpad block 2019-01-09 11:44:33 -05:00
VizardAlpha 8010a82776 Update bundle_fr_BE.properties 2019-01-09 16:49:25 +01:00
Anuken 048b7bd32f Global inventory / 'Deploying' / Removed command center 2019-01-09 09:07:48 -05:00
Anuken 28fa0b070d Merge branch 'unsector'
# Conflicts:
#	core/src/io/anuke/mindustry/maps/SectorPresets.java
#	core/src/io/anuke/mindustry/maps/Sectors.java
#	core/src/io/anuke/mindustry/maps/TutorialSector.java
#	core/src/io/anuke/mindustry/maps/generation/FortressGenerator.java
#	core/src/io/anuke/mindustry/maps/missions/MissionWithStartingCore.java
#	core/src/io/anuke/mindustry/world/blocks/storage/CoreBlock.java
2019-01-08 22:28:13 -05:00
Anuken dc0be93b25 Status effect cleanup 2019-01-08 20:32:22 -05:00
Anuken 5e49d2d8d6 Cleanup 2019-01-08 18:02:25 -05:00
Anuken 1d8efe5f9d Packer reorganization 2019-01-08 17:41:51 -05:00
Anuken 8b791b68d3 Removed exe scaling 2019-01-08 17:24:01 -05:00
Anuken 521174f911 Removed autogenerated liquid sprites 2019-01-08 09:56:42 -05:00
Anuken a6f7bd9099 Cleanup 2019-01-07 21:22:06 -05:00
Anuken fed964e0f7 a rather large merge 2019-01-07 21:10:57 -05:00
Anuken 77b4f3e930 Merge branch 'crafting-rework' 2019-01-07 18:49:28 -05:00
Anuken 351b8c2469 Fixed content class errors 2019-01-07 18:48:55 -05:00
Anuken ee9f65d4a3 Block class merge 2019-01-07 18:39:06 -05:00
Anuken a1a69f62e1 🦀 FX classes are gone 🦀 2019-01-07 17:11:53 -05:00
Anuken ff52fec663 Cleanup: all bullet definitions moved into one class 2019-01-07 16:53:04 -05:00
Anuken 5743d30851 Removed AmmoType class completely 2019-01-07 16:01:27 -05:00
Anuken de02061b5e Removed dependency on old BulletEntity/BaseBulletType classes 2019-01-07 12:25:54 -05:00
Anuken b64c38809e Removed unused upload build script 2019-01-07 10:50:31 -05:00
Anuken a163db485b Merge branch 'master' into crafting-rework 2019-01-07 10:40:22 -05:00
Anuken 47f7507af3 Merge branch 'master' into unsector 2019-01-07 10:38:07 -05:00
Anuken 568e55e373 Crash fix 2019-01-07 10:37:58 -05:00
Anuken 79e722b5ff Ignored annotation out folder 2019-01-06 15:57:39 -05:00
Anuken 415252a5b2 Merge branches 'master' and 'unsector' of https://github.com/Anuken/Mindustry into unsector 2019-01-06 10:21:15 -05:00
Anuken 307bb7aeec Merge branch 'master' of https://github.com/Anuken/Mindustry into crafting-rework
# Conflicts:
#	core/src/io/anuke/mindustry/content/Recipes.java
2019-01-06 09:45:11 -05:00
Anuken 397da91ab4 Fixed all code generation errors 2019-01-06 09:42:08 -05:00
Anuken fdd0c25a25 Removed core drone 2019-01-06 09:27:56 -05:00
Anuken d691e9f39d it is commit o'clock 2019-01-05 23:00:58 -05:00
Anuken a5cbe19d23 Merge branches 'crafting-rework' and 'master' of https://github.com/Anuken/Mindustry into crafting-rework
# Conflicts:
#	core/src/io/anuke/mindustry/content/blocks/CraftingBlocks.java
#	core/src/io/anuke/mindustry/content/blocks/TurretBlocks.java
#	core/src/io/anuke/mindustry/core/Renderer.java
#	core/src/io/anuke/mindustry/world/blocks/power/ItemGenerator.java
2019-01-04 16:15:23 -05:00
Anuken 5661124d86 Merge branches 'master' and 'unsector' of https://github.com/Anuken/Mindustry into unsector 2019-01-04 16:11:30 -05:00
Anuken 1346e163e9 Merge branch 'master' of https://github.com/Anuken/Mindustry 2019-01-04 15:27:39 -05:00
Anuken d5626bfe52 Updated to next version of kryonet 2019-01-04 15:12:34 -05:00
Anuken 0900c13fa1 Cleanup 2019-01-04 15:11:58 -05:00
Anuken 5019f200b7 Large world size optimizations 2019-01-04 13:55:06 -05:00
Anuken 3b41ded045 More zoom fixes 2019-01-04 12:18:26 -05:00
Anuken 9f84b84819 Removed all extra floor rendering for larger worlds 2019-01-04 12:17:42 -05:00
Anuken f61f3af687 Zoom fixes 2019-01-04 11:39:49 -05:00
Anuken 0a6f7ac817 Functional play button 2019-01-03 20:42:34 -05:00
Anuken 153e6c5f1b Re-structuring 2019-01-03 19:46:25 -05:00
Anuken e24d96da6f Note 2019-01-03 18:35:48 -05:00
Anuken 59e5099ed6 Merge remote-tracking branch 'origin/master' 2019-01-03 18:22:26 -05:00
Anuken b8e6e5df61 Power PR merged / Various bugfixes
Closes #288
2019-01-03 18:22:13 -05:00
Anuken 16851a457e Further recipe tweaks 2019-01-03 12:30:25 -05:00
Anuken 1c5bb605c3 Removed recipe dependencies 2019-01-03 12:26:49 -05:00
Anuken dc12d58054 Standardized item capacity across blocks 2019-01-03 12:00:14 -05:00
Anuken 120e0f6971 Changed several more resources 2019-01-02 18:49:04 -05:00
Anuken b9136e4e98 Merge pull request #364 from Prosta4okua/patch-43
(Complete) Close before 64 build
2019-01-02 21:00:15 -02:00
Prosta4okua 197b97d0db Update bundle_uk_UA.properties 2019-01-02 13:26:36 +02:00
Anuken 912136d174 Merge remote-tracking branch 'origin/master' 2019-01-01 18:41:07 -05:00
Anuken 653c85c58d Manually implemented #376 2019-01-01 18:41:00 -05:00
Anuken 638c99981d Merge pull request #389 from Prosta4okua/patch-47
Create strings.xml
2019-01-01 21:35:24 -02:00
Anuken 71e61abcd6 Merge pull request #356 from DaGamerFiles/patch-1
Update bundle_in_ID.properties [INCOMPLETE]
2019-01-01 21:33:57 -02:00
Anuken fa1d440bb0 Merge pull request #355 from JustYanns/patch-2
Update bundle_fr.properties [Incomplete]
2019-01-01 21:32:16 -02:00
Prosta4okua f0064e35bc Create strings.xml 2019-01-02 01:29:06 +02:00
Anuken 88d208268a Merge pull request #387 from CinExPL/patch-4
Update bundle_pl.properties
2019-01-01 21:13:28 -02:00
Anuken 6aa90a44f7 Merge branch 'master' into patch-4 2019-01-01 21:13:20 -02:00
Anuken 3c9322ee08 Update strings.xml (#383) 2019-01-01 21:09:55 -02:00
키에르 b2f47e6b70 Update bundle and fix error (+orignal bundle) (#382)
* Update bundle_ko.properties

* Update bundle.properties

* Duplicate
2019-01-01 21:09:45 -02:00
VizardAlpha c905a870e0 Update bundle_fr_BE.properties (#381)
* Update bundle_fr_BE.properties

* Update bundle_fr_BE.properties
2019-01-01 21:09:34 -02:00
William So b2360e42c6 Update bundle_zh_TW.properties (#379) 2019-01-01 21:09:25 -02:00
Ignacy 0da621745a Update bundle_pl.properties (#386) 2019-01-01 17:17:02 -02:00
SkeptiC d8fc3851a7 Create bundle_cs.properties (#388)
Finished translation to czech
2019-01-01 17:15:45 -02:00
Anuken edd3fb3440 Graphite, scrap 2019-01-01 14:04:17 -05:00
Anuken a105c017d5 Tile cost tweak 2019-01-01 13:48:20 -05:00
Anuken dd1034e37b Merge 2018-12-31 19:03:51 -05:00
Anuken 41f16a54de Logo downscale 2018-12-30 12:54:03 -05:00
Anuken b91510efb3 Input fixes 2018-12-30 11:41:06 -05:00
Anuken 745d8122f5 Removed GH API calls 2018-12-30 10:27:37 -05:00
Anuken 98e4f7409b Removed main arc dependency 2018-12-30 10:11:54 -05:00
Anuken cdb3971b8d Update build.gradle 2018-12-30 09:21:16 -05:00
Anuken d01b8c7ad1 Improved snapshot netcode 2018-12-29 22:46:46 -05:00
Anuken 7c35b6e95a Minor build file fixes 2018-12-29 15:58:11 -05:00
Anuken 86b35fc43d Various graphical fixes 2018-12-29 13:06:17 -05:00
Anuken 5b2c8ac337 Removed '-snapshot' based dependencies 2018-12-29 12:22:41 -05:00
Anuken 734d4a912b Fixed failing tests 2018-12-29 12:05:29 -05:00
Anuken 4386d3169a JITPack-based dependencies 2018-12-29 11:59:43 -05:00
Anuken 35348f1150 Re-implemented block shadows / Removed alpha drones 2018-12-29 09:12:37 -05:00
Anuken 36b27458b6 Merged 4x graphics 2018-12-28 23:46:09 -05:00
Anuken bbb2153112 Merge branch 'arc-port' of https://github.com/Anuken/Mindustry 2018-12-28 22:22:08 -05:00
Anuken 9ec1d8f16b Vars cleanup 2018-12-28 22:18:58 -05:00
Anuken e1858df645 Clamping fix 2018-12-28 22:03:34 -05:00
Anuken 3b1066e16f Removed block bars / Fixed some input issues 2018-12-28 16:54:19 -05:00
Anuken 75709a7812 Fixed android version / Smooth zoom 2018-12-28 16:05:49 -05:00
Anuken 81c68e90cb Fixed shadow rendering 2018-12-28 13:22:44 -05:00
Anuken bc9110b344 Fixed most world rendering 2018-12-28 13:01:35 -05:00
CinExPL 89d5618232 Update bundle_pl.properties 2018-12-28 14:36:06 +01:00
Anuken 1e8b844eac Debugging, cleanup 2018-12-27 20:26:18 -05:00
Anuken 3fc278c7b7 Fixed most main menu bugs 2018-12-27 17:14:07 -05:00
Anuken db546412f1 Arc compatibility update 2018-12-27 15:47:17 -05:00
Anuken 3b42b604e1 Successful desktop compilation 2018-12-26 17:38:40 -05:00
Prosta4okua f22caed088 Update bundle_uk_UA.properties 2018-12-26 22:49:18 +02:00
Prosta4okua 1f4e611629 Update bundle_uk_UA.properties 2018-12-26 22:45:13 +02:00
Anuken 8879593381 hhhhhhh 2018-12-26 13:22:31 -05:00
Anuken 22b7086bea Additional fixes 2018-12-23 23:58:24 -05:00
Anuken c097841d78 Fixed #385 2018-12-23 17:11:19 -05:00
Anuken 44e4ffbe62 Fixed most things besides drawing 2018-12-22 22:17:28 -05:00
Prosta4okua 84f60f63b8 Update bundle_uk_UA.properties 2018-12-22 17:11:52 +02:00
Prosta4okua 572f358bda Update bundle_uk_UA.properties 2018-12-22 16:47:57 +02:00
Prosta4okua 46df7726c3 Update bundle_uk_UA.properties 2018-12-22 11:38:01 +02:00
Anuken 3abfaf1bca ctrl-shift-f 2018-12-21 21:33:05 -05:00
Prosta4okua f119afe436 Update strings.xml 2018-12-21 20:17:35 +02:00
Anuken 94908bc599 🔥🔥🔥🔥🔥🔥maximum breakage 2018-12-20 12:38:27 -05:00
Anuken cabcfc7136 Initial creation of Arc port 2018-12-20 11:49:32 -05:00
Anuken d2c6305548 Merge remote-tracking branch 'origin/master' 2018-12-17 05:09:41 -02:00
Anuken 414af6a5d5 Minor button optimizations 2018-12-17 05:09:17 -02:00
beito ecab13af57 Update Japanese translations (#378)
* Add new japanese translation

It translated on commit 66810c8.
so it don't apply changes from commit 17e0489.

* Update Japanese translation

Applies commit 7a51693. and small changes.

* Upadte Japanese translations

* Update Japanese

* Update Japanese

* Update Japanese translations

Improve and update for new changes

* Update Japanese

* Update Japanese translations

* Update Japanese translations

* Update Japanese translations

* Update Japanese translations

* Update Japanese translations

* Update Japanese translations

* Update Japanese translation

* Update Japanese translations

* Update Japanese translations
2018-12-17 02:50:01 -02:00
Baltazár Radics 47f9aece38 Merge pull request #16 from Timmeey86/baltitenger
More efficient way of retrieving ConsumePower subclasses
2018-12-16 10:45:39 +01:00
Anuken 6dc64cf2f6 Cleanup 2018-12-15 21:00:03 -05:00
Anuken 832582caa9 Cleanup 2018-12-15 20:59:28 -05:00
Timmeey86 828661e9de More efficient way of retrieving ConsumePower subclasses 2018-12-15 23:49:46 +01:00
Baltazár Radics 52f78ee4ed Merge pull request #15 from Timmeey86/baltitenger
Baltitenger
2018-12-15 09:11:14 +01:00
Anuken 6029b6d67f Updated smooth UI 2018-12-14 22:07:43 -05:00
Anuken 9d744580a1 Merge 2018-12-14 21:48:34 -05:00
Anuken b295f51c29 Merge branch 'master' of https://github.com/Anuken/Mindustry into crafting-rework 2018-12-14 19:11:50 -05:00
Anuken 5c6aea0d50 Merge remote-tracking branch 'origin/master' 2018-12-14 19:11:05 -05:00
Anuken 99bf50ee52 Core recipe tweak 2018-12-14 19:10:58 -05:00
Timmeey86 f48a19a3bc Merged master into branch 2018-12-15 00:49:38 +01:00
Timmeey86 fed11db92e Buffered consumers now fill instantly 2018-12-15 00:47:47 +01:00
Timmeey86 23fb15fe78 Buffered consumers will no longer have their buffer reset when being unlinked 2018-12-14 21:14:19 +01:00
Prosta4okua 7a533f6053 Update bundle_uk_UA.properties 2018-12-14 18:28:40 +02:00
Prosta4okua a292ff4287 Update bundle_uk_UA.properties 2018-12-14 18:24:06 +02:00
BasedUser 29329383e4 Update bundle_ru.properties (#377)
* Update bundle_ru.properties

* Update bundle_ru.properties
2018-12-14 11:14:30 -05:00
Anuken fefdad5335 Minimap switched to container 2018-12-14 10:27:23 -05:00
Anuken 982f9ce8fb Padding fix 2018-12-14 00:12:08 -05:00
Anuken 5c6d4b9ac2 Fixed extremely strange join dialog server padding 2018-12-14 00:09:44 -05:00
Anuken 49954f5c07 Merge remote-tracking branch 'origin/master' 2018-12-13 18:02:05 -05:00
Anuken 0b837925a2 Build script reformatting / 'Fixed' all unchecked warnings 2018-12-13 18:01:51 -05:00
Clarence "Sparr" Risher 54dd67a435 Center sectors map on most recently saved (played and not abandoned) sector (#375) 2018-12-13 17:35:24 -05:00
Anuken 18ddc040d1 Merge remote-tracking branch 'origin/master' 2018-12-13 16:46:50 -05:00
Anuken aeb28f67e4 Overlapping icon button casings will bother me no more 2018-12-13 16:46:45 -05:00
CrazyBearTR 54b892cd29 Incomplete update for turkish translation (#272)
Its incomplete. Still needed to work on it.
2018-12-13 15:58:06 -05:00
Anuken 2e28525c4b Typo fix 2018-12-13 08:37:05 -05:00
Anuken 8aa8de570f Fixed editor UI bug 2018-12-12 22:19:46 -05:00
Anuken 6723479c32 Removed sound config 2018-12-12 20:13:21 -05:00
Anuken e318b6a113 Fixed #374 (temporary workaround) 2018-12-12 13:17:11 -05:00
Anuken df44f82198 Drownable tar and lava 2018-12-12 10:10:15 -05:00
Anuken 97d54868e9 Grid mode tweak 2018-12-11 17:48:55 -05:00
Anuken 65e65ba308 Formatting cleanup / Bugfix 2018-12-11 17:29:13 -05:00
Anuken 2056d5e350 Merge branch 'master' of https://github.com/Anuken/Mindustry 2018-12-11 17:24:14 -05:00
indielm 8b3b72243f Gridmode and eyedropper select (#372)
* Gridmode

Adds keybindings to category and block selection

* bugfixes and comments

* more keybind

* Update PlacementFragment.java

* Update PlacementFragment.java

* eyedropper crashfix

* formatted with default.xml
2018-12-11 17:24:05 -05:00
Baltazár Radics 814146f227 Merge pull request #13 from Timmeey86/baltitenger
Merged master changes and fixed conflicts
2018-12-11 06:56:49 +01:00
Timmeey86 511983e1ea Merge branch 'master' of https://github.com/Anuken/Mindustry into baltitenger 2018-12-11 00:17:15 +01:00
Anuken 13e5df62c9 Removed fog classes 2018-12-10 14:12:50 -05:00
Anuken 8debf8caf8 Message cleanup / Player target reset 2018-12-10 14:10:54 -05:00
William So eab90cac05 [Completed] Translate the rest of bundle_zh_TW.properties (#370)
* Translate unit strings

* Translate tutorial strings

* Translate walls', projecters', and turrents' strings

* Translate recently added strings

* Translate strings to the part before power

* Translate strings to the part before containers

* Translate containers', drills', and mechs' strings

* Translate factories' strings

* Translate everything else untranslated
2018-12-10 10:47:40 -05:00
VizardAlpha ce401b01b6 Updates bundle_fr_BE.properties (#373) 2018-12-10 10:39:14 -05:00
Anuken 271dcd46bc Bugfixes 2018-12-10 10:38:09 -05:00
Anuken c1a7b452e0 Misc cleanup 2018-12-09 23:28:36 -05:00
Timmeey86 e50ff6b0a5 Merged current master and fixed conflicts 2018-12-09 22:40:33 +01:00
Anuken 34ddb92e4d Merge remote-tracking branch 'origin/master' 2018-12-09 14:42:25 -05:00
Anuken 35b16c7292 New placement unit tests / Placing bugfix 2018-12-09 14:42:22 -05:00
Anuken 931fc93b4b Merge branch 'master' of https://github.com/Anuken/Mindustry into crafting-rework 2018-12-09 11:16:39 -05:00
BasedUser aacd9dc62c Update bundle_ru.properties (#369) 2018-12-09 00:05:09 -05:00
Anuken 061c55614b Balancing / Tau mech mobile block repair 2018-12-08 20:11:15 -05:00
Timmeey86 41c6887f33 Merge branch 'master' of https://github.com/Anuken/Mindustry into baltitenger 2018-12-08 20:07:45 +01:00
Anuken b427185fac 'Added' attack mode / Core inventory sharing 2018-12-07 19:32:44 -05:00
Anuken 6fa14accfe Added proper core blocks / Murdered snek 2018-12-07 15:19:14 -05:00
Baltazár Radics 1b8933cd84 Merge pull request #12 from Timmeey86/baltitenger
More power changes
2018-12-07 19:42:27 +01:00
Timmeey86 e6261a6bf8 Merge branch 'master' of https://github.com/Anuken/Mindustry into baltitenger 2018-12-07 19:40:10 +01:00
Timmeey86 0a76647175 ForceProjector should now work properly 2018-12-07 19:38:14 +01:00
Timmeey86 787706b1f7 Set default minimum power to 50% and set four blocks to 100% 2018-12-07 19:37:51 +01:00
Anuken 94665e8055 Formatting / Removed mobile map screenshots due to crashes 2018-12-07 13:10:25 -05:00
Anuken b24770629e Merge remote-tracking branch 'origin/master' 2018-12-07 12:12:09 -05:00
Anuken a09bd09a0e Removed tank chaining 2018-12-07 12:11:58 -05:00
Prosta4okua 988df8742c Update bundle_uk_UA.properties 2018-12-07 10:27:11 +02:00
Prosta4okua 10c41bf443 Update bundle_uk_UA.properties 2018-12-07 10:16:21 +02:00
Prosta4okua bb30876557 From Ber and 2018-12-07 10:13:22 +02:00
Anuken 81c24b3de1 Fixed file chooser style / Fixed sector save invisibility 2018-12-06 22:27:39 -05:00
Anuken 4e1f734af7 Merge remote-tracking branch 'origin/master' 2018-12-06 19:57:31 -05:00
Anuken 2f726cf7f2 (2) 2018-12-06 19:57:26 -05:00
Timmeey86 e726d16094 Removed power bars from direct consumers 2018-12-06 19:49:49 +01:00
Timmeey86 5bda5124e6 Merged current master to branch 2018-12-06 19:48:01 +01:00
Anuken 1a66b7c4c3 Graphical fix 2018-12-06 11:41:05 -05:00
Anuken da86dee981 Freezing armor multiplier 2018-12-06 09:30:41 -05:00
Anuken 6caf0fc1cc Merge remote-tracking branch 'origin/master' 2018-12-05 19:00:18 -05:00
Anuken 8d28976b0d Misc cleanup 2018-12-05 19:00:10 -05:00
Prosta4okua 26e972314e Update bundle_uk_UA.properties 2018-12-05 22:44:03 +02:00
iczero 8a582f8872 Check client version type against server version type (#367) 2018-12-05 15:43:13 -05:00
Anuken ca04504573 Renamed internal 'noWaves' mode / Fixed text encoding issues 2018-12-05 15:38:32 -05:00
Anuken 80360214df Bar re-scaling 2018-12-05 13:33:03 -05:00
Baltazár Radics c69eae486e Merge pull request #11 from Timmeey86/baltitenger
Fixes requested by Anuke
2018-12-05 19:09:14 +01:00
Timmeey86 57bebd3fb6 Removed file which was not supposed to be commited 2018-12-05 18:57:52 +01:00
Timmeey86 329dac77ee Consumers only draw power when all other required inputs are valid 2018-12-05 18:56:07 +01:00
Timmeey86 e5dabc63c2 Removed power bars from producers 2018-12-05 18:03:50 +01:00
Anuken f652135e19 Merge remote-tracking branch 'origin/master' 2018-12-04 18:31:02 -05:00
Anuken 6bf7d8b111 ok desktop 2018-12-04 18:30:55 -05:00
Predator127 004ad0eb8c PT-BR updated (#365) 2018-12-03 12:46:48 -05:00
Skybbles // L5474 989034c799 Made Unloader have the same "memory" as the sorter (#366)
I implemented the same 'memory' feature as the sorter's, introduced in b62. It's sort of under the 'sorter' category in terms of features, so I thought it would be logical to do so.
2018-12-03 12:46:31 -05:00
Baltazár Radics c2334ce80a Merge pull request #10 from Timmeey86/baltitenger
Continued work on Power Generators
2018-12-03 18:46:06 +01:00
Anuken 6d59fe3080 Bugfixes 2018-12-03 10:33:50 -05:00
Anuken 9c01256029 Output cleanup 2018-12-02 17:04:55 -05:00
Anuken e33c863162 Bugfixes 2018-12-02 16:56:44 -05:00
Prosta4okua 787a9c0083 Update bundle_uk_UA.properties 2018-12-02 22:12:39 +02:00
Prosta4okua c75c22955c Update bundle_uk_UA.properties 2018-12-02 22:01:42 +02:00
Anuken 5afb5d24d8 Wave preset changes 2018-12-02 13:57:13 -05:00
Anuken 134cc34d74 Merge remote-tracking branch 'origin/master' 2018-12-02 12:03:41 -05:00
Anuken 3397d6c907 Misc bug/crash fixes 2018-12-02 12:03:18 -05:00
Timmeey86 f8cf185db9 Fixed display of solar panel power generation 2018-12-02 12:43:18 +01:00
Anuken 735935c0c4 Merge branch 'remove-tile-pack' of https://github.com/Anuken/Mindustry 2018-12-01 17:36:16 -05:00
Anuken fd3beaf2b9 Removed silicon coal requirement 2018-12-01 14:48:55 -05:00
Timmeey86 034fab480d Most direct consumers now operate slower when not supplied with full power 2018-12-01 18:32:17 +01:00
VizardAlpha 17432d1f94 Update bundle_fr_BE.properties (#361)
* Update bundle_fr_BE.properties

* Updates bundle_fr_BE.properties
2018-12-01 11:22:28 -05:00
Timmeey86 62c6d8e42d Fixed Arcs not firing 2018-12-01 16:49:30 +01:00
Timmeey86 14e057cf05 - Resolved all remaining TODOs 2018-12-01 16:13:03 +01:00
Timmeey86 982c9bf964 - Fixed double power production
- Buffered consumers no longer request power when full
2018-12-01 14:31:01 +01:00
Timmeey86 b4aba3d263 All power blocks now produce power as stated in v63 tool tips 2018-12-01 13:41:14 +01:00
Anuken 9f9d57b9a9 Merge remote-tracking branch 'origin/master' 2018-11-30 23:12:52 -05:00
Anuken 236e3c7e61 Added wet shocking 2018-11-30 23:12:48 -05:00
Anuken 2160844ad0 Merge remote-tracking branch 'origin/master' 2018-11-30 17:48:19 -05:00
Anuken 51475d600c iOS fix 2018-11-30 17:48:09 -05:00
Timmeey86 149f7a1d9d Merged current master into branch (with manual changes) 2018-11-30 21:33:09 +01:00
elmenda452 56ef7ae60c Update bundle_es.properties (#360)
It was strangely hard to find the (Constructing) translation... (for block.constructing), but anyway I finally found it
2018-11-30 15:16:54 -05:00
Anuken 7ec6586c4a Line power nodes 2018-11-30 15:14:27 -05:00
Timmeey86 074a6bfa87 Reverted accidental file push 2018-11-30 21:10:31 +01:00
Timmeey86 965fec5927 Continued work on power generators 2018-11-30 21:08:33 +01:00
Anuken 58b87aa999 Additional crash fixes 2018-11-30 13:49:43 -05:00
Anuken b0b16b52ee Merge remote-tracking branch 'origin/master' 2018-11-30 13:20:39 -05:00
Anuken 9ab3f7e5aa Crash fix 2018-11-30 13:20:15 -05:00
Timmeey86 61210955bd Optimized power distribution implementation for buffered consumers 2018-11-30 18:45:40 +01:00
Timmeey86 28f73d0a76 Merged ItemGenerator, LiquidGenerator and ItemLiquidGenerator into a single class.
Unit tests now test the ItemsOnly, LiquidsOnly and LiquidsAndItems cases
2018-11-30 18:37:51 +01:00
Anuken 99fb1a4c5f Implemented null-items for sorters and item sources 2018-11-30 10:28:27 -05:00
Baltazár Radics 42cf80106f Merge pull request #9 from Timmeey86/baltitenger
Resolved more TODOs
2018-11-30 05:46:35 +01:00
Timmeey86 bcb9cfd2fe Synchronized Item/Liquid generator code 2018-11-30 00:03:53 +01:00
Timmeey86 1d57568322 All power distributors now update power graph
Replaced manual power graph update by base implementation call so future changes in base class get applied to all subclasses automatically. Added the call where missing.
2018-11-29 23:35:56 +01:00
Anuken d56c041c4a Fixed ground units always spawning in (-1, -1) 2018-11-29 16:58:11 -05:00
Anuken be48ed5589 Fixed another boring layout issue 2018-11-29 16:37:22 -05:00
Anuken 897c296fbe Fixed server crash 2018-11-29 16:30:41 -05:00
Anuken d25fe028b8 Fixed mobile recipe switching 2018-11-29 16:23:11 -05:00
Anuken d9ade96fad Compile fix 2018-11-29 14:47:39 -05:00
Anuken 7fd05b7ca6 Added mobile copy/paste 2018-11-29 13:04:34 -05:00
Anuken 0eec5383ed UI fixes / Better ghost connection fix 2018-11-29 12:07:43 -05:00
Anuken f474d2c834 Fixed ghost connections 2018-11-29 09:32:36 -05:00
Anuken e40e5e6a99 UI fix 2018-11-29 09:22:39 -05:00
Baltazár Radics 82d20efa8d Merge pull request #8 from Timmeey86/baltitenger
Fixed test names / Continued work on generators
2018-11-29 08:47:11 +01:00
Anuken 8c7716428d Logo update 2018-11-28 22:38:01 -05:00
Anuken 9ac8a4211e Merge 2018-11-28 22:37:49 -05:00
Anuken 23750bab55 Layout fixes 2018-11-28 22:05:34 -05:00
Anuken 22aeddc655 Fixed screenshot key firing when chat open 2018-11-28 20:30:34 -05:00
Anuken ab69cd8027 Initial crafting rework changes 2018-11-28 19:00:59 -05:00
Anuken f3d35e9537 Crash fixes 2018-11-28 18:43:35 -05:00
Timmeey86 4cb72c1998 Resolved some of the power-related TODOs 2018-11-29 00:38:53 +01:00
Timmeey86 12ccc10e83 Restored SolarGenerator and adapted to new power system. 2018-11-28 23:56:11 +01:00
Timmeey86 ec631f3499 Changed test naming conventions as requested by Anuke 2018-11-28 23:54:26 +01:00
Anuken 75d2ea1519 Added build revision 2018-11-28 17:42:12 -05:00
Anuken 14e9a94061 Merge remote-tracking branch 'origin/master' 2018-11-28 17:24:26 -05:00
Anuken d3284ab9f6 Chained block inventory scaling 2018-11-28 17:24:21 -05:00
Anuken 775df43470 Merge remote-tracking branch 'origin/master' 2018-11-28 14:00:57 -05:00
Anuken e2e6024e8f Pan tweak 2018-11-28 14:00:51 -05:00
elmenda452 d89b51f17d Update bundle_es.properties (#359)
Just making another revision.
2018-11-28 13:22:36 -05:00
Anuken aa626947ed HUD cleanup 2018-11-28 13:14:54 -05:00
Baltazár Radics 630693d64e Merge pull request #7 from Timmeey86/baltitenger
Adapted ItemLiquidGenerator to new power system
2018-11-28 17:14:19 +01:00
Anuken f2be23274e Crash fixes 2018-11-28 08:53:03 -05:00
Timmeey86 2972780bed Initial Efficiency is now zero. Blocks display efficiency. 2018-11-28 13:19:52 +01:00
Timmeey86 cf3d2c3def Fixed handling of item duration 2018-11-28 11:59:58 +01:00
Timmeey86 1f8751054c Tested/fixed delta calculations
Tests now use a fixed delta of 0.5 to make sure calculations work with deltas different from 1.0
2018-11-28 11:04:08 +01:00
Anuken cc90e6d479 b a l a n c i n g 2018-11-27 21:07:29 -05:00
Anuken 76dd3c86f2 Removed redundant sector mission display 2018-11-27 20:36:23 -05:00
Anuken 91468fa2f9 Style changes 2018-11-27 20:12:49 -05:00
Timmeey86 739219c57b Finished first draft of ItemLiquidGenerator through TDD 2018-11-27 22:28:41 +01:00
Timmeey86 f56e1933a6 Fixed occassional crashes of Power Tests and continued TDD 2018-11-27 21:27:35 +01:00
Anuken 8e4aec9c4d Merge remote-tracking branch 'origin/master' 2018-11-27 13:19:48 -05:00
Anuken e6e29aaf1e Team button layout fix 2018-11-27 13:19:44 -05:00
Prosta4okua 1ac5f54e9e [СOMPLETE]Update Uk_ua bundle (#328)
* [WIP]Update Uk_ua bundle

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties
2018-11-27 13:10:51 -05:00
Prosta4okua bf983658c8 [COMPLETE]Close before 62 build (#345)
* [wip]Some changes from Xzimur

* Update bundle_ru.properties

Mine

* Update bundle_ru.properties

New UI / 8c437eb815

* Update bundle_ru.properties

* Update bundle_ru.properties

Разблокированные->разблоки\nрованные

* Update bundle_ru.properties

* Update bundle_ru.properties

Присоеди\nниться

* Update bundle_ru.properties

владелец

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties
2018-11-27 13:08:07 -05:00
Anuken e17286eb9f Player list fixes with teams 2018-11-27 13:00:34 -05:00
Anuken 19c17e96de Mobile UI fixes 2018-11-27 12:31:45 -05:00
Anuken b45368342d Block config UI fixes 2018-11-27 09:29:28 -05:00
Timmeey86 11e071289b Reorganized power tests ...
... and changed creation of fake tiles so update() implementations have all required dependencies
2018-11-27 08:51:19 +01:00
Anuken dcea8ae64f New UI 2018-11-26 22:47:54 -05:00
Baltazár Radics c9480ef17d Merge pull request #6 from Timmeey86/baltitenger
Merged most recent Anuken master into branch and fixed conflicts
2018-11-26 23:28:52 +01:00
Timmeey86 a9517096f9 Merged current Anuke master into branch 2018-11-26 23:25:24 +01:00
Timmeey86 fc3f03425e Merge branch 'master' of https://github.com/baltitenger/Mindustry into baltitenger 2018-11-26 23:12:55 +01:00
Baltazár Radics 8d43046f13 Merge pull request #5 from Timmeey86/baltitenger
Fixed batteries / Added Tests / Fixed delta
2018-11-26 22:18:29 +01:00
Timmeey86 cd6880aff4 Merge branch 'master' of https://github.com/baltitenger/Mindustry into baltitenger 2018-11-26 21:59:25 +01:00
Anuken ccefa45fb0 Atlas update 2018-11-26 13:23:56 -05:00
Anuken b721d7a10f Merge branch 'master' of https://github.com/Anuken/Mindustry into rendering-optimizations
# Conflicts:
#	core/assets/sprites/sprites.atlas
#	core/assets/sprites/sprites.png
#	core/src/io/anuke/mindustry/core/Renderer.java
#	core/src/io/anuke/mindustry/entities/units/types/Drone.java
#	core/src/io/anuke/mindustry/graphics/CacheLayer.java
#	core/src/io/anuke/mindustry/world/blocks/Floor.java
2018-11-26 13:23:38 -05:00
Anuken ef85d1d83e Merge remote-tracking branch 'origin/master' 2018-11-26 12:40:28 -05:00
Anuken d03ceb2a23 Bugfixes / Sorter item memory 2018-11-26 12:40:24 -05:00
VizardAlpha 90198be1cb Updates bundle_fr_BE.properties (#358)
* Updates bundle_fr_BE.properties

* Updates bundle_fr_BE.properties

* Update bundle_fr_BE.properties

* Update bundle_fr_BE.properties

* Update bundle_fr_BE.properties
2018-11-26 12:34:01 -05:00
Timmeey86 f640494c1f PowerGraph now handles delta
Also power bars are displayed for non-buffered consumers as well
2018-11-26 10:26:49 +01:00
Timmeey86 77b9feb765 More Tests and fixes
- Batteries will now get charged with no consumers
- Fixed stat display of power generators
2018-11-26 09:24:08 +01:00
Timmeey86 99139dfcca Added unit tests for batteries...
...and fixed battery distribution until all tests passed
2018-11-26 08:58:16 +01:00
Anuken a241f63ddc Merge remote-tracking branch 'origin/master' 2018-11-25 22:55:18 -05:00
Anuken 70507258ae Cleanup 2018-11-25 22:55:13 -05:00
beito 51a8144f49 Update Japanese translations (#357)
* Add new japanese translation

It translated on commit 66810c8.
so it don't apply changes from commit 17e0489.

* Update Japanese translation

Applies commit 7a51693. and small changes.

* Upadte Japanese translations

* Update Japanese

* Update Japanese

* Update Japanese translations

Improve and update for new changes

* Update Japanese

* Update Japanese translations
2018-11-25 22:54:46 -05:00
Anuken 54ad9ba243 Added fullscreen map screenshot 2018-11-25 20:43:45 -05:00
Anuken a7f7a09418 Drone repair cleanup / Percentage-based repair 2018-11-25 16:34:31 -05:00
Anuken 44897fb371 Mobile chat fix / Turret balance / UI disable variable 2018-11-25 13:58:19 -05:00
Anuken bb6a748167 Various bugfixes 2018-11-25 10:29:38 -05:00
DaGamerFiles 21f61d46da Update bundle_in_ID.properties [INCOMPLETE]
Some fixes and translations from line 2 to line 130.
2018-11-25 17:47:22 +07:00
JustYanns 6ac8a9d440 Update bundle_fr.properties
Some improvement on the text (capital letters, plurals, ...)
More later !
2018-11-25 10:29:12 +01:00
Anuken c321402414 Various bugfixes 2018-11-24 20:04:20 -05:00
Anuken ec80fc9f3f Android build update 2018-11-24 19:39:35 -05:00
Anuken 6bfd57097f Cleanup of TODOs 2018-11-24 08:21:22 -05:00
Anuken 6f5df6a671 Added list of contributors to credits 2018-11-23 14:30:58 -05:00
Anuken 1baf3190cd Host dialog name selection 2018-11-23 13:35:16 -05:00
Anuken 66c29c49e5 Wave spawner moved / Bundle tweaks / Blank name 2018-11-23 13:32:17 -05:00
Anuken e5d6740555 Additional tests, inventory fixes 2018-11-23 12:40:36 -05:00
Anuken 30b5dd63e4 Build tag fix 2018-11-23 10:21:47 -05:00
Anuken f0aa8d73ea Merge remote-tracking branch 'origin/master' 2018-11-23 09:23:48 -05:00
Anuken 8a0761cad8 Bugfixes 2018-11-23 09:23:42 -05:00
키에르 322d76b713 Update bundle_ko.properties (#354)
* Update bundle_ko.properties

* Update bundle_ko.properties
2018-11-23 08:41:55 -05:00
Anuken 4f56bf3c3e Consume icon fix / Liquid mixer fix 2018-11-23 08:32:56 -05:00
Anuken 942eed402a uCore update 2018-11-22 23:38:59 -05:00
Anuken 24c72650fb Bundles update 2018-11-22 19:10:31 -05:00
Anuken f5959c8829 Optional display section 2018-11-22 19:09:51 -05:00
Baltazár Radics 4a8299d9dc Merge pull request #4 from Timmeey86/baltitenger
Baltitenger
2018-11-22 23:59:15 +01:00
Timmeey86 560d388df4 Added Tests, fixed detected bugs and updated JUnit 2018-11-22 23:30:49 +01:00
Anuken 7621ebed42 Merge remote-tracking branch 'origin/master' 2018-11-22 08:39:15 -05:00
Anuken 5447c71790 Removed junction item voiding 2018-11-22 08:39:05 -05:00
Anuken c5241eaaf6 Encoding tests 2018-11-21 23:12:27 -05:00
Anuken 9266b55ddf Fixed charset issues 2018-11-21 23:05:33 -05:00
VizardAlpha 1bc1f66613 Updates bundle_fr_BE.properties (#351)
I had not seen the last line to translate.
2018-11-21 22:02:28 -05:00
Anuken 7795a690ed Fixed fillitems command 2018-11-21 21:17:45 -05:00
Anuken d498ac89f2 Mining bugfix 2018-11-21 21:13:30 -05:00
Timmeey86 7683e86d8b Added two unit tests for bounds checking 2018-11-21 23:57:24 +01:00
Baltazár Radics ebb763db03 Merge pull request #3 from Timmeey86/baltitenger
Implemented the new power system with Consumers
2018-11-21 23:42:47 +01:00
Timmeey86 920491ddb2 MassDriver now properly displays the power per shot 2018-11-21 23:38:28 +01:00
Timmeey86 761728ac43 Fixed the ConsumePower constructors which got mixed up at some point 2018-11-21 23:04:18 +01:00
Timmeey86 d8ddb9dc82 Merged the three ConsumePower classes into a single one 2018-11-21 22:55:53 +01:00
Timmeey86 405f153439 Reverted/Adapted blocks to new Consume interfaces 2018-11-21 21:54:43 +01:00
Timmeey86 f789a35901 Readded buffered and direct consumers as three classes 2018-11-21 20:07:05 +01:00
Anuken 2842018c2f Ignored robovm.properties 2018-11-21 11:01:16 -05:00
Anuken 51641cc704 Merge remote-tracking branch 'origin/master' 2018-11-21 11:00:58 -05:00
Anuken 729f5ed5e4 New version format / Updated bundles / ConnectPacket encoding fix 2018-11-21 11:00:50 -05:00
Anuken 46c6b2168c Added automatic build incrementing 2018-11-21 10:04:38 -05:00
Anuken 1f955904a4 Merge 2018-11-21 10:04:17 -05:00
VizardAlpha 03ff33acaf Updates bundle_fr_BE.properties (#350) 2018-11-21 10:00:19 -05:00
Anuken 46035e76cc Build increment 2018-11-21 09:59:56 -05:00
Anuken 7c073f76ae Added automatic build incrementing 2018-11-20 19:28:26 -05:00
Timmeey86 558c89cc30 Finished first unit test (equal power input and output) and fixed bugs detected by it 2018-11-21 00:04:26 +01:00
Timmeey86 222d41c84a Added Test stub 2018-11-20 22:58:13 +01:00
Baltazár Radics 12a62f4607 Merge pull request #2 from Timmeey86/baltitenger
Branch now compiles again (but won't work yet)
2018-11-20 22:39:47 +01:00
Timmeey86 f561768c67 Handled compiler errors by either resolving them or commenting & adding a TODO 2018-11-20 22:33:36 +01:00
Anuken 5ced5ce253 Fixed some bugs/crashes 2018-11-20 10:00:13 -05:00
Anuken 55781e911e Merge remote-tracking branch 'origin/master' 2018-11-20 00:26:18 -05:00
Anuken ee3c4a4124 Mass driver buff 2018-11-20 00:26:14 -05:00
키에르 6815e56e57 Update bundle_ko.properties (#346) 2018-11-19 22:56:14 -05:00
Anuken 6c744443fb Item list value fix 2018-11-19 20:52:31 -05:00
Anuken 3c37047afb Misc bugfixes 2018-11-19 17:56:26 -05:00
Anuken f31f09d77a Visual fix 2018-11-19 16:40:33 -05:00
Baltazár Radics c1bb05c0a4 Merge pull request #1 from Timmeey86/baltitenger
Fixed compiler errors/typos in PowerGraph
2018-11-19 22:17:06 +01:00
Timmeey86 f5b8d8a60c Fixed compiler errors/typos in PowerGraph 2018-11-19 22:11:11 +01:00
Baltazár Radics 8218cfc72c cleaned up PowerGraph 2018-11-19 22:00:45 +01:00
Anuken de508ee68f "Legacy" unlock loading 2018-11-19 15:08:18 -05:00
Anuken a932111040 Removed ContentUnlockSet 2018-11-19 14:38:46 -05:00
Anuken 8c437eb815 New UI 2018-11-19 14:30:40 -05:00
Anuken 1ad4815983 Added all placement controls 2018-11-19 14:20:57 -05:00
LQ 00706daae5 editor MapRenderer block icon scaling (#344) 2018-11-19 12:33:50 -05:00
Anuken c75cdc6d28 Placement toggle support 2018-11-19 12:27:42 -05:00
Anuken b9fae7fb7d Bundle update 2018-11-19 10:47:18 -05:00
Anuken e74a3da5cd Merge remote-tracking branch 'origin/master' 2018-11-19 10:20:46 -05:00
Anuken 08cf986cae Fixed destruction of broken blocks leading to neutral team block 2018-11-19 10:20:41 -05:00
Anuken ba01ed0153 Flipped place menu 2018-11-18 23:19:39 -05:00
Anuken 19ac8bd9b2 Info menu 2018-11-18 20:50:12 -05:00
Anuken ab79ccb02b Implemented unlocks for placement 2018-11-18 20:04:15 -05:00
Baltazár Radics 6ba8a6a600 Added support for buffered power consumers 2018-11-18 23:47:03 +01:00
Baltazár Radics 377fb2329c Merge branch 'master' of github.com:Anuken/Mindustry 2018-11-18 23:26:10 +01:00
Baltazár Radics 285ee665ee rewritten PowerGraph 2018-11-18 23:12:54 +01:00
Anuken d862498516 Replaced tooltips with names 2018-11-18 15:17:19 -05:00
Prosta4okua b09b03a427 [COMPLETE]Update bundle_ru.properties (#313)
* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties
2018-11-18 14:12:44 -05:00
Sonnicon 4ef2ede4cf Important comment repair. (#343) 2018-11-18 14:10:35 -05:00
Anuken 0efaa11553 2 new categories, less space used 2018-11-18 14:10:02 -05:00
LQ ea87b958ef update zh_CN translations (#342)
* Update bundle_zh_CN.properties

Add descriptions translate for zh_CN

* Update bundle_zh_CN.properties
2018-11-18 09:46:13 -05:00
Anuken ff62f075d0 New place menu 2018-11-18 00:07:25 -05:00
Anuken 348744086d Broken BlocksFragment 2018-11-17 18:30:13 -05:00
Anuken d1d4f79973 Fixed ores appearing as 'air' 2018-11-17 18:01:08 -05:00
Anuken 2a3f7f8cb3 Bundle update 2018-11-17 17:08:31 -05:00
Anuken 7eaef11a84 Improved hover block system 2018-11-17 17:04:16 -05:00
Anuken efe93d0117 Added tile selection view 2018-11-17 14:45:29 -05:00
Anuken 7d12e18b98 Merge remote-tracking branch 'origin/master' 2018-11-17 13:04:39 -05:00
Anuken de6bca424f Re-added hacky power graph fix 2018-11-17 13:04:34 -05:00
Milinai 03268a5575 Update ServerControl.java (#339)
* Update ServerControl.java

Hopefully made core fill for teams.

* Fixed compile errors and incorrect team handling
2018-11-17 12:57:10 -05:00
Sonnicon 1251680a1c Fixed BlocksFragment categories row limit (#340) 2018-11-17 12:56:59 -05:00
Anuken f8d55ba837 Better scaling algorithm 2018-11-17 12:51:06 -05:00
William So cd0e49914b Complete most of the Chinese translations (#338)
* Update some Chinese translations

* Translate control guides

* Translate mission text, server text, and others

* Translate generic text

* Translate a lot of short strings

* Translate a bunch of mech strings

* Translate rest of the strings except mainly the descriptions

The descriptions will probably take 3 more days to translate. I will stop here now.

I will translate the rest later.
2018-11-17 12:36:31 -05:00
beito 700e845727 Update Japanese translations (#337)
* Add new japanese translation

It translated on commit 66810c8.
so it don't apply changes from commit 17e0489.

* Update Japanese translation

Applies commit 7a51693. and small changes.

* Upadte Japanese translations

* Update Japanese

* Update Japanese
2018-11-17 12:26:57 -05:00
Anuken bab8120814 Crash reporting fixes 2018-11-17 12:25:38 -05:00
Anuken c6f1f19866 Removed shadow sprites 2018-11-17 11:33:56 -05:00
Anuken 745592f507 Merge branch 'master' of https://github.com/Anuken/Mindustry into rendering-optimizations 2018-11-17 11:24:37 -05:00
Anuken afec65eb56 New mobile text dialog / Cleanup / Minimap fix / Collision optimization 2018-11-17 11:13:59 -05:00
Anuken d6661da0a7 Syncing enemy display 2018-11-17 00:04:11 -05:00
Anuken dcc4732748 Updated to libGDX 1.9.9 2018-11-16 23:36:11 -05:00
Anuken 6a5bf08d55 Implemented local server configs 2018-11-16 22:28:27 -05:00
Anuken d52f5e6e03 Shadow tweaks 2018-11-16 21:33:10 -05:00
Anuken eb62356313 Merge remote-tracking branch 'origin/rendering-optimizations' into rendering-optimizations 2018-11-16 21:20:08 -05:00
Anuken 919dc248e3 Less terrible shadows 2018-11-16 21:20:03 -05:00
Anuken ca5db2bff8 Fixed bugs with waiting for players, world border 2018-11-16 18:17:24 -05:00
Anuken 658698ed2f Merge remote-tracking branch 'origin/master' 2018-11-16 17:28:47 -05:00
Anuken 7f391dacbd Fixed low-FPS movement getting broken 2018-11-16 17:28:42 -05:00
Timmeey86 90e0bf95d1 Negative power values will be fixed by reloading the map (#335) 2018-11-15 19:02:17 -05:00
Anuken 930bfb26f4 Merge remote-tracking branch 'origin/master' 2018-11-15 12:40:29 -05:00
Anuken 7e788f212a Additional fixes 2018-11-15 12:38:36 -05:00
Anuken 8f99530795 Fix for off-screen players and laggy interpolation 2018-11-15 12:37:07 -05:00
VizardAlpha 434af4b998 Updates bundle_fr_BE.properties (#333)
* Updates bundle_fr_BE.properties

* Updates

* last update
2018-11-15 10:50:21 -05:00
Anuken a011728cc9 Build shader update 2018-11-15 10:01:03 -05:00
Anuken e584139b6d Merge branch 'master' of https://github.com/Anuken/Mindustry into rendering-optimizations 2018-11-15 09:56:09 -05:00
Anuken a7c8526f3e Merge remote-tracking branch 'origin/master' 2018-11-14 23:46:37 -05:00
Anuken 459256e83a Slower unloader 2018-11-14 23:46:33 -05:00
Anuken 21f3f52c7b Fixed minimap / Improved ore shadows 2018-11-14 18:15:47 -05:00
Anuken 568e43cf3d Script fixes, padding improvements 2018-11-14 17:14:22 -05:00
Anuken e004e540d7 Correct tile edges 2018-11-14 17:05:51 -05:00
Anuken cac6172344 Incomplete point shaders 2018-11-14 16:28:59 -05:00
beito 8dbfb87246 Add Japanese translations (#332)
* Add new japanese translation

It translated on commit 66810c8.
so it don't apply changes from commit 17e0489.

* Update Japanese translation

Applies commit 7a51693. and small changes.

* Upadte Japanese translations
2018-11-14 14:12:41 -05:00
Anuken d8cbc7ddd8 "point shader" 2018-11-14 10:39:43 -05:00
Anuken bdf3a2dfe8 Merge remote-tracking branch 'origin/rendering-optimizations' into rendering-optimizations 2018-11-14 10:12:12 -05:00
Anuken 693b82e47d Merge branch 'master' of https://github.com/Anuken/Mindustry into rendering-optimizations 2018-11-14 10:12:12 -05:00
Anuken 888be0fd5e Completely cleaned FloorRenderer class 2018-11-14 10:12:03 -05:00
Anuken 9f97ed331b Various bugfixes / Updated uCore 2018-11-14 09:55:54 -05:00
LQ e8ea2af298 add drawRequest for mobile input (#330) 2018-11-14 09:49:27 -05:00
Anuken 785c2e36c6 Fixed some things 2018-11-13 23:24:59 -05:00
Anuken ee043e67a4 Probable crash fix 2018-11-13 22:43:10 -05:00
Anuken d824b41bbb Added replacement sprites 2018-11-13 22:11:29 -05:00
Anuken a9df64f861 Semi-usable sprites 2018-11-13 22:10:41 -05:00
Anuken 6c3b449f74 Merge remote-tracking branch 'origin/master' 2018-11-13 18:51:38 -05:00
Anuken 536c6a7b2c Various bugfixes 2018-11-13 18:51:34 -05:00
Baramos666 e90e0fc615 update descriptions (#325) 2018-11-13 18:15:20 -05:00
VizardAlpha b704121dcb Minor Update bundle_fr_BE.properties (#326) 2018-11-13 18:14:31 -05:00
Anuken 5e0886d744 Compile fix 2018-11-13 15:53:01 -05:00
Anuken f819e4829b Writing of player nick bytes 2018-11-13 15:27:50 -05:00
Anuken 8873948e9e String encoding fix 2018-11-13 15:18:50 -05:00
Anuken a25ea14436 Removed ancient comment 2018-11-13 14:49:58 -05:00
Anuken 1a922f05c1 Fixed sectors carrying over to multiplayer 2018-11-13 12:54:33 -05:00
elmenda452 e8268b1dab Update bundle_es.properties (#327)
There wasn't much to translate, this is just a second check.
2018-11-13 11:07:32 -05:00
Anuken 4cb78f55d1 Fixed edge scale 2018-11-13 09:30:21 -05:00
Anuken 7a516930b1 Bugfixes of various kinds 2018-11-13 09:13:53 -05:00
Baltazár Radics 8091bec6bf added buffered power consumer 2018-11-13 08:40:32 +01:00
Anuken 7baf42b138 New scaling pipelines 2018-11-12 19:03:24 -05:00
Anuken ab9835b896 New scaling system 2018-11-12 17:37:26 -05:00
Anuken 9d142c5607 Removed shadow/world padding 2018-11-12 13:17:43 -05:00
Anuken 92b68bdb8f Merge branch 'remove-multithreading' of https://github.com/Anuken/Mindustry 2018-11-12 11:00:09 -05:00
Anuken a86bb9f6e6 Merge branch 'master' of https://github.com/Anuken/Mindustry 2018-11-12 10:59:19 -05:00
Anuken 09db6dc424 4x 2018-11-11 23:31:59 -05:00
Anuken 3b62526267 Re-added shadows 2018-11-11 16:53:03 -05:00
Anuken 5d80031a40 Various rendering improvements 2018-11-11 15:57:23 -05:00
Timmeey86 c9777af91c Added Unlocks menu button to Escape menu on desktop (#324) 2018-11-11 13:03:15 -05:00
Anuken 656e4d529c Utterly broken 60fps rendering 2018-11-11 12:25:02 -05:00
Baltazár Radics a894873d6b reset my fork, started work on using power consumers 2018-11-11 17:34:32 +01:00
Anuken 2d1a97e042 Removed unnecessary synchronized() blocks 2018-11-11 11:12:54 -05:00
Anuken ece3f96867 Fixed net errors not being displayed properly 2018-11-11 10:50:33 -05:00
Anuken 65a48b324d Removed multithreading 2018-11-11 10:32:00 -05:00
Anuken 53bf622065 Merge remote-tracking branch 'origin/master' 2018-11-10 21:26:17 -05:00
Anuken 075be18123 Fixed wave button layout 2018-11-10 21:26:11 -05:00
Timmeey86 044390b4b4 Sector -2 0 fix (#322)
* Added a battle mission to Sector (-2,0) as otherwise no core would be spawned

* Fixed a crash which occurred during test execution...

... and could maybe occur during any startup with bad timing

* Added a new class for sector tests ...

... and added a test which makes sure that any predefined sector defines
a spawn point

* Added fix after applying test driven bugfixing
2018-11-10 21:19:27 -05:00
Anuken 37d03aaebe iOS build update 2018-11-09 13:12:04 -05:00
Anuken 51a51833d4 iOS build fix 2018-11-09 10:18:53 -05:00
Anuken a8cfc1ef7a Mobile input tweak 2018-11-09 08:49:23 -05:00
Anuken 1d238c8315 Crash fix 2018-11-09 08:33:43 -05:00
Anuken 4f96744ff2 Shield shader simplification 2018-11-08 23:50:03 -05:00
Anuken e9783ecccc Possible minimap fix 2018-11-08 23:19:47 -05:00
Anuken 6342cc41ac Better lake generation 2018-11-08 22:18:34 -05:00
Anuken c554390de5 Crash fix 2018-11-08 18:48:19 -05:00
Anuken 4d8bbe3023 ita -> it 2018-11-08 17:40:50 -05:00
Anuken 969076f1ef Fixed sector data carry-over 2018-11-08 17:38:51 -05:00
Anuken 20032def7e Fixed player turning white before drowning on multiplayer 2018-11-08 16:30:56 -05:00
Anuken 94706460c0 Merge remote-tracking branch 'origin/master' 2018-11-08 14:53:43 -05:00
Anuken b7506229f8 Minor bugfixes 2018-11-08 14:53:18 -05:00
elmenda452 58c6df3537 Update bundle_es.properties (#317)
Translated the description of nearly everything which wasn't translated and made some changes. I don't really mind if someday these get reset.
2018-11-08 14:46:39 -05:00
Timmeey86 235a1f36ec Prepared/Fixed translation files for crash reported in #translations (#318) 2018-11-08 14:46:12 -05:00
키에르 b53821976e Update bundle_ko.properties (#316)
* Update bundle_ko.properties

* Fix typo
2018-11-08 10:20:30 -05:00
Anuken 4355881fb2 Fixed save files not working 2018-11-08 09:03:42 -05:00
Anuken cf50d558ba Fixed many various things 2018-11-07 22:37:34 -05:00
Anuken 7488dc3ebb Fixed access violation crash 2018-11-07 21:49:26 -05:00
Anuken b449847ad1 Reverted to power system that wasn't broken 2018-11-07 20:30:02 -05:00
Anuken 9785745384 Fixed many multiplayer bugs 2018-11-07 20:24:38 -05:00
Anuken 56ffa7905e Fixed instant-win wave missions / Fixed units clipping off screen 2018-11-07 19:58:53 -05:00
Anuken 216433aa2d New alpha drone mechanics 2018-11-07 19:34:31 -05:00
Anuken 122fbbed22 Added a 'tutorial' / Bugfixes 2018-11-07 19:23:40 -05:00
Anuken 042c671bd4 Difficulty balance / Better map display / UI fixes 2018-11-07 18:51:27 -05:00
Timmeey86 38fdc11917 Adjustable core position (#307)
* Made starting core position configurable and fixed tutorial sector core position

* Refactored classes to use a public int interface and a GridPoint2 as internal storage

* Battle missions now spawn the core at 50, 50 again

* Default player cores are now created at the first spawnpoint

* Manually fixed formatting which was not caught by auto formatter
2018-11-07 18:14:01 -05:00
Timmeey86 2f4730a9c6 Fixed unit/second translations since (#315) 2018-11-07 18:12:01 -05:00
Anuken 3759d32c89 Improved map previews 2018-11-07 16:56:47 -05:00
Timmeey86 93c2ca8df1 Reworked and extended german translation (#314)
* Reworked existing german translation

* Translated all block descriptions

* Replaced orange by accent highlighting
2018-11-07 16:45:57 -05:00
Anuken 832aac0e6e Fixed potential spawner issues 2018-11-07 16:41:33 -05:00
Anuken 6967d4e762 Branch created 2018-11-07 16:32:28 -05:00
Anuken 3c70681537 Merge remote-tracking branch 'origin/master' 2018-11-07 15:30:58 -05:00
Anuken 0ce08319e7 Removed desktop top menu / Rebound pause back to space 2018-11-07 15:30:42 -05:00
Timmeey86 17e0489164 Improved descriptions of Container, Vault and Mend Projector (#312) 2018-11-07 14:09:26 -05:00
Anuken 7953cc416b Fixed item bridge input / Fixed sandbox map name/desc 2018-11-07 13:50:39 -05:00
Valentin Sonin a670ac0aea upd bundle_ru.properties (#310)
add lines 768, 769,770
2018-11-07 12:41:30 -05:00
elmenda452 ef30018008 Update bundle_es.properties (#311)
Translated the entire tutorial, and a few more things.
2018-11-07 12:41:19 -05:00
elmenda452 66810c8b75 Update bundle_es.properties (#309)
Just translating a few things.
2018-11-07 00:11:53 -05:00
Anuken 2bba55ebd5 Clearer nuclear reactor output 2018-11-07 00:07:41 -05:00
Anuken b977ae4d3b Updated bundles / Unbroke wave table 2018-11-06 23:56:11 -05:00
Anuken d4f5e854c5 Misc. cleanup of UI / Removed 'font scale' var / Removed [orange] 2018-11-06 23:47:23 -05:00
Anuken 837f621633 Merge branch 'freetype' of https://github.com/Anuken/Mindustry 2018-11-06 21:01:21 -05:00
Anuken a781b4a387 Updated uCore 2018-11-06 21:00:51 -05:00
Anuken a73a75a7f8 Cyrillic, chinese, korean fonts 2018-11-06 20:55:18 -05:00
Anuken 17d1db913f Removed extra fonts in preparation for ttf conversion 2018-11-06 15:52:31 -05:00
Anuken a924509e92 New font file 2018-11-06 13:09:39 -05:00
Anuken 04b4321ea1 New font 2018-11-06 12:55:13 -05:00
키에르 1f9ebc7295 Update bundle_ko.properties (#308) 2018-11-06 11:11:56 -05:00
Anuken 6d88111dfc Unbroke pathfinding 2018-11-05 21:43:26 -05:00
Anuken 184e52b4ec Removed waterlogged sectors 2018-11-05 21:04:04 -05:00
Anuken 2a3cc3d88c Fixed units moving faster at high FPS 2018-11-05 16:56:35 -05:00
Anuken ffa1aae27c Removed shadow/world padding 2018-11-05 13:49:31 -05:00
Anuken 7cd842df19 Disabled tutorial until further notice 2018-11-05 13:09:04 -05:00
Anuken e399e4960c Broke tutorial 2018-11-05 10:28:18 -05:00
Anuken 5c193a47eb Item image fix / Overflow/router reload fix 2018-11-05 09:02:45 -05:00
Anuken b63c02cb10 New UI palette 2018-11-04 19:42:18 -05:00
Anuken 09418f1a5d Lakes / Fixed water placement 2018-11-04 18:52:51 -05:00
Anuken fa4491340a More avoidance 2018-11-04 17:10:09 -05:00
Anuken 192814650d less (less) terrible physics 2018-11-04 15:49:23 -05:00
Anuken 5f1addc54d Local crash saving 2018-11-04 09:57:12 -05:00
Anuken 9ffc8c6800 Merge remote-tracking branch 'origin/master' 2018-11-04 09:32:47 -05:00
Anuken 64cd8084ea Fixed some sector bugs 2018-11-04 09:32:43 -05:00
키에르 2e6c9d408c Update (#304)
* Update bundle_ko.properties

* remove text.unit.none
2018-11-04 09:25:10 -05:00
키에르 f3bea49f61 'Unkown' (#302) 2018-11-04 09:22:39 -05:00
Timmeey86 48fdae754e Fixed a bug where sector buttons would not be updated after abandoning it (#301) 2018-11-04 09:22:15 -05:00
Anuken 64f2ee67b2 New sector dialog done 2018-11-04 00:09:25 -04:00
Anuken 19d34779a0 New sector dialog done 2018-11-04 00:08:06 -04:00
Anuken 76a6a0cf75 Fixed crash when trying to open non-existent map 2018-11-03 09:39:59 -04:00
Anuken da47d97cd0 Removed unused descriptions / Re-ordered all files 2018-11-03 09:28:47 -04:00
Anuken f59441005e New sorted update script 2018-11-03 09:17:03 -04:00
Anuken e30347a11f Fixed world data not loading on mobile servers 2018-11-03 09:00:21 -04:00
Anuken 8ac079fb72 Fixed local servers sometimes not showing up 2018-11-03 08:53:59 -04:00
Anuken 4295f08a84 Fixed linked tiles sometimes being null 2018-11-02 21:40:19 -04:00
Anuken bd8eb97d46 Merge remote-tracking branch 'origin/master' 2018-11-02 20:57:17 -04:00
Anuken 329f656c40 Input fix 2018-11-02 20:57:13 -04:00
Anuken f2c7a26ce0 Sector edges 2018-11-02 20:53:28 -04:00
Anuken 930e25e64a Sector edges 2018-11-02 20:53:08 -04:00
Timmeey86 963269a685 Added descriptions for all unlockables which didn't have them (#297)
* Added english descriptions for walls and doors

* Added english descriptions for walls and doors

* Added descriptions for projectors, mine and turrets

* Added descriptions for transport blocks and two smelters

* Added descriptions for crafters

* Added descriptions for power-related items and containers

* Added descriptions for drills and extractors

* Added descriptions for ship/mech pads

* Added/updated unit/factory descriptions

* Added english descriptions for walls and doors

* Added descriptions for projectors, mine and turrets

* Added descriptions for transport blocks and two smelters

* Added descriptions for crafters

* Added descriptions for power-related items and containers

* Added descriptions for drills and extractors

* Added descriptions for ship/mech pads

* Added/updated unit/factory descriptions

* Added descriptions for liquids and related blocks.

* Updated descriptions based on discord discussion.

* Updated descriptions as requested by Anuken

* Updated shock mine description
2018-11-02 19:49:56 -04:00
Anuken de23ef5d35 Fixed crash 2018-11-02 19:46:56 -04:00
Anuken 208ae6183c Merge 2018-11-02 19:45:31 -04:00
Anuken 761ae4b816 Mission icons 2018-11-02 19:38:08 -04:00
Anuken ff308641e1 Command center label style cleanup 2018-11-02 17:50:58 -04:00
Sonnicon a2094ddf75 Command Center mode label. (#296) 2018-11-02 17:47:42 -04:00
Anuken 0391ed3e63 Icons of missions 2018-11-02 10:35:29 -04:00
Timmeey86 b6b3997498 Fixed false friend translation (#295) 2018-11-02 10:30:59 -04:00
Anuken 9f77c0c9b7 Added Graphics.begin/endClip() 2018-11-02 09:19:51 -04:00
키에르 dc4812a86e Update bundle_ko.properties (#294) 2018-11-02 08:46:43 -04:00
Baramos666 fc83b0d95b Update bundle_fr.properties (#293) 2018-11-01 20:12:41 -04:00
Sonnicon 8e70568e32 Made placement of pumps consistent across different placements. (#292) 2018-11-01 19:49:05 -04:00
Anuken f0e3a3a30c Crash fix 2018-11-01 19:47:40 -04:00
Anuken cf44efa02e Global drone repair / Fixed item bridge 2018-11-01 19:45:13 -04:00
Anuken ddc59dfb97 Merge remote-tracking branch 'origin/master' 2018-11-01 17:56:47 -04:00
Anuken ef0a3396d7 Automatic consume fragment view 2018-11-01 17:56:42 -04:00
Anuken 8bf68aa020 Cleanup 2018-11-01 09:09:12 -04:00
Timmeey86 02a90856ff Info Pages will now display tool tips for any item icons (#289)
* All block info dialogs will now display tool tips for the liquids and items which are required

* Reverted accidental dependency addition

* Drills will now display tool tips as well (except cultivator)
2018-10-31 21:29:15 -04:00
Timmeey86 8716695d4e Fixed a crash which could occur when unconstructing environment (#290) 2018-10-31 21:13:51 -04:00
Anuken 9a1bb69cd8 Cleaned up pause menu mess / Added sector links 2018-10-31 17:10:00 -04:00
Anuken 6caad0daf6 Merge remote-tracking branch 'origin/master' 2018-10-31 13:53:22 -04:00
Anuken 6508f1541b Added server logs / Kick messages / Ban messages 2018-10-31 13:51:45 -04:00
Anuken 6809b38821 Possible empty sectors 2018-10-31 10:31:07 -04:00
LQ 7f9a3efa24 powergraph update with battery (#276) 2018-10-31 09:36:59 -04:00
Anuken 8ecea9792b Slightly more fleshed out sector selection 2018-10-30 23:05:35 -04:00
Anuken 7c85a03b42 Merge branch 'master' of https://github.com/Anuken/Mindustry into new-sectors 2018-10-30 22:18:07 -04:00
Anuken d4d71b90eb Thread cleanup / Puddle fix 2018-10-30 22:13:01 -04:00
Anuken fbf614a8df Removed html module 2018-10-30 19:15:12 -04:00
Anuken c02329e4b1 Integrated thread implementation / Crash fix 2018-10-30 12:58:25 -04:00
Anuken 5aba065413 Bugfixes 2018-10-30 09:24:43 -04:00
Anuken 6e65096bb4 Improved power grid sprites / Bugfixes 2018-10-29 20:43:30 -04:00
Anuken b39f25ed51 Fixed build error 2018-10-29 16:02:09 -04:00
Anuken 3925d5ec27 Removed useless power modules methods 2018-10-29 15:41:13 -04:00
Anuken 381b59acd4 Fixed irregularly scaled maps causing various bugs 2018-10-29 10:03:41 -04:00
Anuken 5b01d923d3 Full error localization 2018-10-28 23:50:30 -04:00
Anuken 108e5a2f5e Non-blocking connect / Localized connect error messages 2018-10-28 23:47:28 -04:00
Anuken e21d17a482 Merge remote-tracking branch 'origin/master' 2018-10-28 22:29:29 -04:00
Anuken d4ea8c56c3 Added TileEntity.read/writeConfig() 2018-10-28 22:29:23 -04:00
Skybbles // L5474 783ad64353 Updated README (#284)
Proper formatting (md:h4)
Syntactic update, '.bat' no longer needs to come after 'gradlew' for Windows building
Server build instructions
2018-10-28 20:05:20 -04:00
Anuken ac918c1a81 Warning fix 2018-10-28 18:34:18 -04:00
Anuken 0f00074f77 Consistent yellow text 2018-10-28 18:22:14 -04:00
Anuken eb20ec1556 Removed useless content logging, > 2018-10-28 18:17:46 -04:00
Anuken 32f9da0724 Merge remote-tracking branch 'origin/master' 2018-10-28 18:04:15 -04:00
Anuken 968be8eb8f Fixed server run error 2018-10-28 18:04:07 -04:00
Skybbles // L5474 d7e05cde42 Added timestamps and output type labels (#283)
* Added timestamps and output type labels

* Corrected initial 'build version, client checking' warning, which is why warn exists in the first place.
2018-10-28 18:01:51 -04:00
Anuken 557b86a7a9 Comment fix 2018-10-28 16:31:57 -04:00
Anuken f144dda8b5 Fixed errors 2018-10-28 16:30:15 -04:00
Anuken 80aed31135 Broke and cleaned up server commands 2018-10-28 14:26:58 -04:00
Anuken 2a21e7c2cb Merge remote-tracking branch 'origin/master' 2018-10-28 00:31:32 -04:00
Anuken d281277797 Balancing, bugfixes 2018-10-28 00:31:28 -04:00
키에르 fb807bcde4 Update bundle_ko.properties (#278) 2018-10-27 21:26:32 -04:00
Anuken ebf6f6782f Merge remote-tracking branch 'origin/master' 2018-10-26 22:53:23 -04:00
Anuken 008df649f0 Configurable string charset 2018-10-26 22:53:19 -04:00
Anuken a810e704ad Renamed ""oil"" / Increased phase fabric boost 2018-10-26 16:06:47 -04:00
Anuken d0b3167956 Merge remote-tracking branch 'origin/master' 2018-10-26 15:30:58 -04:00
Anuken a726ecbdd8 Fixed invalid map state not being reset 2018-10-26 15:30:08 -04:00
MMG da6a8f806d Adds a few translations (#273) 2018-10-26 10:55:15 -04:00
키에르 b47f44cacd Add texts in font (#275)
* Add texts in font

* Update bundle_ko.properties

POEditor is break word spacing..
2018-10-26 10:54:42 -04:00
Anuken 0cc59adad7 Fixed crash / Made power nodes no longer link when adjacent 2018-10-26 09:54:55 -04:00
Anuken 6c076863db "silcion" 2018-10-26 00:11:58 -04:00
Anuken ddb6e74955 Fixed revenant never shooting 2018-10-26 00:09:09 -04:00
Anuken 2094bc3d80 Renamed phase matter to reduce conflicts / Item balancing 2018-10-26 00:00:25 -04:00
Anuken c922007d21 Removed unnecessary manual font specification 2018-10-25 23:22:37 -04:00
Anuken b1435c1264 Merge remote-tracking branch 'origin/master' 2018-10-25 23:21:31 -04:00
Anuken be5e1648e0 Removed font line height tweak 2018-10-25 23:21:27 -04:00
Anuken a270feb1eb Removed extra sector border 2018-10-25 23:08:19 -04:00
VizardAlpha 103b8cd13a Rename bundle_fr_be.properties to bundle_fr_BE.properties (#271)
Update Bundle
2018-10-25 12:16:04 -04:00
Anuken e6dd36283d Misc. bugfixes 2018-10-24 20:21:48 -04:00
Anuken aae2d0a5dc Broke sector dialog 2018-10-24 19:32:07 -04:00
Anuken fda1d4cc2b Merge remote-tracking branch 'origin/master' 2018-10-24 18:53:09 -04:00
Anuken 5be92460c1 Fixed crash 2018-10-24 18:53:05 -04:00
xgamezs 15ce31ea3a Adding a new string (#270)
* Update bundle_ru.properties (POEditor.com)

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_uk_UA.properties (POEditor.com)

* Update bundle_ru.properties (POEditor.com)

* Update bundle_uk_UA.properties (POEditor.com)

* Update bundle_zh_CN.properties (POEditor.com)

* Update bundle_zh_CN.properties (POEditor.com)

* Update bundle_zh_TW.properties (POEditor.com)

* Update bundle_fr.properties (POEditor.com)

* Create bundle_fr_be.properties

* Delete bundle_fr_be.properties

* Create bundle_fr_be.properties

* Update bundle_fr_be.properties (POEditor.com)

* Update bundle_de.properties (POEditor.com)

* Update bundle_in_ID.properties (POEditor.com)

* Update bundle_ita.properties (POEditor.com)

* Update bundle_ko.properties (POEditor.com)

* Update bundle_pl.properties (POEditor.com)

* Update bundle_pt_BR.properties (POEditor.com)

* Update bundle_es.properties (POEditor.com)

* Update bundle_tk.properties (POEditor.com)

* Create bundle_tr.properties

* Update bundle_tr.properties (POEditor.com)

* Update bundle.properties (POEditor.com)

* Update bundle_zh_CN.properties (POEditor.com)

* Update bundle_zh_TW.properties (POEditor.com)

* Update bundle.properties (POEditor.com)

* Update bundle_fr.properties (POEditor.com)

* Update bundle_fr_be.properties (POEditor.com)

* Update bundle_de.properties (POEditor.com)

* Update bundle_in_ID.properties (POEditor.com)

* Update bundle_ita.properties (POEditor.com)

* Update bundle_ko.properties (POEditor.com)

* Update bundle_pl.properties (POEditor.com)

* Update bundle_pt_BR.properties (POEditor.com)

* Update bundle_ru.properties (POEditor.com)

* Update bundle_es.properties (POEditor.com)

* Update bundle_tk.properties (POEditor.com)

* Update bundle_tr.properties (POEditor.com)

* Update bundle_uk_UA.properties (POEditor.com)

* Update bundle_zh_CN.properties (POEditor.com)

* Update bundle_zh_TW.properties (POEditor.com)

* Update bundle.properties (POEditor.com)

* Update bundle_fr.properties (POEditor.com)

* Update bundle_fr_be.properties (POEditor.com)

* Update bundle_de.properties (POEditor.com)

* Update bundle_in_ID.properties (POEditor.com)

* Update bundle_ita.properties (POEditor.com)

* Update bundle_ko.properties (POEditor.com)

* Update bundle_pl.properties (POEditor.com)

* Update bundle_pt_BR.properties (POEditor.com)

* Update bundle_ru.properties (POEditor.com)

* Update bundle_es.properties (POEditor.com)

* Update bundle_tk.properties (POEditor.com)

* Update bundle_tr.properties (POEditor.com)

* Update bundle_uk_UA.properties (POEditor.com)

* Update bundle_ru.properties (POEditor.com)

* Update bundle_ru.properties (POEditor.com)

* Update bundle_uk_UA.properties (POEditor.com)

* Update bundle.properties (POEditor.com)

* Update bundle_ru.properties (POEditor.com)

* Update bundle_uk_UA.properties (POEditor.com)

* Update bundle_uk_UA.properties

* Update bundle_ru.properties

* Update bundle.properties

* Update bundle_uk_UA.properties (POEditor.com)
2018-10-24 18:38:51 -04:00
Anuken 35e5a669a0 Fixed mobile mining/targeting conflict 2018-10-24 14:03:48 -04:00
Anuken 8b8c74cf93 Added filename entry (again) 2018-10-24 13:26:32 -04:00
xgamezs cc43524b4c Update and standardize translations (POEditor.com) (#258)
* Update bundle_ru.properties (POEditor.com)

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_uk_UA.properties (POEditor.com)

* Update bundle_ru.properties (POEditor.com)

* Update bundle_uk_UA.properties (POEditor.com)

* Update bundle_zh_CN.properties (POEditor.com)

* Update bundle_zh_CN.properties (POEditor.com)

* Update bundle_zh_TW.properties (POEditor.com)

* Update bundle_fr.properties (POEditor.com)

* Create bundle_fr_be.properties

* Delete bundle_fr_be.properties

* Create bundle_fr_be.properties

* Update bundle_fr_be.properties (POEditor.com)

* Update bundle_de.properties (POEditor.com)

* Update bundle_in_ID.properties (POEditor.com)

* Update bundle_ita.properties (POEditor.com)

* Update bundle_ko.properties (POEditor.com)

* Update bundle_pl.properties (POEditor.com)

* Update bundle_pt_BR.properties (POEditor.com)

* Update bundle_es.properties (POEditor.com)

* Update bundle_tk.properties (POEditor.com)

* Create bundle_tr.properties

* Update bundle_tr.properties (POEditor.com)

* Update bundle.properties (POEditor.com)

* Update bundle_zh_CN.properties (POEditor.com)

* Update bundle_zh_TW.properties (POEditor.com)

* Update bundle.properties (POEditor.com)

* Update bundle_fr.properties (POEditor.com)

* Update bundle_fr_be.properties (POEditor.com)

* Update bundle_de.properties (POEditor.com)

* Update bundle_in_ID.properties (POEditor.com)

* Update bundle_ita.properties (POEditor.com)

* Update bundle_ko.properties (POEditor.com)

* Update bundle_pl.properties (POEditor.com)

* Update bundle_pt_BR.properties (POEditor.com)

* Update bundle_ru.properties (POEditor.com)

* Update bundle_es.properties (POEditor.com)

* Update bundle_tk.properties (POEditor.com)

* Update bundle_tr.properties (POEditor.com)

* Update bundle_uk_UA.properties (POEditor.com)

* Update bundle_zh_CN.properties (POEditor.com)

* Update bundle_zh_TW.properties (POEditor.com)

* Update bundle.properties (POEditor.com)

* Update bundle_fr.properties (POEditor.com)

* Update bundle_fr_be.properties (POEditor.com)

* Update bundle_de.properties (POEditor.com)

* Update bundle_in_ID.properties (POEditor.com)

* Update bundle_ita.properties (POEditor.com)

* Update bundle_ko.properties (POEditor.com)

* Update bundle_pl.properties (POEditor.com)

* Update bundle_pt_BR.properties (POEditor.com)

* Update bundle_ru.properties (POEditor.com)

* Update bundle_es.properties (POEditor.com)

* Update bundle_tk.properties (POEditor.com)

* Update bundle_tr.properties (POEditor.com)

* Update bundle_uk_UA.properties (POEditor.com)

* Update bundle_ru.properties (POEditor.com)
2018-10-24 13:22:18 -04:00
Anuken f87d297155 Added filename entry 2018-10-24 13:09:42 -04:00
Anuken 605d50166a Made android module load only when SDK defined 2018-10-24 13:07:51 -04:00
Anuken de6681d00a Added special case for unit.none 2018-10-24 10:31:23 -04:00
Anuken 7632e33975 Merge remote-tracking branch 'origin/master' 2018-10-23 22:45:41 -04:00
Anuken 5993a596e8 Made bundle generator add spaces between = 2018-10-23 22:45:36 -04:00
키에르 2294b6babb Add more texts with Cyrillic (#262) 2018-10-23 09:23:19 -04:00
VizardAlpha c38f866363 Updates bundle_fr_be.properties (#260)
Replacing the new translations. Translation finish
2018-10-23 09:01:46 -04:00
CinExPL 511b112ac7 Update bundle_pl.properties (#257) 2018-10-23 09:01:04 -04:00
Anuken 8cd0618e85 Fixed crash 2018-10-23 08:41:52 -04:00
Anuken b4b589bfc2 Removed unnecessary synchronization 2018-10-22 22:48:15 -04:00
Baltazár Radics cb69eb7c0f Simplified power logic (#261)
* Simplified power logic

* Made the requested changes
2018-10-22 22:47:44 -04:00
Anuken 7d83cd89f2 Fixed breaking with multiblock being offseted 2018-10-22 22:21:22 -04:00
Anuken b2dca0a34f Merge branch 'optimizations' of https://github.com/Anuken/Mindustry 2018-10-21 21:50:14 -04:00
Anuken 3bd73961d7 Merged inventory saving/loading, item-based capacity 2018-10-21 21:46:12 -04:00
Anuken 67f574b5d8 Storage graph inventory sharing 2018-10-21 19:49:32 -04:00
Anuken f9b70a37aa Correct storage graphs 2018-10-21 17:20:08 -04:00
Anuken d4047e1413 Fixed crash 2018-10-21 17:03:51 -04:00
Anuken 80f5b4c3b7 Crashy storage graph implementation 2018-10-21 17:02:37 -04:00
Anuken 4668a6d8c0 Implemented sector state network sync 2018-10-20 18:41:05 -04:00
Anuken e6f076306f Merge branch 'rework-sectors' of https://github.com/Anuken/Mindustry 2018-10-20 17:36:56 -04:00
Anuken b73dc127a3 Fixed enemy base generation 2018-10-20 17:36:07 -04:00
Anuken 8c8a2311d6 Fixed sector clear not resetting 0,0 2018-10-20 16:04:13 -04:00
Anuken 0555fb22ca Fixed pump crash 2018-10-20 14:09:00 -04:00
Anuken 85cde62039 Fixed phase weaver blink / Fixed item image offset (again) 2018-10-20 13:53:25 -04:00
Anuken 46a2648d15 Merge branch 'master' of https://github.com/Anuken/Mindustry into rework-sectors 2018-10-20 13:50:30 -04:00
Anuken e55f6ecd6b Fixes to power system 2018-10-20 13:49:58 -04:00
Anuken c71fee3fed Merge branch 'master' of https://github.com/Anuken/Mindustry into rework-sectors 2018-10-20 13:21:05 -04:00
Anuken 4d6c25c9d3 Fixed flying units blocking construction 2018-10-20 13:20:35 -04:00
Anuken 6ed4e2d946 Improved random recipe selection 2018-10-20 13:19:47 -04:00
Anuken 6b4242478f Merge branch 'master' of https://github.com/Anuken/Mindustry into rework-sectors 2018-10-20 11:52:02 -04:00
Anuken ef5478279b Fixed 2 crashes 2018-10-20 11:48:59 -04:00
Anuken 62bb8bce1c Added missing imports 2018-10-20 11:44:19 -04:00
Anuken 83a5c3af8a Updated uCore with new threading changes 2018-10-20 11:41:10 -04:00
Anuken f78abd61d4 Merge remote-tracking branch 'origin/master' 2018-10-20 11:39:05 -04:00
Anuken 209c6fa1c1 Merged in better multithreading 2018-10-20 11:39:00 -04:00
Anuken 6e3c600a49 Crash fix 2018-10-20 11:36:05 -04:00
Anuken b1cda57174 Massively improved thread safety 2018-10-20 11:25:58 -04:00
키에르 412d92e782 Update bundle_ko.properties (#255) 2018-10-20 09:33:43 -04:00
Niko c0703a6a5e Add german translations (#256)
* Replace some English Text with german translations in bundle_de

* Replace some English Text with german translations in bundle_de, renamed map to karte

* Replace some English Text about Units and Fluids with german translations in bundle_de

* Replace some English Text with german translations in bundle_de, renamed map to karte

* Replace some mech and drone definitions with german translations in bundle_de

* Replace almost all definitions with german translations in bundle_de

* Merge branch 'master' into add_german_translations

# Conflicts:
#	core/assets/bundles/bundle_de.properties

* fix some typos in bundle_de
2018-10-20 09:33:35 -04:00
Anuken 64bd306c6d Fixed crash 2018-10-20 09:02:29 -04:00
Anuken 6be49f898c Removed onFirstBegin() 2018-10-19 23:20:04 -04:00
Anuken 59bc73656f Save file refactor / Changed sector size 2018-10-19 22:46:53 -04:00
Anuken bed22f51b4 Updated sector unlocking 2018-10-19 16:23:01 -04:00
Anuken c1362a02f3 Removed all references to size 2018-10-19 13:48:08 -04:00
Anuken 859a3cbe6e Fixed Java 10-related crash 2018-10-19 12:58:53 -04:00
Anuken a6d82f44b3 Initial (broken) commit 2018-10-19 12:57:24 -04:00
키에르 e66e17a41a Fix font height (#253) 2018-10-19 10:01:09 -04:00
Anuken cfa6d7080c Fixed font 2018-10-19 09:56:50 -04:00
Anuken 01ceedccd5 Updated bundles / Decreased water extractor power usage 2018-10-19 09:32:23 -04:00
Anuken ed28af7c73 Changed 'max power' to 'base power', re-scaled display stats of fuel 2018-10-19 09:31:33 -04:00
Anuken 74cf91f99e Fixed increased router storage / Fixed instant building after reload 2018-10-19 08:47:19 -04:00
Anuken 44479930df Fixed mobile mechs configuration / Block selection / Crash 2018-10-19 08:30:37 -04:00
Anuken cb1f54aac4 Removed wiki link 2018-10-18 23:00:18 -04:00
Anuken d68d2e9f30 Moved paused text details into bundle 2018-10-18 22:33:11 -04:00
Anuken 948c48ea23 Merge remote-tracking branch 'origin/master' 2018-10-18 21:57:19 -04:00
Anuken a9ccf6ca42 Updated travis config / Fixed flying mech land effect 2018-10-18 21:57:13 -04:00
Baramos666 fd7b829e70 Update bundle_fr.properties (#249) 2018-10-18 21:56:44 -04:00
LQ 87a7cc6289 add liquid out speed display (#250) 2018-10-18 21:56:35 -04:00
VizardAlpha 2f8b5e53bb Updates bundle_fr_be.properties (#251)
Recast of the French translation (Belgium)
2018-10-18 21:56:09 -04:00
Prosta4okua 8b7fa3b646 [WIP]Update bundle_ru.properties (#243)
* Update bundle_ru.properties

* Update bundle_ru.properties
2018-10-18 21:56:00 -04:00
Anuken dd2c71fe61 Removed sandbox from shuffle list / duplicate maps / mobile mech pickup 2018-10-18 18:20:07 -04:00
Anuken 3b58d57e5c Fixed unlocks not clearing / Fixed map editor not updating 2018-10-18 16:58:57 -04:00
Anuken cecf32e52e Fixed RTG generator not using items 2018-10-18 16:33:39 -04:00
Anuken 91a2dfab36 Fixed build block repair / Sectors in random maps / Editor unlocks 2018-10-18 16:31:15 -04:00
Anuken 5e5838a8c1 let me make this PAINFULLY CLEAR 2018-10-18 16:04:40 -04:00
Skybbles // L5474 0fffbc06dd Spelling correction (#252)
*maybe you mean CLI board.*
2018-10-18 14:35:33 -04:00
Anuken 4d360bfb73 Bugfixes 2018-10-18 09:19:29 -04:00
Anuken e3001b614e Fixed pathfinding through liquids / Switched overlay render layer 2018-10-18 00:02:12 -04:00
Anuken 6ecdef02ab Block break visual cleanup 2018-10-17 22:10:56 -04:00
Anuken 36903eb749 Fixed mission onBegin() being called many times 2018-10-17 17:35:33 -04:00
Anuken f530c9514f Changed placement controls / Fixed complete sectors not resetting 2018-10-17 17:28:24 -04:00
Anuken fdffa77bc5 Fixed mobile targeting / Removed 'transfer speed' / Buffed large nodes 2018-10-17 17:09:26 -04:00
Anuken 245dd39a60 Potentially fixed targeting issues 2018-10-17 14:01:18 -04:00
Anuken 4614aacc02 Fixed chat not clearing 2018-10-17 13:54:34 -04:00
Anuken 64ccdab90c Removed extra trace info (for now) 2018-10-17 13:41:25 -04:00
Anuken 02286b0c4e Fixed player build indicators, power void 2018-10-17 10:31:59 -04:00
Anuken 8e952a550b Fixed: map mirror / crashes / mech pads / player list / mobile placement 2018-10-17 10:20:58 -04:00
Anuken a29f95194d Various fixes / Placement visual improvements 2018-10-17 00:36:43 -04:00
Anuken 0e5db49b93 Fixed missing blocks causing invalid map data error 2018-10-16 20:03:35 -04:00
Anuken a2c29c0937 Removed tutorial ore post-generation / Updated uCore 2018-10-16 19:31:06 -04:00
Anuken c318f05cfd Minor lightning visual change / Hid PvP mode on web 2018-10-16 17:46:44 -04:00
Anuken 789d200c24 Fixed typo in tutorial missions 2018-10-16 16:58:18 -04:00
Anuken 2dc4a9e044 Fixed abandoning sector not updating texture 2018-10-16 16:35:43 -04:00
Anuken 82577b91d5 2-column sector button layout 2018-10-16 13:10:06 -04:00
Anuken 8fd08a1574 Fixed infinite graph traversal for power blocks 2018-10-16 11:52:17 -04:00
LQ 7a41fc8ec8 update pad mission (#247)
add MechMission as same as the UpgradeBlocks type
2018-10-16 09:08:53 -04:00
Anuken 798ca929d6 Improved sector mission display 2018-10-15 23:20:47 -03:00
Anuken 7e4e58fb78 Updated android build tools version 2018-10-15 16:31:01 -04:00
Anuken 28b9975c75 Merge remote-tracking branch 'origin/master' 2018-10-15 16:20:44 -04:00
Anuken 5536ade389 Updated gradle to 4.10.2 2018-10-15 16:20:26 -04:00
LQ 21bc195213 make sure new sector include target sector (#244)
if shiftx, shifty calc from total width,height, the result sector did not include the target sector
2018-10-15 10:17:52 -04:00
Anuken b6beacf053 Input cleanup 2018-10-15 02:05:25 -03:00
Anuken 94b6c133f4 Various resprites 2018-10-14 18:39:24 -04:00
Anuken 949d7bed89 Fixed item images having incorrect underlines 2018-10-14 16:05:39 -04:00
Anuken 81ce12a38c Added random PvP/Waves map generation 2018-10-14 13:24:32 -04:00
Anuken eba65b2934 Fixed units pathfinding to nonexistent cores 2018-10-14 11:57:37 -04:00
Anuken c7f5b7fca1 Minified gamemode table 2018-10-14 10:41:17 -04:00
Anuken f670d522bf PvP merge 2018-10-14 10:01:50 -04:00
Anuken a02f7f46c3 Merge remote-tracking branch 'origin/master' 2018-10-14 09:57:31 -04:00
Anuken 4b7f254e17 Added 2x2 container storage block 2018-10-14 09:57:28 -04:00
Anuken 9b42be560d Fixed bugs with team assignment 2018-10-14 09:41:19 -04:00
VizardAlpha 31b39231a2 Updates bundle_fr_be.properties (#242) 2018-10-13 23:32:08 -04:00
Anuken 4eb2c1f646 PvP autohost 2018-10-13 23:30:05 -04:00
Anuken 5f89d8588d Added 'abandon sector' button 2018-10-13 23:07:57 -04:00
Anuken 404cbf9b4a Removed menu setting 2018-10-13 22:52:58 -04:00
Anuken 0aabc09b82 Made game-overs remote events 2018-10-13 21:58:17 -04:00
Anuken a5ebeadd95 Merge remote-tracking branch 'origin/master' 2018-10-13 17:48:04 -04:00
Anuken 9e188aaf03 Fixed place area being deselected near map edges 2018-10-13 17:47:58 -04:00
Anuken 870f5caca9 PvP game over condition 2018-10-13 17:33:23 -04:00
Anuken 28b4ddfc72 PvP game over condition and message 2018-10-13 17:31:38 -04:00
Prosta4okua 13a4a26e97 Update bundle_ru.properties (#241) 2018-10-13 17:29:09 -04:00
Anuken 81c7e63994 Added 'waiting for players' message 2018-10-13 16:03:21 -04:00
Gureumi 7f234ab5bc Fix font (#240) 2018-10-13 15:53:42 -04:00
Anuken f8d0682810 Added warnings for missing enemy cores 2018-10-13 15:49:18 -04:00
Anuken 175d6b1fc5 Improved difficulty balance 2018-10-13 12:39:07 -04:00
Anuken 1cd8e8a097 Improved server discovery 2018-10-13 12:21:11 -04:00
Anuken ed95e38257 Fixed breakable cores / Fixed sector sandbox / Fixed ship warp speed 2018-10-13 11:33:49 -04:00
Anuken cab585225d Removed unused 'pad' recipe modifier 2018-10-13 10:54:05 -04:00
Anuken 3688dde5e5 Merged mobile mechs 2018-10-13 10:52:48 -04:00
Anuken ae6a5b2512 Made PvP a selectable mode 2018-10-13 10:50:22 -04:00
LQ 6f87611d67 keep the saved width and height of sector (#236)
* keep the saved width and height of sector

width,height changed after expandSector mission, It will reset to original value in initSector()

* keep x,y of sector

sector X and Y may be shifted after loading as well.
2018-10-13 10:44:07 -04:00
Anuken 6a5e31c908 Crash fix 2018-10-13 09:43:31 -04:00
Anuken 8bda5e16cd Merge remote-tracking branch 'origin/master'
# Conflicts:
#	core/assets/bundles/bundle_fr.properties
2018-10-13 08:59:15 -04:00
Anuken d70d3d95f0 Bundles updated 2018-10-13 08:58:41 -04:00
Baramos666 554b7d2ec4 Update bundle_fr.properties (#239) 2018-10-13 08:58:04 -04:00
LQ ebc4031922 set charset (#238)
default file charset is not utf8 when run from win10
2018-10-13 08:57:31 -04:00
Anuken c526997aba Fixed coal in core / Fixed build events not triggering 2018-10-13 08:49:54 -04:00
Anuken c0e3a1f3ef Fixed minor TPS display / block breakage bugs 2018-10-12 22:41:48 -04:00
Anuken 7dc0a7a5c3 Sector generation fix 2018-10-12 17:01:20 -04:00
Anuken 2943b6ed04 Fixed HUD errors 2018-10-12 12:40:30 -04:00
Anuken 5feb212df7 Merge remote-tracking branch 'origin/master' 2018-10-12 09:57:48 -04:00
Anuken 327edcd347 Fixed map crash 2018-10-12 09:57:44 -04:00
LQ 94cbf4cddf fix displayString for CommandMission (#235) 2018-10-12 09:48:39 -04:00
Anuken 08cc87affb nothing again 2018-10-11 23:14:59 -04:00
Baramos666 18020d64cc Update bundle_fr.properties (#234) 2018-10-11 22:58:05 -04:00
Anuken 48b7ceac06 Small rendering fix 2018-10-11 18:46:45 -04:00
Anuken dbcce9663c Improved base generation 2018-10-11 12:18:23 -04:00
Anuken 6ee7dd56fe Fixed wave spawn crash 2018-10-11 10:01:59 -04:00
Anuken 22328772ca "Fixed" some bugs 2018-10-11 10:01:19 -04:00
Anuken 99418e6b88 Mass driver power fix 2018-10-10 23:51:48 -04:00
Anuken 52bd079c0a Multithreading cleanup 2018-10-10 23:43:48 -04:00
Anuken 67db5e9dfc Nothing 2018-10-10 17:34:36 -04:00
Anuken 5f1bc6c6c2 Custom spawn locations 2018-10-10 13:02:00 -04:00
Anuken 05201d7012 Physics, pathfinding improvements 2018-10-10 11:29:34 -04:00
Anuken 6b4983537e Fixed puddles not appearing / Oil extractors not working 2018-10-10 08:57:07 -04:00
Anuken 87c8293c78 Various bugfixes 2018-10-10 08:39:25 -04:00
Anuken 54488564f3 Added sector complete event / Patched up server sector completion 2018-10-09 23:24:27 -04:00
Anuken f2ac9ed385 Disabled core recipe 2018-10-09 23:10:04 -04:00
Anuken 38f2f1e30a Added legacy map importer 2018-10-09 22:52:28 -04:00
Anuken 02004011ec Update order swap 2018-10-09 20:50:49 -04:00
Anuken 60bb982450 Updated uCore 2018-10-09 20:13:31 -04:00
Anuken 67389c0bac Arc balancing 2018-10-09 19:52:36 -04:00
Anuken faa1fee1c0 New lightning mechanics 2018-10-09 19:49:46 -04:00
Anuken 0bae421fbc it begins 2018-10-09 18:26:40 -04:00
Anuken b29d81bf0f Improved lightning effects 2018-10-09 14:02:25 -04:00
Anuken 4792828da1 Missions now displayed as number / Improved mission gen 2018-10-09 09:22:06 -04:00
Anuken 6171e887a8 Sector growth 2018-10-08 23:56:47 -03:00
Anuken f28fa93f40 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	core/src/io/anuke/mindustry/core/Renderer.java
2018-10-08 19:55:51 -04:00
Anuken 940ad84493 Random sector sizes / Cleanup 2018-10-08 19:55:10 -04:00
Anuken 0b168376ed Fixed build errors 2018-10-08 17:02:16 -04:00
Anuken f7bd376499 More public modules 2018-10-08 16:09:31 -04:00
VizardAlpha 9566155bdb Created bundle_fr_be.properties (#233)
For Belgian player
2018-10-08 14:14:16 -04:00
Anuken 9994ddb31b Implemented public submodules 2018-10-08 09:41:01 -04:00
Anuken fadfdaa673 Fixed missing ores 2018-10-08 09:31:47 -04:00
Anuken 4ca546f44a Test cleanup / Artillery fixes 2018-10-07 23:22:54 -04:00
Anuken 8af30c9256 Updated travis Android components 2018-10-07 19:31:19 -03:00
Anuken 42adc38720 Merge remote-tracking branch 'origin/master' 2018-10-07 19:22:18 -03:00
Anuken c1d9dee46c Added content mission / Working implementation of preset sectors 2018-10-07 19:21:53 -03:00
Anuken 69a7104286 Updated Android tool versions 2018-10-07 11:14:54 -04:00
Anuken aba5afe32c Updated uCore 2018-10-06 22:54:00 -04:00
Anuken c1ccf4fceb Fixed sector pref clearing 2018-10-06 22:53:12 -04:00
Anuken 916a4cfc73 Added dialog for graphics startup errors 2018-10-06 17:23:43 -04:00
Anuken fd107ab5b8 Code cleanup 2018-10-06 11:56:39 -04:00
Anuken 5fa6fccf7b Automatic boost 2018-10-05 23:10:04 -04:00
Anuken 0ce226d0c9 Fixed crash 2018-10-05 23:04:34 -04:00
Anuken 14e0b471d3 Mobile mechs implemented 2018-10-05 22:58:46 -04:00
Anuken ed0df64cf9 Fixed compile errors / Refactored sector presets 2018-10-05 22:16:40 -04:00
Anuken 35bc2c9803 Sector preset class / New missions 2018-10-05 16:36:50 -04:00
Anuken a771dc8787 Sector tint / Sector preset system 2018-10-04 20:59:58 -04:00
Anuken 244eb91dfb Added new test 2018-10-04 17:59:16 -04:00
Anuken 7488a6d42b Usage of ExtendedPreferences 2018-10-04 12:19:05 -04:00
Anuken 696a59f1b9 Updated revenant factory sprite 2018-10-04 09:31:52 -04:00
Anuken ee5a3269f2 Failure confirmed working 2018-10-03 21:17:36 -04:00
Anuken f89bf027f7 Testing test failure 2018-10-03 21:12:27 -04:00
Anuken 4db432b0a9 Updated travis with tests 2018-10-03 21:00:37 -04:00
Anuken c82fd9ead5 Added unit tests 2018-10-03 20:58:35 -04:00
Anuken 34715b1e06 Fixed compile errors 2018-10-03 17:17:12 -04:00
Anuken f0870b3236 Created test module 2018-10-03 15:53:33 -04:00
Anuken 9a286800d6 Ammo type for revenants 2018-10-03 13:44:18 -04:00
Anuken 59832b1777 Added revenant factory sprites 2018-10-03 10:26:37 -04:00
Anuken 561f566506 Merge branch 'circle-physics' of https://github.com/Anuken/Mindustry
# Conflicts:
#	core/src/io/anuke/mindustry/content/UnitTypes.java
2018-10-02 23:35:56 -04:00
Anuken f0cacf6bd5 Final physics edit, ready to merge 2018-10-02 23:33:43 -04:00
Anuken ce4031af74 Additional bugfixes 2018-10-02 21:44:32 -04:00
Anuken dd7f91b8c2 Fixed many various physics bugs 2018-10-02 20:45:28 -04:00
Anuken 8523e5bf6b Rectangles 2018-10-02 18:47:23 -04:00
Anuken 860727d27a Revenant laser 2018-10-02 12:49:27 -04:00
Anuken f175bf2c82 circles were a mistake 2018-10-01 22:49:53 -04:00
Anuken 40008f44ac Circle collision initial commit 2018-10-01 13:28:35 -04:00
Anuken 3f93b5c63b Revenant stat changes 2018-10-01 12:45:24 -04:00
Anuken d2ce051c4a Implemented Fortress unit / Made artillery ignore air 2018-10-01 09:51:12 -04:00
Anuken d5d90bde9a Removed mech ability key 2018-09-30 19:22:19 -04:00
Anuken fc8d9febf6 Mass driver fixes 2018-09-29 22:53:24 -04:00
Anuken b43c542213 Auto-target configuration 2018-09-29 20:49:19 -04:00
Anuken e7533232c0 Fixed custom game waves / Fixed Windows appdata being incorrect 2018-09-29 14:25:29 -11:00
Anuken 5e1aaf11a7 Fixed copper/water not getting unlocked immediately 2018-09-29 10:31:17 -11:00
Anuken d062dffc13 Cleanup / Fixed unlock system in custom games 2018-09-29 02:50:21 -07:00
Anuken 4810bbbbd9 Fixed loading / Freebuild unlocks 2018-09-28 14:23:56 -04:00
Anuken 967998273f Partially implemented specific unlock databases 2018-09-28 14:17:44 -04:00
Jae 24decf8abc Update bundle_zh_CN.properties (#230)
* Added translations

* Update bundle_fr.properties

* Update bundle_fr.properties

* Added zh_CN translations

* Update bundle_zh_CN.properties

* Update bundle_zh_CN.properties
2018-09-27 17:46:17 -04:00
Anuken 3bc605894e Fixed android text input truncating text 2018-09-27 17:44:47 -04:00
Anuken b74ae302ec Ground unit retreat attacking / Patrol attacking 2018-09-27 17:40:08 -04:00
DinoWattz db3dac261a Update bundle_pt_BR.properties (#231)
Fixed some words and translated some words
2018-09-27 13:09:09 -04:00
Anuken 87b47b3042 Even less wall hugging 2018-09-26 18:15:16 -04:00
Jae 720e1a038e French translations added (#228)
* Added translations

* Update bundle_fr.properties

* Update bundle_fr.properties
2018-09-26 13:42:20 -04:00
Baramos666 1753c54e88 Update bundle_fr.properties (#229) 2018-09-26 13:28:18 -04:00
Anuken 2d42de83de Slightly less wall hugging 2018-09-26 13:22:30 -04:00
Anuken c4e6af455d Wall-hugging ground patrol / Core storage changed to set 2018-09-26 10:23:06 -04:00
Anuken 51d619449b Added discord badge to README 2018-09-25 23:31:45 -04:00
Anuken 1160a14f56 Fixed web errors / Fixed IPv4 crash 2018-09-25 23:27:19 -04:00
Anuken 57fce0ddbc Flying unit patrol 2018-09-25 19:44:10 -04:00
Anuken b9eb8a750b Removed useless hitbox rects 2018-09-25 17:37:01 -04:00
Anuken 3ce16e0ed1 Changed annotations retention / Mobile block bugfix 2018-09-25 17:18:50 -04:00
Anuken 554d9b4047 Updated bundles 2018-09-25 16:41:18 -04:00
Prosta4okua 02d565ce58 [COMPLETE]Rare update bundle_ru.properties (#223)
* Update bundle_ru.properties

Added the same thing as in bundle.properties. Also added 9 descriptions. Because of this PL, a PL from xga is old.

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties
2018-09-25 16:39:52 -04:00
Anuken 795bc1276b Cleanup 2018-09-25 12:45:04 -04:00
Anuken 499b7b2e67 Crash fix 2018-09-25 08:41:40 -04:00
Anuken b6c0fe8bf7 Build fix / Improved map contour 2018-09-24 23:12:13 -04:00
Anuken d5bb1b72b9 Merge branch 'continuous-sectors' of https://github.com/Anuken/Mindustry
# Conflicts:
#	core/assets/bundles/bundle.properties
2018-09-24 22:57:49 -04:00
Anuken af86564adc Final tutorial fixes 2018-09-24 22:56:48 -04:00
Anuken 5354e02b6f Finally a somewhat functional tutorial / Many bugfixes 2018-09-24 20:24:51 -04:00
Prosta4okua 4ee17a656f Update bundle.properties (#226) 2018-09-24 14:14:23 -04:00
Anuken 32c59b66f6 Changed tutorial ore gen 2018-09-24 10:19:27 -04:00
Anuken 20732f04ff Block position starting missions 2018-09-23 23:45:35 -04:00
Anuken 06763b34c3 Bugfixes / Better topological map 2018-09-23 18:41:08 -04:00
Anuken 6bab6c57f2 Fixed waves not appearing / Fixed ore tile blending 2018-09-23 12:45:22 -04:00
Anuken 4eab89d73e Per-sector ore gen 2018-09-23 10:10:05 -04:00
Anuken 8d20c46228 Basic tutorial text 2018-09-22 16:41:55 -04:00
Anuken f5c4586bb7 Merge remote-tracking branch 'origin/master' 2018-09-22 12:29:30 -04:00
Anuken bc6bbdbbe0 Fixed not being able to move units on conveyors 2018-09-22 12:29:27 -04:00
Anuken b77caed0ba Added sample tutorial text / Refactoring 2018-09-22 12:20:04 -04:00
Baramos666 df976f1212 Update bundle_fr.properties (#225) 2018-09-22 11:17:07 -04:00
Anuken 999dd5eb6f Better mission display / Improved tutorial item amounts 2018-09-21 23:29:17 -04:00
Anuken a1a6a3ab81 Tutorial sector prototype / New mission display 2018-09-21 23:14:26 -04:00
Anuken d067bbfa65 New mission classes 2018-09-21 19:36:19 -04:00
Anuken 3bd40eeb27 Merge remote-tracking branch 'origin/continuous-sectors' into continuous-sectors
# Conflicts:
#	core/src/io/anuke/mindustry/maps/Sectors.java
2018-09-21 16:33:00 -04:00
Anuken b124d54055 Merge 2018-09-21 16:32:38 -04:00
Anuken 90691de457 Fog persistence in sector expansion 2018-09-21 16:11:40 -04:00
Anuken bee83a3a3e Sector expansion functional 2018-09-21 14:01:00 -04:00
Anuken fd8f2438fa New world generation methods 2018-09-21 13:50:39 -04:00
Anuken 7937d99a73 Fixed buggy mobile zoom 2018-09-21 09:02:25 -04:00
Anuken 569afb5535 expandSector implementation 2018-09-21 08:49:35 -04:00
Anuken fc5a45e113 Merge remote-tracking branch 'origin/continuous-sectors' into continuous-sectors 2018-09-21 08:47:41 -04:00
Anuken 950f4a9f1a Added expandSector method 2018-09-21 08:47:37 -04:00
Anuken 6a6e80b6d8 Fixed multiblock erase bug 2018-09-20 18:25:55 -04:00
Anuken 083c9792a6 Fixes to conveyor transmission visuals 2018-09-20 18:22:29 -04:00
Anuken 893bfce767 Incorrect conveyor movement transitions 2018-09-20 17:14:03 -04:00
Anuken f61f3df732 Build fix 2018-09-20 12:32:12 -04:00
Anuken a3be5e332e Fill.polyTri replaced 2018-09-20 12:31:53 -04:00
Anuken 33d65a8593 Fixed unit drop crash 2018-09-20 11:18:57 -04:00
Anuken ebbf01c6e5 Synchronization 2018-09-20 09:29:16 -04:00
Anuken acb8496352 Fixed node connection bug 2018-09-20 09:24:31 -04:00
Anuken ecad5772d2 Fixed power debug blocks not working / Moved debug recipes 2018-09-20 08:47:58 -04:00
Anuken 6e6f5714dd Merge remote-tracking branch 'origin/master' 2018-09-20 08:34:07 -04:00
Anuken 50ae15aa4f Power crash fix 2018-09-20 08:33:57 -04:00
iczero 4e2c3049a0 Don't add unit drops to core if the core is full (#222) 2018-09-19 22:47:32 -04:00
Anuken 3a785c166e Removed NodeEntity 2018-09-19 22:39:43 -04:00
Anuken 5248a4eb9c Name refactor / Fixed crash / Power transfer fix 2018-09-19 22:17:58 -04:00
Anuken c9a53aed7b Fixed crash, transmission bug 2018-09-19 17:36:58 -04:00
Anuken bafe5dc784 Fixed block break crash 2018-09-19 12:41:33 -04:00
Anuken 5325488099 Changed enum to two booleans 2018-09-19 10:32:06 -04:00
Anuken 737ad5c8b7 Implemented node linking, graph reflow 2018-09-19 10:26:27 -04:00
Anuken 17cea4e274 Added PowerType enum 2018-09-19 10:07:33 -04:00
Anuken af5b579a2f Power graph loading / merging 2018-09-19 09:41:30 -04:00
Anuken c87eaaa928 Graph removal 2018-09-18 20:48:48 -04:00
Anuken 33418397f8 Power graph removal 2018-09-18 17:04:43 -04:00
Anuken 8c7258e839 Merge 2018-09-18 17:04:24 -04:00
Anuken 98fff9b81d Sector width/height 2018-09-18 11:54:08 -04:00
Anuken 0c63b27eea Removed old korean font / Fixed targeting going through UI 2018-09-18 09:17:50 -04:00
Anuken 0968981aef Removed unused graph classes 2018-09-17 21:43:19 -04:00
Anuken 8db4abdf43 Comment removed 2018-09-17 10:13:15 -04:00
Anuken 9aa4219bf0 Fixed core deconstruction crash 2018-09-17 09:57:58 -04:00
Anuken 6c32ab4711 Fixed visual glitch 2018-09-17 09:09:48 -04:00
Anuken a80c5a1efa Fixed artillery bullet not respecting range properly 2018-09-16 22:30:06 -04:00
Anuken 4ba46bff69 Smoother map preview 2018-09-16 22:28:42 -04:00
Anuken 6a7c97277f Fixed meltdown not setting blocks on fire 2018-09-16 22:13:44 -04:00
Anuken cc70ff9732 Branch created 2018-09-16 22:05:29 -04:00
Anuken 2d25948c57 Revenant factory definition / Crash fix 2018-09-16 21:57:37 -04:00
Anuken 8946af4831 Mass renaming of blocks and units 2018-09-16 19:48:15 -04:00
Anuken 5e7ca0374c Direct core item drops 2018-09-16 14:39:30 -04:00
Anuken 21f8e89ba4 ItemDrop class removed 2018-09-16 14:29:08 -04:00
Anuken f0aca90de2 Bundle update 2018-09-16 14:19:56 -04:00
Anuken 097228066a Revenant sprite / Training mode / Mine transfer range / Drone heal buff 2018-09-16 14:05:43 -04:00
Anuken 7d8782f3dc Crash fix 2018-09-15 22:06:24 -04:00
Anuken e4ea9d561e Lightning shield absorption 2018-09-15 16:37:28 -04:00
Anuken e284d9de8e Balancing / Fixed editor/map bugs 2018-09-15 11:10:07 -04:00
Anuken df6382a1ca Balancing 2018-09-14 15:16:25 -04:00
Anuken c1c1a3318c Meltdown 2018-09-14 12:59:52 -04:00
Anuken 796df1cec5 Merge remote-tracking branch 'origin/master' 2018-09-14 10:53:27 -04:00
Anuken 28980293c5 Corrected spectre/meltdown recipes 2018-09-14 10:53:12 -04:00
Anuken d878ad2e7e Meltdown prototype 2018-09-14 10:29:34 -04:00
Anuken 1290d1e9d4 Balancing / Wall renaming 2018-09-13 23:04:43 -04:00
Anuken f229f1e9fe Added LaserTurret class / Updated bundles 2018-09-13 22:33:03 -04:00
Anuken 0776951018 Improved turret accuracy 2018-09-13 16:53:05 -04:00
Anuken 6d47b449b9 Spectre improvements 2018-09-13 14:43:52 -04:00
Anuken 594c975c70 Spectre WIP 2018-09-13 09:33:09 -04:00
Anuken bf57318307 Compile error fix / Additional power transfer implementation 2018-09-13 08:32:55 -04:00
Anuken abd87793e4 Power graph initial commit 2018-09-12 18:35:29 -04:00
Anuken 7b4e6128ce Server build fix 2018-09-12 11:01:20 -04:00
Anuken 2ae65acc28 Wave unit pads 2018-09-12 10:28:45 -04:00
Anuken 2ee87ad078 Crash fix 2018-09-12 10:18:45 -04:00
Anuken d65beea179 Removed debug menu / Crash fix / Ship speed warp fix / String locale fix 2018-09-12 10:07:10 -04:00
Anuken b19f3ff8cf Removed core bullet shield / Drill ore-count 2018-09-11 22:24:14 -04:00
Anuken 75fae9454d Fixed core crash / Fixed error texture on shoot 2018-09-11 18:12:11 -04:00
Anuken 5d309c39cf Added core recipe, made core destructible 2018-09-11 17:09:42 -04:00
Anuken 649fc5a0e6 Bundles updated 2018-09-11 16:34:31 -04:00
Anuken 67cfa5d42f Made blocks no longer unlock in custom games 2018-09-11 16:27:45 -04:00
Anuken 5dcacdeea1 Merge remote-tracking branch 'origin/master' 2018-09-11 09:22:59 -04:00
Anuken 2f7073bbe4 Removed NetEvents class / Added unused patrol command 2018-09-11 09:22:54 -04:00
Prosta4okua e8df6ed3be Nice Update bundle_uk_UA.properties. :) (#220)
* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties
2018-09-11 09:22:16 -04:00
Anuken d9eb4c1296 Server build fix / Debug hook 2018-09-10 19:33:12 -04:00
Anuken 4af0fbf553 Removed debug mode / Added source blocks to sandbox 2018-09-10 17:46:32 -04:00
Anuken 2da0862cb2 Fill.polyTri replaced 2018-09-10 13:14:43 -04:00
Anuken 66fcf84688 Removed Fill.poly() references 2018-09-10 10:59:27 -04:00
Anuken 5740d40d57 Merge remote-tracking branch 'origin/master' 2018-09-09 21:52:54 -04:00
Anuken 6ef2256bf2 Removed all reflection 2018-09-09 21:44:10 -04:00
Anuken 65f911909b Pools replace with Pooling / Removed all core reflection 2018-09-09 17:44:10 -04:00
Anuken 2cb6e454c8 Auto-generated serialization code 2018-09-09 16:19:53 -04:00
iczero abfaa47db2 Add version type/number/modifier to crash reports (#221) 2018-09-09 14:38:29 -04:00
Prosta4okua e06970eebb Create strings.xml (#217) 2018-09-09 11:30:26 -04:00
Anuken dadc83800b Merge remote-tracking branch 'origin/master' 2018-09-09 11:27:06 -04:00
Anuken 62f2c67321 Fixed some multithreading bugs / No more drift 2018-09-09 11:26:15 -04:00
Anuken 1651844b4f Crash fix 2018-09-09 10:09:00 -04:00
xgamezs fb9f42ff93 Update bundle_uk_UA.properties (#219) 2018-09-08 23:02:49 -04:00
Anuken 9c29b982dd absolutely incredible performance improvements 2018-09-08 23:00:17 -04:00
Anuken f52c4964b3 Changed arc recipe 2018-09-08 20:59:39 -04:00
Anuken 46a8edb781 LZ4 compression 2018-09-08 17:07:25 -04:00
Anuken 8dbdbe6d6c Removed delta compression / Removed client snapshot packet 2018-09-08 16:29:09 -04:00
Anuken 778069c15d New artillery turret bullet patterns 2018-09-08 13:43:25 -04:00
Anuken e98457c540 Fixed server build error 2018-09-08 11:57:57 -04:00
Anuken 7a3a76065c Added RTG generator 2018-09-08 11:48:27 -04:00
Anuken c73c97dc7b Added arc turret 2018-09-08 11:35:29 -04:00
Anuken 1b0dd279ae Phase matter shield boost 2018-09-08 09:38:22 -04:00
Anuken 7dd487ccc5 Force projector implementation 2018-09-07 23:24:55 -04:00
Anuken d046591512 Overdrive system 2018-09-07 17:16:38 -04:00
Anuken e4ce115abf Fixed (another) crash 2018-09-07 13:46:07 -04:00
Anuken aedcac5820 Fixed a crash 2018-09-07 12:01:36 -04:00
Anuken 9f4430ad92 Fixed save loader failing to load status effects 2018-09-07 09:40:13 -04:00
Anuken 2ad8f1c112 Bundles updated / Crash fix 2018-09-07 09:18:58 -04:00
Anuken f0d884e114 Force projector sprite 2018-09-06 22:08:22 -04:00
Anuken b618f5be80 Merge remote-tracking branch 'origin/master' 2018-09-06 21:47:00 -04:00
Anuken 7b63eac3eb Save fixes / Implemented overdrive projector 2018-09-06 21:46:50 -04:00
Prosta4okua df3f2ea9c1 [Complete]Russian bundle. (#208)
* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties
2018-09-06 19:53:31 -04:00
Gureumi 30c6280ed1 smail translate (#216) 2018-09-06 19:51:12 -04:00
Anuken 1960b59629 Packer compile fix / Mapping fix 2018-09-06 19:38:19 -04:00
Anuken 6e6edf8322 Fixed trail length bug / Base projector classes 2018-09-06 12:25:38 -04:00
Anuken f47fb01614 Minor bugfixes 2018-09-06 09:08:54 -04:00
Anuken ae30bdd599 Bugfixes 2018-09-05 21:30:03 -04:00
Anuken 2c8962cf5f pain and suffering of various kinds 2018-09-05 20:25:50 -04:00
Anuken eb3e507a11 Content mapping, part 1 2018-09-05 16:02:30 -04:00
Anuken be3147465d Added unlock menu in-game 2018-09-05 13:22:04 -04:00
Anuken 484721fece Fixed game data clearing 2018-09-05 13:00:15 -04:00
Anuken 9c36026991 Data clearing / Bugfixes 2018-09-05 10:24:47 -04:00
Anuken bf5055f944 Fixed random bullet pierce 2018-09-05 09:44:26 -04:00
Anuken 389034bf1a Fixed PvP matches not ending / Removed PvP core shield 2018-09-05 09:36:25 -04:00
Anuken 3f07102f2a Crash fixes 2018-09-05 09:05:15 -04:00
Anuken d4ccfa31b5 Balancing 2018-09-04 22:16:23 -04:00
Anuken 5814b2a4b8 Merge remote-tracking branch 'origin/master' 2018-09-04 22:08:08 -04:00
Anuken d3f61af493 Added shock mines 2018-09-04 22:08:05 -04:00
xgamezs 233ea7bb4a Update bundle_ru.properties (#214) 2018-09-04 21:23:08 -04:00
Anuken 6893a30ffb Removed camera clamping for custom maps 2018-09-04 19:55:39 -04:00
Anuken ae6d2fb363 Minor optimization / Fixed bullets piercing shield randomly 2018-09-04 19:45:41 -04:00
Anuken baa7cb3a10 Flux speed buff / Server drowning / Delta buff 2018-09-04 19:02:40 -04:00
Anuken 7b90544d91 Fixed player mech icon clip / Added kick confirmation 2018-09-04 17:42:56 -04:00
Anuken 9a5495d8b2 Crash fix / New pump/conduit placement restrictions 2018-09-04 16:43:15 -04:00
Anuken 1fa769b3e7 Merge remote-tracking branch 'origin/master' 2018-09-04 15:15:43 -04:00
Anuken 96766ece4e Made wave extinguish fires / Buffed fire 2018-09-04 15:15:25 -04:00
xgamezs add525396f Update bundle_ru.properties (#213) 2018-09-04 14:43:35 -04:00
Anuken 26ae4edd63 Added version type 2018-09-04 12:10:48 -04:00
Anuken 063893adee Crash fixes 2018-09-04 09:00:37 -04:00
Anuken ff37e99d71 Save load crash fix / Minor name refactor 2018-09-03 22:37:46 -04:00
Anuken 3d0b02ee23 Cleaned up enemy base walls 2018-09-03 22:12:46 -04:00
Anuken d7cfbfe6c8 Merge remote-tracking branch 'origin/master' 2018-09-03 21:51:18 -04:00
Anuken dc00e22f13 Fixed unit pads hiding in PvP / Fixed recipes not deselecting in menu 2018-09-03 21:51:13 -04:00
CrazyBearTR bcde481304 Update of the Turkish Translation Bundle (#212)
* Update of the Turkish Translation Bundle

Some words were wrong. Fixed in this version.

* Update bundle_tr.properties
2018-09-03 19:38:01 -04:00
Prosta4okua 5b1341e488 [Complete]Update bundle_uk_UA.properties (#211)
* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties
2018-09-03 19:37:55 -04:00
Anuken 6ad70ceee3 Typo fix 2018-09-03 17:17:32 -04:00
Anuken 9c4d2f5490 Merge remote-tracking branch 'origin/master' 2018-09-03 17:04:16 -04:00
Anuken 6c5eff1143 Crash fix / Cleanup 2018-09-03 17:04:11 -04:00
Anuken a893767d0f Merge remote-tracking branch 'origin/master' 2018-09-03 16:22:29 -04:00
Anuken a4f240edc8 Fixed some high-FPS bugs 2018-09-03 16:22:24 -04:00
Anuken e0a94f694b Shader fix / Hail buff / Tau nerf / Turkish lower case fix 2018-09-03 15:57:06 -04:00
Anuken 8654f25a4f Bugfixes for GWT 2018-09-03 13:48:16 -04:00
Anuken e877310d85 Mech balancing / Less glitchy menu shader 2018-09-03 13:33:40 -04:00
Anuken bb59f45ba6 Crash fix 2018-09-03 10:29:44 -04:00
Anuken 3d4c2a2c20 Merge remote-tracking branch 'origin/master' 2018-09-03 09:56:18 -04:00
Anuken e36667cd08 Bugfixes 2018-09-03 09:56:14 -04:00
CrazyBearTR cebaa6949e Turkish language request (#210) 2018-09-03 09:55:04 -04:00
Anuken 019e22aff2 Fixed missile shield pierce 2018-09-03 09:07:59 -04:00
Anuken 5129e2ea73 Crash fixes 2018-09-03 09:02:16 -04:00
Anuken 3b63f60462 Fixed some junction issues / Improved server crash reporting 2018-09-02 22:40:23 -04:00
Anuken 5e29115c2e Fixed ship flight targeting / Fixed unit weapon sprite offset 2018-09-02 16:23:39 -04:00
Anuken 0b4b30286d Fixed bridge infinite capacity / Fixed crash 2018-09-02 15:19:54 -04:00
Anuken a01f64080d Fixed unit pads / Added chat log 2018-09-02 14:16:14 -04:00
Anuken d031351bc8 Merge remote-tracking branch 'origin/master' 2018-09-02 13:49:42 -04:00
Anuken 1d21d36253 Fixed font line height / Bundles updated / Changelog date 2018-09-02 13:49:38 -04:00
iczero 8d4cd72b41 Remove duplicate roundrobin properties in weapons (#207) 2018-09-02 13:34:24 -04:00
Anuken 46ab6d3476 Minor fix 2018-09-02 13:33:43 -04:00
Anuken 3fcf3cbf93 Merge remote-tracking branch 'origin/master' 2018-09-02 13:20:58 -04:00
Anuken ada912c69b Made group error message more specific 2018-09-02 13:20:51 -04:00
Prosta4okua e204b89eaf Update bundle_ru.properties (#206)
* Update bundle_ru.properties

* Update bundle_ru.properties
2018-09-02 13:20:40 -04:00
Anuken e903798fc2 Crash report fixes / Mobile mech fixes / Multiplayer fixes 2018-09-02 13:12:45 -04:00
Anuken 54497c43b6 Fixed mobile menu shader / Added 'old save' message for sectors 2018-09-02 11:46:47 -04:00
Anuken 99e54cc214 Fixed server connect crash 2018-09-02 11:22:05 -04:00
Anuken 56ae47cd8d Fixed server build error / Possible crash fix 2018-09-02 11:00:14 -04:00
Anuken 0fb336cf7b Balancing / Fixed bridge contamination 2018-09-02 10:46:24 -04:00
Anuken 469b3c0a94 Balance tweaks / Changed block liquid place-ability 2018-09-01 22:29:25 -04:00
Anuken d90d88c68b Menu shader / Sprite fixes 2018-09-01 20:16:49 -04:00
Anuken dcc061af3e New seed-based AI bases 2018-09-01 14:44:06 -04:00
Anuken a2960f5c50 Pathfind updates / Less reflection / Platform cleanup 2018-08-31 23:19:36 -04:00
Anuken 565f8a2b4d Merge branch 'reflectionless' of https://github.com/Anuken/Mindustry 2018-08-31 16:15:43 -04:00
Anuken 5cb50d57ec Reduced reflection usage / Improved event system 2018-08-31 16:14:14 -04:00
Anuken 522e19d4bf Updated discord URL 2018-08-31 15:40:32 -04:00
Anuken 0db7a78889 Merge remote-tracking branch 'origin/master' 2018-08-31 10:15:12 -04:00
Anuken 1ce3b40b4e Basic pathfinding implementations 2018-08-31 10:15:08 -04:00
Leone25 e633528a7a Update bundle_ita.properties (#205) 2018-08-31 09:24:26 -04:00
Anuken 6570b411d1 Merge remote-tracking branch 'origin/master' 2018-08-31 00:02:42 -04:00
Anuken ac9e774795 Added basic turret blob structures 2018-08-31 00:02:38 -04:00
Prosta4okua 8791747453 [Complete]Update bundle_ru.properties (#202)
* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties
2018-08-30 23:52:41 -04:00
Anuken dda3afe9fa now with waifus 2018-08-30 21:39:27 -04:00
Anuken d4435f980c Fixed ability input conflicts 2018-08-30 18:30:05 -04:00
Anuken f29673a6e3 Made desktop selection rebindable 2018-08-30 16:46:41 -04:00
Anuken 9816bab151 Fixed build error 2018-08-30 09:58:18 -04:00
Anuken 5884c0bcb3 Merge branch 'crash-report-server' of https://github.com/Anuken/Mindustry 2018-08-30 09:23:10 -04:00
Anuken 96dc00beac Fixed carrying bug 2018-08-30 09:22:16 -04:00
Anuken febc1e53b6 Added dedicated server crash reports 2018-08-30 09:05:15 -04:00
Anuken 3e18fb3ca0 Final crash report system for desktop 2018-08-29 23:46:04 -04:00
Anuken 28b9de2e7a Moved reporting system to CoreBot; JSON-base reports 2018-08-29 22:54:15 -04:00
Anuken 9a41399178 Initial proof-of-concept for crash report server 2018-08-29 22:09:55 -04:00
Anuken db47b9a877 Minor tweaks 2018-08-29 16:19:34 -04:00
Anuken 7cdd7a3487 Merge remote-tracking branch 'origin/master' 2018-08-29 10:07:38 -04:00
Anuken 833f646903 Start of groundwork for dynamic bases 2018-08-29 10:07:34 -04:00
Senventise 35a85860b1 Add Simplified Chinese font and update translations (#204)
* update translation

* add simplified chinese font

* delete outdated font

* Update uiskin.json
2018-08-29 09:38:10 -04:00
Anuken 00f24dfb79 Balancing 2018-08-28 20:10:43 -04:00
Anuken 8c6ae2576d Fuse shot implemented 2018-08-28 19:00:29 -04:00
Anuken 5416ad33bd Basic fuse implementation 2018-08-28 13:10:49 -04:00
Anuken 1e25ba2d8e Implemented ammo types for cyclone 2018-08-28 12:12:08 -04:00
Anuken 8d08d25f5b Updated uCore 2018-08-28 09:02:38 -04:00
Anuken 802e7b12d0 Surge uses / Fixes, optimizations / Turret implementation base 2018-08-27 23:50:23 -04:00
Anuken 9b57550f3d Worldgen changes 2018-08-27 16:04:55 -04:00
Anuken 28c13c8e52 Fixed dropping items into enemy blocks 2018-08-27 13:56:20 -04:00
Anuken d8f9059989 Player bufixes / Balancing 2018-08-27 13:46:33 -04:00
Anuken ac9d37d038 Core player shield / Bundles updated 2018-08-27 13:30:34 -04:00
Anuken 6323c13704 Mech descriptions / Balancing / Crash fix / Physics fix 2018-08-27 09:52:33 -04:00
Anuken 2f7f16daff Added mend projector 2018-08-26 23:03:02 -04:00
Anuken 9059238aee Fixed lancer turning incorrectly / Buffed lancer 2018-08-26 20:02:29 -04:00
Anuken 2677c0e752 Merge remote-tracking branch 'origin/master' 2018-08-26 17:39:37 -04:00
Anuken ba80770564 Disabled snapshot debug 2018-08-26 17:39:32 -04:00
Anuken 06ad35d934 Fixed jittery snapshots / Fixed misaligned unit bullets 2018-08-26 17:38:22 -04:00
Anuken 864c4f6bc3 Added custom port support 2018-08-26 10:25:23 -04:00
iczero f5f0f02abe Fix UUID generation on desktop (#203) 2018-08-26 09:12:16 -04:00
Anuken 19979dec55 Fixed multiplayer crash 2018-08-25 23:25:04 -04:00
Anuken 926e61b7cc Initial test 2018-08-25 20:43:36 -04:00
Anuken 15378d3267 Removed incorrect health values 2018-08-25 20:25:09 -04:00
Anuken 33fcfda1a0 Added alloy smelter 2018-08-25 16:50:42 -04:00
Anuken 74d7b43d0f Fixed game-over state / Recipe balance 2018-08-25 15:35:35 -04:00
Anuken e392c8f0e6 All reconstructors implemented / Balancing 2018-08-25 14:52:46 -04:00
Anuken f60ba8587f Balancing / Reconstructors require power 2018-08-25 10:37:05 -04:00
Anuken 86a7f837cd Implemented halberd 2018-08-25 09:55:08 -04:00
Anuken 9465497481 Implemented trident 2018-08-24 23:32:08 -04:00
Anuken 8c3f3ac304 Javelin abilities 2018-08-24 17:53:54 -04:00
Anuken 88ba8f6f55 Ignored gif recorder images 2018-08-24 15:52:51 -04:00
Anuken c64459dbf4 Fixed alpha drones dying on load 2018-08-24 15:52:05 -04:00
Anuken 8b0bbffe27 Merge remote-tracking branch 'origin/mechs-balance-altfire' into mechs-balance-altfire
# Conflicts:
#	core/src/io/anuke/mindustry/content/Mechs.java
2018-08-24 13:58:32 -04:00
Anuken 94805259d7 Added alpha drone swarm ability 2018-08-24 13:54:53 -04:00
Anuken e796d44f92 Tau idle regen / Fixed non-synced alts / Fixed units not retreating 2018-08-24 10:19:56 -04:00
Anuken 5e8686db77 Removed Upgrade class / Buffed units / Bugfixes 2018-08-24 09:39:02 -04:00
Anuken ee835f6514 Merge branch 'master' of https://github.com/Anuken/Mindustry into mechs-balance-altfire
# Conflicts:
#	core/src/io/anuke/mindustry/world/blocks/storage/CoreBlock.java
2018-08-24 08:57:19 -04:00
Anuken 5de61aaed3 Unlockable mechs 2018-08-24 08:55:19 -04:00
Anuken 6613e4ec42 Generaor changes 2018-08-23 23:26:45 -04:00
Anuken 206314f4f4 Implemented lightning tile damage 2018-08-23 09:09:54 -04:00
Anuken 8f12c3f1a8 Fixed lightning / Implemented delta ability and gun 2018-08-23 09:02:09 -04:00
Anuken 4c224d0b9c Balancing, keybinds 2018-08-22 23:45:01 -04:00
Anuken 30dd089c8b Tau mech implemented 2018-08-22 23:29:14 -04:00
Anuken 8d9ec206bf Fixed mech hovering 2018-08-22 17:48:44 -04:00
Anuken 8319288776 Omega mech ability / Rendering fix 2018-08-22 16:13:26 -04:00
Anuken 60bf36613f Merge remote-tracking branch 'origin/master' 2018-08-22 12:42:30 -04:00
Anuken a75994cbbf Updates to iOS build 2018-08-22 12:42:19 -04:00
Anuken e1f7c7b03d Omega mech implementation 2018-08-21 22:40:39 -04:00
Anuken bb7e2c7cee Commit #2000 2018-08-21 19:01:35 -04:00
Anuken 69eb6469f9 Merge branch 'continuous-servers' of https://github.com/Anuken/Mindustry 2018-08-21 18:56:32 -04:00
Anuken d2eb3be7f8 Merge remote-tracking branch 'origin/master' 2018-08-21 18:54:15 -04:00
Anuken 5aa76639d1 Changed noise octaves with non-detailed worldgen 2018-08-21 18:54:11 -04:00
Anuken 3bf72a1af6 Forced hovering while on block 2018-08-21 17:28:35 -04:00
Anuken b745d88299 Player State reset / Improved messages / Round end time 2018-08-21 17:23:17 -04:00
Anuken 3aedc07ad0 Initial continuous server implementation 2018-08-21 16:37:57 -04:00
Anuken dbb164f4be Increased mech damage 2018-08-21 14:21:00 -04:00
Prosta4okua b0103d1ce3 [Complete]Update bundle_ru.properties (#199)
* Update bundle_ru.properties

* Update bundle_ru.properties

* Update bundle_ru.properties
2018-08-21 13:27:20 -04:00
Prosta4okua 9c532047d3 [Complete]Update bundle_uk_UA.properties (#201)
* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties
2018-08-21 13:27:09 -04:00
Anuken 0003a58210 Added land effect / Cleanup 2018-08-21 13:25:04 -04:00
Anuken 34f2704dc7 Added ground mech flight 2018-08-21 12:22:49 -04:00
Anuken 0ddee379ca Added mode-specific respawn time 2018-08-21 10:56:06 -04:00
Anuken 6dcbe4fabb Added phase walls 2018-08-21 10:36:42 -04:00
Anuken 5dbb9fdf3f Final tweaks, ready to merge 2018-08-21 09:45:54 -04:00
Anuken 914fa3079d Per-mode no-build radius 2018-08-20 23:47:56 -04:00
Anuken 2e958d8d8f New team system / Prototype dedicated PvP gamemode 2018-08-20 23:45:27 -04:00
Anuken 7a5e61fd2e Fixed off-color stone floor blocks 2018-08-20 22:17:34 -04:00
Anuken 6a031d8f53 Nerfed wall health 25% 2018-08-20 22:13:29 -04:00
Anuken dc6f01c0d3 Merge branch 'resource-rework' of https://github.com/Anuken/Mindustry 2018-08-20 22:09:57 -04:00
Anuken 1cc8cbe8a8 Bundles updated / Updated mechanical drill sprite 2018-08-20 22:09:15 -04:00
Anuken 01ae8bec85 Turret sprite fixes 2018-08-20 21:30:37 -04:00
Anuken 258ab87f6b Palette swap / Blocks changed and renamed 2018-08-20 21:04:03 -04:00
Anuken 8ba2db6c58 Dense alloy / Compile errors fixed 2018-08-20 17:43:56 -04:00
Anuken a7599e85dc Merge remote-tracking branch 'origin/master' 2018-08-20 10:21:56 -04:00
Anuken 28389d698e Fixed editor fill freeze 2018-08-20 10:21:51 -04:00
Gureumi c47a220721 Update bundle_ko.properties (#198) 2018-08-20 09:21:13 -04:00
Anuken 69f7296baa Merge remote-tracking branch 'origin/master' 2018-08-19 22:49:39 -04:00
Anuken 855f56bb45 Crash fix 2018-08-19 22:49:35 -04:00
Anuken a79d072aaf More copper 2018-08-19 22:47:46 -04:00
iczero 467047a011 Fix typo (#197) 2018-08-19 22:46:41 -04:00
Leone25 0288daa39d Update bundle_ita.properties (#195) 2018-08-19 18:40:53 -04:00
Prosta4okua 3f075068a9 Update bundle_ru.properties (#196) 2018-08-19 18:40:43 -04:00
Anuken 278e7027f2 Bundles updated 2018-08-19 13:35:35 -04:00
Anuken 9d654c1f18 Copper added, carbide removed 2018-08-19 13:34:36 -04:00
JustYanns 279187d13b Update bundle_fr.properties [Complete] (#146)
* Update bundle_fr.properties

Few things translated in french.
I'll do more soon !!

* Update bundle_fr.properties V2

Update with comment of Math2128

* Update bundle_fr.properties V3

Few translations fixed

* Update bundle_fr.properties V4

•1 Thorium is the same in french and in english. 
•2 Carbide and cryofluid are not translatable !!
•3 Phase matter = "matière de Phase" doesn't sound good, I think we have to let the english word.
•4 Pyratite can be translated as "pyrrhotite" is it a good idea ?

* Update bundle_fr V5

Few translations fixed

* Update bundle_fr.properties V6 [Almost complete]

The french translation is almost finished, I will release the final translation soon.

* Update bundle_fr.properties [pre-release1]

Translation almost finished,
I just have 2 problems (see in the conversation)

* Update bundle_fr.properties  [pre-release2]

Translation almost finished
I just have 2 problems (see in the conversation)

* Update bundle_fr.properties [pre-release3]

Thank you to Math2128, for having helping me ;)

* Update bundle_fr.properties  [pre-release4]

Translations of Math2128's commit added
2018-08-19 13:34:17 -04:00
Anuken 360494f971 Fixed connect/disconnect message color tags 2018-08-19 10:31:25 -04:00
Anuken 81931eb536 Removed unnecessary tungsten references 2018-08-19 10:30:12 -04:00
Gureumi a2ef11eb0f Fix 'has connected' message + Add chat font (#194)
* Fix 'has connected' message

* Add chat font
2018-08-19 10:29:40 -04:00
Anuken b872252771 Removed unnecessary tungsten references 2018-08-18 23:02:10 -04:00
Leone25 b2c388276f Update bundle_ita.properties (#192) 2018-08-18 18:33:49 -04:00
Prosta4okua 178928f866 [Complete]Update bundle_uk_UA.properties (#188)
* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties

* Update bundle_uk_UA.properties
2018-08-18 13:10:57 -04:00
Prosta4okua 7e548f9969 Update bundle_ru.properties (#191)
* Update bundle_ru.properties

* Update bundle_ru.properties
2018-08-18 13:10:43 -04:00
Anuken a60ce3c54c Merge branch 'master' of https://github.com/Anuken/Mindustry into resource-rework 2018-08-18 13:10:22 -04:00
Anuken 0f173bcc5a Increased blink frequency 2018-08-18 13:10:01 -04:00
Anuken 64dbe8312e Fixed merge issues 2018-08-18 13:07:54 -04:00
Anuken 7f443c71ae Merge remote-tracking branch 'origin/master' 2018-08-18 13:06:59 -04:00
Anuken 27276c025c Merge branch 'remove-ammo' of https://github.com/Anuken/Mindustry 2018-08-18 13:06:54 -04:00
Anuken e9d03c179c init() test 2018-08-18 12:19:20 -04:00
Uriel dec01c23a9 [Completed] Remaking spanish translation bundle (#187)
* started translating all the stuff

* translated more of the original english file

* translated more parts

* almost half of the file!

* MOREgit add .!

* Update bundle_es.properties

* completed

* forgot about these ones...
2018-08-18 08:57:42 -04:00
Anuken e0eb227ce5 Recipe init() method added 2018-08-17 22:49:45 -04:00
Anuken 20021c5b31 Fixed 1-character names being valid / Fixed collideLine with tiles 2018-08-17 20:21:49 -04:00
Anuken f8d6797fc2 Fixed android module being necessary to compile 2018-08-17 18:05:28 -04:00
Anuken 25051980ce Fixed category bundle properties missing 2018-08-17 14:51:18 -04:00
Anuken fb8becca99 Minor ban fix 2018-08-17 14:09:31 -04:00
Anuken 25bd8a7eaa Fixed sector name not being displayed in saves 2018-08-17 13:02:53 -04:00
Anuken bbd2424a3f Merge remote-tracking branch 'origin/master' 2018-08-17 12:55:18 -04:00
Anuken 83eeeed319 Discord rich presence improvements 2018-08-17 12:55:06 -04:00
Anuken c92e8161a1 Merge pull request #190 from Prosta4okua/patch-21
[Complete] bundle_ru.properties
2018-08-17 11:33:29 -04:00
Anuken 258555c990 Merge remote-tracking branch 'origin/master' 2018-08-17 11:32:19 -04:00
Anuken 0f7799422e Crashes fixed 2018-08-17 11:32:12 -04:00
Anuken 177b565d7c Merge pull request #173 from Gab351/patch-1
Translate l227 to l239
2018-08-17 10:38:24 -04:00
Prosta4okua a62b336b6c Update bundle_ru.properties 2018-08-17 12:59:51 +03:00
Prosta4okua 3ea61c8b3a Update bundle_ru.properties 2018-08-17 12:02:44 +03:00
Prosta4okua 4c57f9f902 Update bundle_ru.properties 2018-08-17 10:48:29 +03:00
Anuken 6d7941fba4 iOS portrait mode support 2018-08-16 18:38:43 -04:00
Anuken 020c6388c2 Block renaming 2018-08-16 18:38:04 -04:00
Anuken 53d35e8c77 Bundles updated / Fixed some localization bugs 2018-08-16 17:43:43 -04:00
Anuken 01f205d352 Merge pull request #189 from Leone25/patch-1
last update bundle_ita.properties
2018-08-16 17:38:44 -04:00
Anuken a786167b04 Reduced health flash 2018-08-16 17:38:16 -04:00
Anuken 1699ab48e8 Added alternate health bar on all units 2018-08-16 17:07:20 -04:00
Leone25 b15c04a532 Update bundle_ita.properties 2018-08-16 21:10:04 +02:00
Anuken 20d3740e75 Branch created 2018-08-16 11:46:34 -04:00
Anuken 80d57f8c0c Comma fix 2018-08-16 11:25:27 -04:00
Anuken 1de367e89c Full chat revert / Crash fixes 2018-08-16 10:09:22 -04:00
Anuken 8850a89e30 Fixed game-over sector algorithm 2018-08-15 21:25:07 -04:00
Anuken 4f72011cf7 Fixed markup crash / setsector command fixed / Drone crash fixed 2018-08-15 21:00:40 -04:00
Anuken c569232e74 Fixed multiblocks not accepting items 2018-08-15 19:38:13 -04:00
Anuken 29bcb8e07c Removed bars 2018-08-14 10:29:45 -04:00
Anuken 8986b89d67 Removed unit ammo 2018-08-10 10:45:37 -04:00
Gab_351 502c4e51ae Translate l227 to l239 2018-08-06 15:16:39 +03:00
1807 changed files with 72271 additions and 48630 deletions
+13 -5
View File
@@ -1,8 +1,8 @@
##Packr, build stuff
logs/
/core/assets/mindustry-saves/
/core/assets/mindustry-maps/
/core/assets/bundles/output/
/core/assets/.gifimages/
/deploy/
/desktop/packr-out/
/desktop/packr-export/
@@ -11,17 +11,25 @@
/desktop/gifexport/
/core/lib/
/core/assets-raw/sprites/generated/
/core/assets-raw/sprites_out/
/annotations/build/
/kryonet/build/
/packer/build/
/annotations/out/
/net/build/
/tools/build/
/tests/build/
/server/build/
/test_files/
/annotations/build/
/android/assets/mindustry-maps/
/android/assets/mindustry-saves/
/core/assets/gifexport/
/core/assets/version.properties
/core/assets/locales.json
/core/assets/locales
/ios/src/io/anuke/mindustry/gen/
/core/src/io/anuke/mindustry/gen/
ios/robovm.properties
packr-out/
config/
*.gif
version.properties
+18 -21
View File
@@ -1,24 +1,21 @@
language: android
jdk:
- openjdk8
android:
components:
- android-27
# Additional components
- extra-google-google_play_services
- extra-google-m2repository
- extra-android-m2repository
- addon-google_apis-google-27
- build-tools-27.0.3
script:
- ./gradlew desktop:dist
after_success:
- chmod +x upload-build.sh
- chmod +x cleanup_builds.sh
- ./upload-build.sh
- openjdk8
script:
- "git clone --depth=1 --branch=master https://github.com/Anuken/Arc ../Arc"
- "./gradlew test"
- "./gradlew desktop:dist -Pbuildversion=${TRAVIS_TAG:1}"
- "./gradlew server:dist -Pbuildversion=${TRAVIS_TAG:1}"
deploy:
provider: releases
skip_cleanup: true
draft: false
api_key:
secure: Cv5wFtWt62/A24EvSEQvMow7gKPbZ3oATEFPuSghhB2TQz1dA40Zee3Qvk4LFlpLrhYo4K0ZSczCZRGpR+hCd8+Dpww52bheYEvWuh3ZQfvu/fXtEx2j5PwP1qMpmIgSxETV/gkD7l9FImdh0VzktYiAvQfmi0bEocG9/D4QwjFpNat7iwBdcMiw1MvAygpdIWRsjiw0RKlB2mWarmoHhQ7Gu7qlU3j50uaEvcrtmU0pBUPggNQwQRv32i9NPvNFxrqqlUjDLIS8JFea99zCkp8BwYqbEvBIMzd+Qip1/stLJJA3+cDUClbsDtg8rAVetzpOrdLEEBmqShFe5MDl2yEHcsgpN9CFsyTaUfvB3P3rVjizvycMm42IsUkXQiarm5xTQ/TIA8Rd8AHiSKuweNCg1Fd5SFaRtKy8JVLXuxyfUccmyje6hhz2L4lS2Wfj3mAG7sqZUCXhWP79EKdGkiPOjKv4CwXEKmuH3BMVqPlNUZJr9Eg3sV1FG0h2l+MVOOnR635qdUbb49sYojYxVruMLX0BH1c4ZCu230m8CUoWA1Em1QNI75ya7+9Y5T6AsgWDVpBvdUo9fWNbdp+VQ0GskFQsJD5wtnxbcbHeFiERAgGBm7z6qt9u9LrQpBH+dsW52ADvYsu3L4nQEa+sdMHwTTwmGY+iUvsxu0DqxGg=
file:
- "desktop/build/libs/desktop-release.jar"
- "server/build/libs/server-release.jar"
on:
repo: Anuken/Mindustry
tags: true
+20 -14
View File
@@ -1,36 +1,42 @@
![Imgur](https://i.imgur.com/w4N0yhv.png)
[![Build Status](https://travis-ci.org/Anuken/Mindustry.svg?branch=master)](https://travis-ci.org/Anuken/Mindustry)
\
A pixelated sandbox tower defense game made using [LibGDX](https://libgdx.badlogicgames.com/). Winner of the [GDL Metal Monstrosity Jam](https://itch.io/jam/gdl---metal-monstrosity-jam).
[![Build Status](https://travis-ci.org/Anuken/Mindustry.svg?branch=master)](https://travis-ci.org/Anuken/Mindustry)
[![Discord](https://img.shields.io/discord/391020510269669376.svg)](https://discord.gg/mindustry)
A sandbox tower defense game written in Java.
_[Trello Board](https://trello.com/b/aE2tcUwF/mindustry-40-plans)_
_[Wiki](http://mindustry.wikia.com/wiki/Mindustry_Wiki)_
_[Discord](https://discord.gg/r8BkXNd)_
_[Wiki](http://mindustry.wikia.com/wiki/Mindustry_Wiki)_
### Building
Bleeding-edge live builds are generated automatically for every commit. You can see them [here](https://github.com/Anuken/Mindustry/wiki).
Bleeding-edge live builds are generated automatically for every commit. You can see them [here](https://jenkins.hellomouse.net/job/mindustry/).
If you'd rather compile on your own, follow these instructions.
First, make sure you have Java 8 and JDK 8 installed. Open a terminal in the root directory, and run the following commands:
First, make sure you have Java 8 and JDK 8 installed. Open a terminal in the root directory, `cd` to the Mindustry folder and run the following commands:
#### Windows
**_Windows_**
_Running:_ `gradlew desktop:run`
_Building:_ `gradlew desktop:dist`
_Running:_ `gradlew.bat desktop:run`
_Building:_ `gradlew.bat desktop:dist`
**_Linux_**
#### Linux/Mac OS
_Running:_ `./gradlew desktop:run`
_Building:_ `./gradlew desktop:dist`
#### Server
Server builds are bundled with each released build (in Releases). If you'd rather compile on your own, replace 'desktop' with 'server', e.g. `gradlew server:dist`.
##### Troubleshooting
If the terminal returns `Permission denied` or `Command not found` on Mac/Linux, run `chmod +x ./gradlew` before running `./gradlew`. *This is a one-time procedure.*
---
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` for desktop builds, and in `/server/build/libs/server-release.jar` for server builds.
### Downloads
+1 -1
View File
@@ -3,7 +3,6 @@
package="io.anuke.mindustry">
<uses-feature android:glEsVersion="0x00020000" android:required="true" />
<uses-permission android:name="com.android.vending.BILLING" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.INTERNET" />
@@ -17,6 +16,7 @@
android:appCategory="game"
android:label="@string/app_name"
android:theme="@style/GdxTheme" android:fullBackupContent="@xml/backup_rules">
<meta-data android:name="android.max_aspect" android:value="2.1" />
<activity
android:name="io.anuke.mindustry.AndroidLauncher"
android:label="@string/app_name"
+36 -56
View File
@@ -1,3 +1,16 @@
buildscript {
repositories {
mavenLocal()
mavenCentral()
google()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.2'
}
}
apply plugin: "com.android.application"
@@ -13,31 +26,32 @@ repositories {
dependencies {
implementation project(":core")
implementation project(":kryonet")
implementation 'com.android.support:support-v4:25.3.1'
implementation 'org.sufficientlysecure:donations:2.5'
implementation 'com.google.android.gms:play-services-auth:11.8.0'
implementation project(":net")
implementation "com.badlogicgames.gdx:gdx-backend-android:$gdxVersion"
implementation arcModule("backends:backend-android")
natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi"
natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi-v7a"
natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-arm64-v8a"
natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86"
natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86_64"
implementation "com.badlogicgames.gdx:gdx-controllers-android:$gdxVersion"
natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-armeabi"
natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-armeabi-v7a"
natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-arm64-v8a"
natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-x86"
natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-x86_64"
}
task deploy(type: Copy){
dependsOn "assembleRelease"
from "build/outputs/apk/google/release/android-google-release.apk"
into "../deploy/";
rename ("android-google-release.apk", appName + "-android-" + getVersionString() + ".apk");
from "build/outputs/apk/release/android-release.apk"
into "../deploy/"
rename ("android-google-release.apk", appName + "-android-" + getVersionString() + ".apk")
}
android {
buildToolsVersion '27.0.3'
compileSdkVersion 27
buildToolsVersion '28.0.3'
compileSdkVersion 28
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
@@ -74,7 +88,7 @@ android {
applicationId "io.anuke.mindustry"
minSdkVersion 14
targetSdkVersion 27
targetSdkVersion 28
versionCode code
versionName versionNameResult
}
@@ -86,12 +100,6 @@ android {
flavorDimensions "google"
productFlavors {
google {
buildConfigField "boolean", "DONATIONS_GOOGLE", "true"
}
}
signingConfigs {
release {
if(project.hasProperty("RELEASE_STORE_FILE")) {
@@ -100,7 +108,7 @@ android {
keyAlias RELEASE_KEY_ALIAS
keyPassword RELEASE_KEY_PASSWORD
}else{
println("No keystore info property found!");
println("No keystore info property found!")
}
}
}
@@ -115,11 +123,11 @@ android {
// the natives configuration, and extracts them to the proper libs/ folders
// so they get packed with the APK.
task copyAndroidNatives() {
file("libs/armeabi/").mkdirs();
file("libs/armeabi-v7a/").mkdirs();
file("libs/arm64-v8a/").mkdirs();
file("libs/x86_64/").mkdirs();
file("libs/x86/").mkdirs();
file("libs/armeabi/").mkdirs()
file("libs/armeabi-v7a/").mkdirs()
file("libs/arm64-v8a/").mkdirs()
file("libs/x86_64/").mkdirs()
file("libs/x86/").mkdirs()
configurations.natives.files.each { jar ->
def outputDir = null
@@ -137,6 +145,7 @@ task copyAndroidNatives() {
}
}
}
task run(type: Exec) {
def path
def localProperties = project.file("../local.properties")
@@ -158,47 +167,18 @@ task run(type: Exec) {
def adb = path + "/platform-tools/adb"
commandLine "$adb", 'shell', 'am', 'start', '-n', 'io.anuke.mindustry/io.anuke.mindustry.AndroidLauncher'
}
// sets up the Android Eclipse project, using the old Ant based build.
eclipse {
// need to specify Java source sets explicitly, SpringSource Gradle Eclipse plugin
// ignores any nodes added in classpath.file.withXml
sourceSets {
main {
java.srcDirs "src", 'gen'
}
}
jdt {
sourceCompatibility = 1.7
targetCompatibility = 1.7
}
classpath {
plusConfigurations += [project.configurations.compile]
containers 'com.android.ide.eclipse.adt.ANDROID_FRAMEWORK', 'com.android.ide.eclipse.adt.LIBRARIES'
}
project {
name = appName + "-android"
natures 'com.android.ide.eclipse.adt.AndroidNature'
buildCommands.clear();
buildCommand "com.android.ide.eclipse.adt.ResourceManagerBuilder"
buildCommand "com.android.ide.eclipse.adt.PreCompilerBuilder"
buildCommand "org.eclipse.jdt.core.javabuilder"
buildCommand "com.android.ide.eclipse.adt.ApkBuilder"
}
}
// sets up the Android Idea project, using the old Ant based build.
idea {
module {
sourceDirs += file("src");
sourceDirs += file("src")
scopes = [COMPILE: [plus: [project.configurations.compile]]]
iml {
withXml {
def node = it.asNode()
def builder = NodeBuilder.newInstance();
builder.current = node;
def builder = NodeBuilder.newInstance()
builder.current = node
builder.component(name: "FacetManager") {
facet(type: "android", name: "Android") {
configuration {
Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 76 KiB

+6 -22
View File
@@ -20,26 +20,10 @@
#}
-verbose
-dontwarn android.support.**
-dontwarn com.badlogic.gdx.backends.android.AndroidFragmentApplication
-dontwarn com.badlogic.gdx.utils.GdxBuild
-dontwarn com.badlogic.gdx.physics.box2d.utils.Box2DBuild
-dontwarn com.badlogic.gdx.jnigen.BuildTarget*
-dontwarn com.badlogic.gdx.graphics.g2d.freetype.FreetypeBuild
-keep class com.badlogic.gdx.controllers.android.AndroidControllers
-keepclassmembers class com.badlogic.gdx.backends.android.AndroidInput* {
<init>(com.badlogic.gdx.Application, android.content.Context, java.lang.Object, com.badlogic.gdx.backends.android.AndroidApplicationConfiguration);
}
-keepclassmembers class com.badlogic.gdx.physics.box2d.World {
boolean contactFilter(long, long);
void beginContact(long);
void endContact(long);
void preSolve(long, long);
void postSolve(long, long);
boolean reportFixture(long);
float reportRayFixture(long, float, float, float, float, float);
-verbose
-ignorewarnings
-keep class io.anuke.mindustry.game.Rules
-keep class io.anuke.mindustry.desktop.DesktopLauncher
-keepclasseswithmembers public class * {
public static void main(java.lang.String[]);
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 911 B

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 23 KiB

-32
View File
@@ -1,32 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:background="#000">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="top"
android:adjustViewBounds="false"
android:contentDescription="background"
android:cropToPadding="false"
android:scaleType="centerCrop"
android:src="@drawable/background" />
<LinearLayout
android:id="@+id/donations_activity_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
</LinearLayout>
</RelativeLayout>
</LinearLayout>
@@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/layout_root"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:padding="10dp" >
<EditText
android:id="@+id/gdxDialogsEditTextInput"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"
android:maxLines="1"
android:maxLength="15"
>
<requestFocus />
</EditText>
</LinearLayout>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 553 B

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.0 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 28 KiB

+1 -10
View File
@@ -2,14 +2,5 @@
<resources>
<string name="app_name">Mindustry</string>
<string-array name="donation_google_catalog_values">
<item>1 Dollar</item>
<item>2 Dollars</item>
<item>5 Dollars</item>
<item>10 Dollars</item>
<item>15 Dollars</item>
<item>25 Dollars</item>
<item>50 Dollars</item>
</string-array>
</resources>
</resources>
@@ -10,44 +10,31 @@ import android.os.Build;
import android.os.Bundle;
import android.provider.Settings.Secure;
import android.telephony.TelephonyManager;
import android.util.Log;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.backends.android.AndroidApplicationConfiguration;
import com.badlogic.gdx.files.FileHandle;
import com.badlogic.gdx.utils.Base64Coder;
import com.google.android.gms.common.GoogleApiAvailability;
import com.google.android.gms.common.GooglePlayServicesNotAvailableException;
import com.google.android.gms.common.GooglePlayServicesRepairableException;
import com.google.android.gms.security.ProviderInstaller;
import io.anuke.kryonet.DefaultThreadImpl;
import io.anuke.kryonet.KryoClient;
import io.anuke.kryonet.KryoServer;
import io.anuke.arc.Core;
import io.anuke.arc.backends.android.surfaceview.AndroidApplication;
import io.anuke.arc.backends.android.surfaceview.AndroidApplicationConfiguration;
import io.anuke.arc.files.FileHandle;
import io.anuke.arc.function.Consumer;
import io.anuke.arc.scene.ui.layout.Unit;
import io.anuke.arc.util.Strings;
import io.anuke.arc.util.serialization.Base64Coder;
import io.anuke.net.KryoClient;
import io.anuke.net.KryoServer;
import io.anuke.mindustry.core.Platform;
import io.anuke.mindustry.core.ThreadHandler.ThreadProvider;
import io.anuke.mindustry.game.Saves.SaveSlot;
import io.anuke.mindustry.io.SaveIO;
import io.anuke.mindustry.net.Net;
import io.anuke.mindustry.ui.dialogs.FileChooser;
import io.anuke.ucore.function.Consumer;
import io.anuke.ucore.scene.ui.TextField;
import io.anuke.ucore.scene.ui.layout.Unit;
import io.anuke.ucore.util.Bundles;
import io.anuke.ucore.util.Strings;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.text.DateFormat;
import java.text.NumberFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.Locale;
import static io.anuke.mindustry.Vars.*;
public class AndroidLauncher extends PatchedAndroidApplication{
public class AndroidLauncher extends AndroidApplication{
public static final int PERMISSION_REQUEST_CODE = 1;
boolean doubleScaleTablets = true;
FileChooser chooser;
@@ -57,54 +44,18 @@ public class AndroidLauncher extends PatchedAndroidApplication{
super.onCreate(savedInstanceState);
AndroidApplicationConfiguration config = new AndroidApplicationConfiguration();
config.useImmersiveMode = true;
config.depth = 0;
Platform.instance = new Platform(){
DateFormat format = SimpleDateFormat.getDateTimeInstance();
@Override
public boolean hasDiscord(){
return isPackageInstalled("com.discord");
}
@Override
public String format(Date date){
return format.format(date);
}
@Override
public String format(int number){
return NumberFormat.getIntegerInstance().format(number);
}
@Override
public void addDialog(TextField field, int length){
TextFieldDialogListener.add(field, 0, length);
}
@Override
public String getLocaleName(Locale locale){
return locale.getDisplayName(locale);
}
@Override
public void openDonations(){
showDonations();
}
@Override
public ThreadProvider getThreadProvider(){
return new DefaultThreadImpl();
}
@Override
public boolean isDebug(){
return false;
public void hide(){
moveTaskToBack(true);
}
@Override
public String getUUID(){
try{
String s = Secure.getString(getContext().getContentResolver(),
Secure.ANDROID_ID);
String s = Secure.getString(getContext().getContentResolver(), Secure.ANDROID_ID);
int len = s.length();
byte[] data = new byte[len / 2];
for(int i = 0; i < len; i += 2){
@@ -138,13 +89,13 @@ public class AndroidLauncher extends PatchedAndroidApplication{
if(checkSelfPermission(Manifest.permission.READ_EXTERNAL_STORAGE) != PackageManager.PERMISSION_GRANTED){
perms.add(Manifest.permission.READ_EXTERNAL_STORAGE);
}
requestPermissions(perms.toArray(new String[perms.size()]), PERMISSION_REQUEST_CODE);
requestPermissions(perms.toArray(new String[0]), PERMISSION_REQUEST_CODE);
}
}
@Override
public void beginForceLandscape(){
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE);
}
@Override
@@ -157,17 +108,11 @@ public class AndroidLauncher extends PatchedAndroidApplication{
return true;
}
};
try{
ProviderInstaller.installIfNeeded(this);
}catch(GooglePlayServicesRepairableException e){
GoogleApiAvailability apiAvailability = GoogleApiAvailability.getInstance();
apiAvailability.getErrorDialog(this, e.getConnectionStatusCode(), 0).show();
}catch(GooglePlayServicesNotAvailableException e){
Log.e("SecurityException", "Google Play Services not available.");
}
if(doubleScaleTablets && isTablet(this.getContext())){
Unit.dp.addition = 0.5f;
}
config.hideStatusBar = true;
Net.setClientProvider(new KryoClient());
Net.setServerProvider(new KryoServer());
@@ -176,7 +121,7 @@ public class AndroidLauncher extends PatchedAndroidApplication{
}
@Override
public void onRequestPermissionsResult(int requestCode, String permissions[], int[] grantResults){
public void onRequestPermissionsResult(int requestCode, String[] permissions, int[] grantResults){
if(requestCode == PERMISSION_REQUEST_CODE){
for(int i : grantResults){
if(i != PackageManager.PERMISSION_GRANTED) return;
@@ -205,28 +150,30 @@ public class AndroidLauncher extends PatchedAndroidApplication{
InputStream inStream;
if(myFile != null) inStream = new FileInputStream(myFile);
else inStream = getContentResolver().openInputStream(uri);
Gdx.app.postRunnable(() -> {
Core.app.post(() -> {
if(save){ //open save
System.out.println("Opening save.");
FileHandle file = Gdx.files.local("temp-save." + saveExtension);
FileHandle file = Core.files.local("temp-save." + saveExtension);
file.write(inStream, false);
if(SaveIO.isSaveValid(file)){
try{
SaveSlot slot = control.getSaves().importSave(file);
SaveSlot slot = control.saves.importSave(file);
ui.load.runLoadSave(slot);
}catch(IOException e){
ui.showError(Bundles.format("text.save.import.fail", Strings.parseException(e, false)));
ui.showError(Core.bundle.format("save.import.fail", Strings.parseException(e, false)));
}
}else{
ui.showError("$text.save.import.invalid");
ui.showError("$save.import.invalid");
}
}else if(map){ //open map
Gdx.app.postRunnable(() -> {
FileHandle file = Core.files.local("temp-map." + mapExtension);
file.write(inStream, false);
Core.app.post(() -> {
System.out.println("Opening map.");
if(!ui.editor.isShown()){
ui.editor.show();
}
ui.editor.beginEditMap(inStream);
ui.editor.beginEditMap(file);
});
}
});
@@ -236,22 +183,8 @@ public class AndroidLauncher extends PatchedAndroidApplication{
}
}
private boolean isPackageInstalled(String packagename){
try{
getPackageManager().getPackageInfo(packagename, 0);
return true;
}catch(Exception e){
return false;
}
}
private boolean isTablet(Context context){
TelephonyManager manager = (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE);
return manager.getPhoneType() == TelephonyManager.PHONE_TYPE_NONE;
}
private void showDonations(){
Intent intent = new Intent(this, DonationsActivity.class);
startActivity(intent);
return manager != null && manager.getPhoneType() == TelephonyManager.PHONE_TYPE_NONE;
}
}
@@ -1,119 +0,0 @@
package io.anuke.mindustry;
import android.app.Activity;
import android.app.AlertDialog;
import android.text.InputFilter;
import android.view.LayoutInflater;
import android.view.View;
import android.view.WindowManager.LayoutParams;
import android.widget.EditText;
import com.badlogic.gdx.Gdx;
public class AndroidTextFieldDialog{
private Activity activity;
private EditText userInput;
private AlertDialog.Builder builder;
private TextPromptListener listener;
private boolean isBuild;
public AndroidTextFieldDialog(){
this.activity = (Activity) Gdx.app;
load();
}
public AndroidTextFieldDialog show(){
activity.runOnUiThread(() -> {
AlertDialog dialog = builder.create();
dialog.getWindow().setSoftInputMode(LayoutParams.SOFT_INPUT_STATE_VISIBLE);
dialog.show();
});
return this;
}
private AndroidTextFieldDialog load(){
activity.runOnUiThread(() -> {
AlertDialog.Builder alertDialogBuilder = new AlertDialog.Builder(activity);
LayoutInflater li = LayoutInflater.from(activity);
View promptsView = li.inflate(getResourceId("gdxdialogs_inputtext", "layout"), null);
alertDialogBuilder.setView(promptsView);
userInput = promptsView.findViewById(getResourceId("gdxDialogsEditTextInput", "id"));
alertDialogBuilder.setCancelable(false);
builder = alertDialogBuilder;
isBuild = true;
});
// Wait till TextPrompt is built.
while(!isBuild){
try{
Thread.sleep(10);
}catch(InterruptedException e){
}
}
return this;
}
public int getResourceId(String pVariableName, String pVariableType){
try{
return activity.getResources().getIdentifier(pVariableName, pVariableType, activity.getPackageName());
}catch(Exception e){
Gdx.app.error("Android Dialogs", "Cannot find resouce with name: " + pVariableName
+ " Did you copy the layouts to /res/layouts and /res/layouts_v14 ?");
e.printStackTrace();
return -1;
}
}
public AndroidTextFieldDialog setText(CharSequence value){
userInput.append(value);
return this;
}
public AndroidTextFieldDialog setCancelButtonLabel(CharSequence label){
builder.setNegativeButton(label, (dialog, id) -> dialog.cancel());
return this;
}
public AndroidTextFieldDialog setConfirmButtonLabel(CharSequence label){
builder.setPositiveButton(label, (dialog, id) -> {
if(listener != null && !userInput.getText().toString().isEmpty()){
listener.confirm(userInput.getText().toString());
}
});
return this;
}
public AndroidTextFieldDialog setTextPromptListener(TextPromptListener listener){
this.listener = listener;
return this;
}
public AndroidTextFieldDialog setInputType(int type){
userInput.setInputType(type);
return this;
}
public AndroidTextFieldDialog setMaxLength(int length){
userInput.setFilters(new InputFilter[]{new InputFilter.LengthFilter(length)});
return this;
}
public interface TextPromptListener{
void confirm(String text);
}
}
@@ -1,77 +0,0 @@
package io.anuke.mindustry;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import android.view.View;
import android.widget.Button;
import org.sufficientlysecure.donations.DonationsFragment;
public class DonationsActivity extends FragmentActivity{
/**
* Google
*/
private static final String GOOGLE_PUBKEY = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzG93KhpfBPKTo2jF0yxbWkkmMKwsPNM4SsMj1aDq7vv6n3R+mqJVfprOJxFfJh7JchXTflLIgiaKXFAiU70gJbMTniEWnEaFSxAeF09a7U0RjOwN+7rFwjCG91c2CpYxPanBTQP4zasc1ODPVzq4q6/4ByjhenN71V4WmR08NFIAodcfFPrOkDPil7i8y7cgcd1Ky53U0TS+LLYJttAK3XdTK4s7VE3I5IKoeNa4uwCmIM59R67q2k3cXjLk/nP6MP+y++EzHN/PTiR1sVg4dMP8K31RPw/1QNLPQwJz6Wc872oWwb7xo5gkoXbDc5WPPydsi8F3SyKNaYwzN6CDFQIDAQAB";
private static final String[] GOOGLE_CATALOG = new String[]{
"mindustry.donation.1", "mindustry.donation.2", "mindustry.donation.5",
"mindustry.donation.10", "mindustry.donation.15",
"mindustry.donation.25", "mindustry.donation.50"};
DonationsFragment donationsFragment;
/**
* Called when the activity is first created.
*/
@Override
public void onCreate(Bundle savedInstanceState){
super.onCreate(savedInstanceState);
setTheme(R.style.GdxTheme);
setContentView(R.layout.donations_activity);
FragmentTransaction ft = getSupportFragmentManager().beginTransaction();
if(BuildConfig.DONATIONS_GOOGLE){
donationsFragment = DonationsFragment.newInstance(BuildConfig.DEBUG, true, GOOGLE_PUBKEY, GOOGLE_CATALOG,
getResources().getStringArray(R.array.donation_google_catalog_values), false, null, null,
null, false, null, null, false, null);
}
ft.replace(R.id.donations_activity_container, donationsFragment, "donationsFragment");
ft.commit();
}
public void onStart(){
super.onStart();
Button b = ((Button) findViewById(org.sufficientlysecure.donations.R.id.donations__google_android_market_donate_button));
b.setOnClickListener(new View.OnClickListener(){
@Override
public void onClick(View view){
donationsFragment.donateGoogleOnClick(donationsFragment.getView());
b.setEnabled(false);
}
});
}
/**
* Needed for Google Play In-app Billing. It uses startIntentSenderForResult(). The result is not propagated to
* the Fragment like in startActivityForResult(). Thus we need to propagate manually to our Fragment.
*/
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data){
super.onActivityResult(requestCode, resultCode, data);
Button b = ((Button) findViewById(org.sufficientlysecure.donations.R.id.donations__google_android_market_donate_button));
b.setEnabled(true);
FragmentManager fragmentManager = getSupportFragmentManager();
Fragment fragment = fragmentManager.findFragmentByTag("donationsFragment");
if(fragment != null){
fragment.onActivityResult(requestCode, resultCode, data);
//TODO donation event, set settings?
}
}
}
@@ -1,20 +0,0 @@
package io.anuke.mindustry;
import com.badlogic.gdx.backends.android.AndroidApplication;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
public class PatchedAndroidApplication extends AndroidApplication {
private final ExecutorService exec = Executors.newSingleThreadExecutor();
@Override
protected void onPause () {
if(useImmersiveMode) {
exec.submit(() -> {
try {Thread.sleep(100);} catch (InterruptedException ignored) {}
graphics.onDrawFrame(null);
});
}
super.onPause();
}
}
@@ -1,67 +0,0 @@
package io.anuke.mindustry;
import android.text.InputType;
import com.badlogic.gdx.Application.ApplicationType;
import com.badlogic.gdx.Gdx;
import io.anuke.ucore.scene.event.ChangeListener;
import io.anuke.ucore.scene.event.ClickListener;
import io.anuke.ucore.scene.event.InputEvent;
import io.anuke.ucore.scene.event.InputListener;
import io.anuke.ucore.scene.ui.TextField;
public class TextFieldDialogListener extends ClickListener{
private TextField field;
private int type;
private int max;
//type - 0 is text, 1 is numbers, 2 is decimals
public TextFieldDialogListener(TextField field, int type, int max){
this.field = field;
this.type = type;
this.max = max;
}
public static void add(TextField field, int type, int max){
field.addListener(new TextFieldDialogListener(field, type, max));
field.addListener(new InputListener(){
public boolean touchDown(InputEvent event, float x, float y, int pointer, int button){
Gdx.input.setOnscreenKeyboardVisible(false);
return false;
}
});
}
public static void add(TextField field){
add(field, 0, 16);
}
public void clicked(final InputEvent event, float x, float y){
if(Gdx.app.getType() == ApplicationType.Desktop) return;
AndroidTextFieldDialog dialog = new AndroidTextFieldDialog();
dialog.setTextPromptListener(text -> {
field.clearText();
field.appendText(text);
field.fire(new ChangeListener.ChangeEvent());
Gdx.graphics.requestRendering();
});
if(type == 0){
dialog.setInputType(InputType.TYPE_CLASS_TEXT);
}else if(type == 1){
dialog.setInputType(InputType.TYPE_CLASS_NUMBER);
}else if(type == 2){
dialog.setInputType(InputType.TYPE_NUMBER_FLAG_DECIMAL);
}
dialog.setConfirmButtonLabel("OK").setText(field.getText());
dialog.setCancelButtonLabel("Cancel");
dialog.setMaxLength(max);
dialog.show();
event.cancel();
}
}
+3 -1
View File
@@ -1,4 +1,6 @@
apply plugin: "java"
sourceCompatibility = 1.8
sourceSets.main.java.srcDirs = [ "src/" ]
sourceSets.main.java.srcDirs = [ "src/main/java/" ]
sourceSets.main.resources.srcDirs = [ "src/main/resources/" ]
@@ -5,12 +5,42 @@ import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Goal: To create a system to send events to the server from the client and vice versa, without creating a new packet type each time.<br>
* These events may optionally also trigger on the caller client/server as well.<br>
*/
public class Annotations{
@Target({ElementType.METHOD, ElementType.FIELD})
@Retention(RetentionPolicy.SOURCE)
public @interface Nullable{
}
@Target({ElementType.METHOD, ElementType.FIELD})
@Retention(RetentionPolicy.SOURCE)
public @interface NonNull{
}
/** Marks a class as serializable.*/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.SOURCE)
public @interface Serialize{
}
/** Marks a class as a special value type struct. Class name must end in 'Struct'.*/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.SOURCE)
public @interface Struct{
}
/**Marks a field of a struct. Optional.*/
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.SOURCE)
public @interface StructField{
/**Size of a struct field in bits. Not valid on booleans or floating point numbers.*/
int value();
}
public enum PacketPriority{
/** Gets put in a queue and processed if not connected. */
normal,
@@ -60,7 +90,7 @@ public class Annotations{
/** Marks a method as invokable remotely across a server/client connection. */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.CLASS)
@Retention(RetentionPolicy.SOURCE)
public @interface Remote{
/** Specifies the locations from which this method can be invoked. */
Loc targets() default Loc.server;
@@ -90,7 +120,7 @@ public class Annotations{
* being the type returned by {@link #value()}.
*/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.CLASS)
@Retention(RetentionPolicy.SOURCE)
public @interface WriteClass{
Class<?> value();
}
@@ -101,7 +131,7 @@ public class Annotations{
* and have one parameter, being of type {@link java.nio.ByteBuffer}.
*/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.CLASS)
@Retention(RetentionPolicy.SOURCE)
public @interface ReadClass{
Class<?> value();
}
@@ -1,5 +1,7 @@
package io.anuke.annotations;
import io.anuke.annotations.MethodEntry;
import java.util.ArrayList;
/** Represents a class witha list method entries to include in it. */
@@ -21,13 +21,15 @@ import java.util.stream.Collectors;
/** The annotation processor for generating remote method call code. */
@SupportedSourceVersion(SourceVersion.RELEASE_8)
@SupportedAnnotationTypes({
"io.anuke.annotations.Annotations.Remote",
"io.anuke.annotations.Annotations.WriteClass",
"io.anuke.annotations.Annotations.ReadClass",
"io.anuke.annotations.Annotations.Remote",
"io.anuke.annotations.Annotations.WriteClass",
"io.anuke.annotations.Annotations.ReadClass",
})
public class RemoteMethodAnnotationProcessor extends AbstractProcessor{
/** Maximum size of each event packet. */
public static final int maxPacketSize = 4096;
/** Warning on top of each autogenerated file.*/
public static final String autogenWarning = "Autogenerated file. Do not modify!\n";
/** Name of the base package to put all the generated classes. */
private static final String packageName = "io.anuke.mindustry.gen";
@@ -74,7 +76,6 @@ public class RemoteMethodAnnotationProcessor extends AbstractProcessor{
if(round == 1){
//get serializers
serializers = new IOFinder().findSerializers(roundEnv);
//last method ID used
int lastMethodID = 0;
//find all elements with the Remote annotation
@@ -108,8 +109,6 @@ public class RemoteMethodAnnotationProcessor extends AbstractProcessor{
ClassEntry clas = new ClassEntry(callLocation);
classMap.put(callLocation, clas);
classes.add(clas);
Utils.messager.printMessage(Kind.NOTE, "Generating class '" + clas.name + "'.");
}
ClassEntry entry = classMap.get(callLocation);
@@ -139,6 +138,7 @@ public class RemoteMethodAnnotationProcessor extends AbstractProcessor{
//create class for storing unique method hash
TypeSpec.Builder hashBuilder = TypeSpec.classBuilder("MethodHash").addModifiers(Modifier.PUBLIC);
hashBuilder.addJavadoc(autogenWarning);
hashBuilder.addField(FieldSpec.builder(int.class, "HASH", Modifier.STATIC, Modifier.PUBLIC, Modifier.FINAL)
.initializer("$1L", Objects.hash(methods)).build());
@@ -26,7 +26,7 @@ public class RemoteReadGenerator{
/**
* Generates a class for reading remote invoke packets.
*
* @param entries List of methods to use/
* @param entries List of methods to use.
* @param className Simple target class name.
* @param packageName Full target package name.
* @param needsPlayer Whether this read method requires a reference to the player sender.
@@ -35,6 +35,7 @@ public class RemoteReadGenerator{
throws IllegalAccessException, InvocationTargetException, InstantiationException, NoSuchMethodException, IOException{
TypeSpec.Builder classBuilder = TypeSpec.classBuilder(className).addModifiers(Modifier.PUBLIC);
classBuilder.addJavadoc(RemoteMethodAnnotationProcessor.autogenWarning);
//create main method builder
MethodSpec.Builder readMethod = MethodSpec.methodBuilder("readPacket")
@@ -49,7 +50,7 @@ public class RemoteReadGenerator{
Constructor<TypeName> cons = TypeName.class.getDeclaredConstructor(String.class);
cons.setAccessible(true);
TypeName playerType = cons.newInstance("io.anuke.mindustry.entities.Player");
TypeName playerType = cons.newInstance("io.anuke.mindustry.entities.type.Player");
//add player parameter
readMethod.addParameter(playerType, "player");
}
@@ -29,6 +29,7 @@ public class RemoteWriteGenerator{
for(ClassEntry entry : entries){
//create builder
TypeSpec.Builder classBuilder = TypeSpec.classBuilder(entry.name).addModifiers(Modifier.PUBLIC);
classBuilder.addJavadoc(RemoteMethodAnnotationProcessor.autogenWarning);
//add temporary write buffer
classBuilder.addField(FieldSpec.builder(ByteBuffer.class, "TEMP_BUFFER", Modifier.STATIC, Modifier.PRIVATE, Modifier.FINAL)
@@ -79,7 +80,7 @@ public class RemoteWriteGenerator{
return;
}
if(!elem.getParameters().get(0).asType().toString().equals("io.anuke.mindustry.entities.Player")){
if(!elem.getParameters().get(0).asType().toString().equals("io.anuke.mindustry.entities.type.Player")){
Utils.messager.printMessage(Kind.ERROR, "Client invoke methods should have a first parameter of type Player.", elem);
return;
}
@@ -108,7 +109,7 @@ public class RemoteWriteGenerator{
for(VariableElement var : elem.getParameters()){
//special case: calling local-only methods uses the local player
if(index == 0 && methodEntry.where == Loc.client){
results.append("io.anuke.mindustry.Vars.players[0]");
results.append("io.anuke.mindustry.Vars.player");
}else{
results.append(var.getSimpleName());
}
@@ -129,7 +130,7 @@ public class RemoteWriteGenerator{
method.beginControlFlow("if(" + getCheckString(methodEntry.where) + ")");
//add statement to create packet from pool
method.addStatement("$1N packet = $2N.obtain($1N.class)", "io.anuke.mindustry.net.Packets.InvokePacket", "io.anuke.ucore.util.Pooling");
method.addStatement("$1N packet = $2N.obtain($1N.class, $1N::new)", "io.anuke.mindustry.net.Packets.InvokePacket", "io.anuke.arc.util.pooling.Pools");
//assign buffer
method.addStatement("packet.writeBuffer = TEMP_BUFFER");
//assign priority
@@ -0,0 +1,185 @@
package io.anuke.annotations;
import com.squareup.javapoet.*;
import io.anuke.annotations.Annotations.Serialize;
import javax.annotation.processing.*;
import javax.lang.model.SourceVersion;
import javax.lang.model.element.Modifier;
import javax.lang.model.element.TypeElement;
import javax.lang.model.element.VariableElement;
import javax.lang.model.util.ElementFilter;
import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
import java.lang.reflect.Field;
import java.util.List;
import java.util.Set;
@SupportedSourceVersion(SourceVersion.RELEASE_8)
@SupportedAnnotationTypes({
"io.anuke.annotations.Annotations.Serialize"
})
public class SerializeAnnotationProcessor extends AbstractProcessor{
/**Target class name.*/
private static final String className = "Serialization";
/** Name of the base package to put all the generated classes. */
private static final String packageName = "io.anuke.mindustry.gen";
private int round;
@Override
public synchronized void init(ProcessingEnvironment processingEnv){
super.init(processingEnv);
//put all relevant utils into utils class
Utils.typeUtils = processingEnv.getTypeUtils();
Utils.elementUtils = processingEnv.getElementUtils();
Utils.filer = processingEnv.getFiler();
Utils.messager = processingEnv.getMessager();
}
@Override
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv){
if(round++ != 0) return false; //only process 1 round
try{
Set<TypeElement> elements = ElementFilter.typesIn(roundEnv.getElementsAnnotatedWith(Serialize.class));
TypeSpec.Builder classBuilder = TypeSpec.classBuilder(className).addModifiers(Modifier.PUBLIC);
classBuilder.addAnnotation(AnnotationSpec.builder(SuppressWarnings.class).addMember("value", "\"unchecked\"").build());
classBuilder.addJavadoc(RemoteMethodAnnotationProcessor.autogenWarning);
MethodSpec.Builder method = MethodSpec.methodBuilder("init").addModifiers(Modifier.PUBLIC, Modifier.STATIC);
TypeName jsonType = ClassName.bestGuess("io.anuke.arc.util.serialization.Json");
TypeName jsonValueType = ClassName.bestGuess("io.anuke.arc.util.serialization.JsonValue");
TypeName ubJsonWriterType = ClassName.bestGuess("io.anuke.arc.util.serialization.UBJsonWriter");
TypeName ubJsonReaderType = ClassName.bestGuess("io.anuke.arc.util.serialization.UBJsonReader");
classBuilder.addField(jsonType, "bjson", Modifier.STATIC, Modifier.PRIVATE);
classBuilder.addField(ubJsonReaderType, "bjsonReader", Modifier.STATIC, Modifier.PRIVATE);
classBuilder.addStaticBlock(CodeBlock.builder()
.addStatement("bjson = new " + jsonType + "()")
.addStatement("bjsonReader = new " + ubJsonReaderType + "()")
.build());
for(TypeElement elem : elements){
TypeName type = TypeName.get(elem.asType());
String simpleTypeName = type.toString().substring(type.toString().lastIndexOf('.') + 1);
TypeSpec.Builder serializer = TypeSpec.anonymousClassBuilder("")
.addSuperinterface(ParameterizedTypeName.get(
ClassName.bestGuess("io.anuke.arc.Settings.TypeSerializer"), type));
MethodSpec.Builder writeMethod = MethodSpec.methodBuilder("write")
.returns(void.class)
.addParameter(DataOutput.class, "stream")
.addParameter(type, "object")
.addException(IOException.class)
.addModifiers(Modifier.PUBLIC);
MethodSpec.Builder readMethod = MethodSpec.methodBuilder("read")
.returns(type)
.addParameter(DataInput.class, "stream")
.addException(IOException.class)
.addModifiers(Modifier.PUBLIC);
MethodSpec.Builder jsonWriteMethod = MethodSpec.methodBuilder("write" + simpleTypeName + "Json")
.returns(void.class)
.addParameter(jsonType, "json")
.addParameter(type, "object")
.addModifiers(Modifier.PUBLIC, Modifier.STATIC);
MethodSpec.Builder jsonReadMethod = MethodSpec.methodBuilder("read" + simpleTypeName + "Json")
.returns(type)
.addParameter(jsonValueType, "value")
.addModifiers(Modifier.PUBLIC, Modifier.STATIC);
readMethod.addStatement("$L object = new $L()", type, type);
jsonReadMethod.addStatement("$L object = new $L()", type, type);
List<VariableElement> fields = ElementFilter.fieldsIn(Utils.elementUtils.getAllMembers(elem));
for(VariableElement field : fields){
if(field.getModifiers().contains(Modifier.STATIC) || field.getModifiers().contains(Modifier.TRANSIENT) || field.getModifiers().contains(Modifier.PRIVATE)) continue;
String name = field.getSimpleName().toString();
String typeName = Utils.typeUtils.erasure(field.asType()).toString().replace('$', '.');
String capName = Character.toUpperCase(typeName.charAt(0)) + typeName.substring(1);
if(field.asType().getKind().isPrimitive()){
writeMethod.addStatement("stream.write" + capName + "(object." + name + ")");
readMethod.addStatement("object." + name + "= stream.read" + capName + "()");
jsonWriteMethod.addStatement("json.writeValue(\"" + name + "\", object." + name +")");
jsonReadMethod.addStatement("if(value.has(\"" + name + "\")) object." + name + "= value.get" + capName + "(\"" + name + "\")");
}else{
writeMethod.addStatement("io.anuke.arc.Core.settings.getSerializer(" + typeName+ ".class).write(stream, object." + name + ")");
readMethod.addStatement("object." + name + " = (" +typeName+")io.anuke.arc.Core.settings.getSerializer(" + typeName+ ".class).read(stream)");
}
}
readMethod.addStatement("return object");
jsonReadMethod.addStatement("return object");
serializer.addMethod(writeMethod.build());
serializer.addMethod(readMethod.build());
method.addStatement("io.anuke.arc.Core.settings.setSerializer($N, $L)", Utils.elementUtils.getBinaryName(elem).toString().replace('$', '.') + ".class", serializer.build());
name(writeMethod, "write" + simpleTypeName);
name(readMethod, "read" + simpleTypeName);
writeMethod.addModifiers(Modifier.STATIC);
readMethod.addModifiers(Modifier.STATIC);
classBuilder.addMethod(writeMethod.build());
classBuilder.addMethod(readMethod.build());
classBuilder.addMethod(jsonWriteMethod.build());
classBuilder.addMethod(jsonReadMethod.build());
MethodSpec.Builder binaryJsonWriteMethod = MethodSpec.methodBuilder("write" + simpleTypeName + "StreamJson")
.returns(void.class)
.addParameter(DataOutput.class, "stream")
.addParameter(type, "object")
.addException(IOException.class)
.addModifiers(Modifier.PUBLIC, Modifier.STATIC)
.addStatement("java.io.StringWriter output = new java.io.StringWriter()")
.addStatement("bjson.setWriter(output)")
.addStatement("bjson.writeObjectStart(" + type + ".class, " + type + ".class)")
.addStatement("write" + simpleTypeName + "Json(bjson, object)")
.addStatement("bjson.writeObjectEnd()")
.addStatement("stream.writeUTF(output.toString())");
MethodSpec.Builder binaryJsonReadMethod = MethodSpec.methodBuilder("read" + simpleTypeName + "StreamJson")
.returns(type)
.addParameter(DataInput.class, "stream")
.addException(IOException.class)
.addModifiers(Modifier.PUBLIC, Modifier.STATIC)
.addStatement("return read" + simpleTypeName + "Json(bjson.fromJson(null, stream.readUTF()))");
classBuilder.addMethod(binaryJsonWriteMethod.build());
classBuilder.addMethod(binaryJsonReadMethod.build());
}
classBuilder.addMethod(method.build());
//write result
JavaFile.builder(packageName, classBuilder.build()).build().writeTo(Utils.filer);
return true;
}catch(Exception e){
e.printStackTrace();
throw new RuntimeException(e);
}
}
static void name(MethodSpec.Builder builder, String name){
try{
Field field = builder.getClass().getDeclaredField("name");
field.setAccessible(true);
field.set(builder, name);
}catch(Exception e){
throw new RuntimeException(e);
}
}
}
@@ -0,0 +1,229 @@
package io.anuke.annotations;
import com.squareup.javapoet.JavaFile;
import com.squareup.javapoet.MethodSpec;
import com.squareup.javapoet.TypeName;
import com.squareup.javapoet.TypeSpec;
import io.anuke.annotations.Annotations.Struct;
import io.anuke.annotations.Annotations.StructField;
import javax.annotation.processing.*;
import javax.lang.model.SourceVersion;
import javax.lang.model.element.Modifier;
import javax.lang.model.element.TypeElement;
import javax.lang.model.element.VariableElement;
import javax.lang.model.type.TypeKind;
import javax.lang.model.util.ElementFilter;
import javax.tools.Diagnostic.Kind;
import java.util.List;
import java.util.Set;
/**Generates ""value types"" classes that are packed into integer primitives of the most aproppriate size.
* It would be nice if Java didn't make crazy hacks like this necessary.*/
@SupportedSourceVersion(SourceVersion.RELEASE_8)
@SupportedAnnotationTypes({
"io.anuke.annotations.Annotations.Struct"
})
public class StructAnnotationProcessor extends AbstractProcessor{
/** Name of the base package to put all the generated classes. */
private static final String packageName = "io.anuke.mindustry.gen";
private int round;
@Override
public synchronized void init(ProcessingEnvironment processingEnv){
super.init(processingEnv);
//put all relevant utils into utils class
Utils.typeUtils = processingEnv.getTypeUtils();
Utils.elementUtils = processingEnv.getElementUtils();
Utils.filer = processingEnv.getFiler();
Utils.messager = processingEnv.getMessager();
}
@Override
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv){
if(round++ != 0) return false; //only process 1 round
try{
Set<TypeElement> elements = ElementFilter.typesIn(roundEnv.getElementsAnnotatedWith(Struct.class));
for(TypeElement elem : elements){
if(!elem.getSimpleName().toString().endsWith("Struct")){
Utils.messager.printMessage(Kind.ERROR, "All classes annotated with @Struct must have their class names end in 'Struct'.", elem);
continue;
}
String structName = elem.getSimpleName().toString().substring(0, elem.getSimpleName().toString().length() - "Struct".length());
String structParam = structName.toLowerCase();
TypeSpec.Builder classBuilder = TypeSpec.classBuilder(structName)
.addModifiers(Modifier.FINAL, Modifier.PUBLIC);
try{
List<VariableElement> variables = ElementFilter.fieldsIn(elem.getEnclosedElements());
int structSize = variables.stream().mapToInt(StructAnnotationProcessor::varSize).sum();
int structTotalSize = (structSize <= 8 ? 8 : structSize <= 16 ? 16 : structSize <= 32 ? 32 : 64);
if(variables.size() == 0){
Utils.messager.printMessage(Kind.ERROR, "making a struct with no fields is utterly pointles.", elem);
continue;
}
//obtain type which will be stored
Class<?> structType = typeForSize(structSize);
//[constructor] get(fields...) : structType
MethodSpec.Builder constructor = MethodSpec.methodBuilder("get")
.addModifiers(Modifier.STATIC, Modifier.PUBLIC)
.returns(structType);
StringBuilder cons = new StringBuilder();
StringBuilder doc = new StringBuilder();
doc.append("Bits used: ").append(structSize).append(" / ").append(structTotalSize).append("\n");
int offset = 0;
for(VariableElement var : variables){
int size = varSize(var);
TypeName varType = TypeName.get(var.asType());
String varName = var.getSimpleName().toString();
//add val param to constructor
constructor.addParameter(varType, varName);
//[get] field(structType) : fieldType
MethodSpec.Builder getter = MethodSpec.methodBuilder(var.getSimpleName().toString())
.addModifiers(Modifier.STATIC, Modifier.PUBLIC)
.returns(varType)
.addParameter(structType, structParam);
//[set] field(structType, fieldType) : structType
MethodSpec.Builder setter = MethodSpec.methodBuilder(var.getSimpleName().toString())
.addModifiers(Modifier.STATIC, Modifier.PUBLIC)
.returns(structType)
.addParameter(structType, structParam).addParameter(varType, "value");
//[getter]
if(varType == TypeName.BOOLEAN){
//bools: single bit, is simplified
getter.addStatement("return ($L & (1L << $L)) != 0", structParam, offset);
}else if(varType == TypeName.FLOAT){
//floats: need conversion
getter.addStatement("return Float.intBitsToFloat((int)(($L >>> $L) & $L))", structParam, offset, bitString(size, structTotalSize));
}else{
//bytes, shorts, chars, ints
getter.addStatement("return ($T)(($L >>> $L) & $L)", varType, structParam, offset, bitString(size, structTotalSize));
}
//[setter] + [constructor building]
if(varType == TypeName.BOOLEAN){
cons.append(" | (").append(varName).append(" ? ").append("1L << ").append(offset).append("L : 0)");
//bools: single bit, needs special case to clear things
setter.beginControlFlow("if(value)");
setter.addStatement("return ($T)(($L & ~(1L << $LL)))", structType, structParam, offset);
setter.nextControlFlow("else");
setter.addStatement("return ($T)(($L & ~(1L << $LL)) | (1L << $LL))", structType, structParam, offset, offset);
setter.endControlFlow();
}else if(varType == TypeName.FLOAT){
cons.append(" | (").append("(").append(structType).append(")").append("Float.floatToIntBits(").append(varName).append(") << ").append(offset).append("L)");
//floats: need conversion
setter.addStatement("return ($T)(($L & $L) | (($T)Float.floatToIntBits(value) << $LL))", structType, structParam, bitString(offset, size, structTotalSize), structType, offset);
}else{
cons.append(" | (((").append(structType).append(")").append(varName).append(" << ").append(offset).append("L)").append(" & ").append(bitString(offset, size, structTotalSize)).append(")");
//bytes, shorts, chars, ints
setter.addStatement("return ($T)(($L & $L) | (($T)value << $LL))", structType, structParam, bitString(offset, size, structTotalSize), structType, offset);
}
doc.append("<br> ").append(varName).append(" [").append(offset).append("..").append(size + offset).append("]\n");
//add finished methods
classBuilder.addMethod(getter.build());
classBuilder.addMethod(setter.build());
offset += size;
}
classBuilder.addJavadoc(doc.toString());
//add constructor final statement + add to class and build
constructor.addStatement("return ($T)($L)", structType, cons.toString().substring(3));
classBuilder.addMethod(constructor.build());
JavaFile.builder(packageName, classBuilder.build()).build().writeTo(Utils.filer);
}catch(IllegalArgumentException e){
e.printStackTrace();
Utils.messager.printMessage(Kind.ERROR, e.getMessage(), elem);
}
}
return true;
}catch(Exception e){
e.printStackTrace();
throw new RuntimeException(e);
}
}
static String bitString(int offset, int size, int totalSize){
StringBuilder builder = new StringBuilder();
for(int i = 0; i < offset; i++) builder.append('0');
for(int i = 0; i < size; i++) builder.append('1');
for(int i = 0; i < totalSize - size - offset; i++) builder.append('0');
return "0b" + builder.reverse().toString() + "L";
}
static String bitString(int size, int totalSize){
StringBuilder builder = new StringBuilder();
for(int i = 0; i < size; i++) builder.append('1');
for(int i = 0; i < totalSize - size; i++) builder.append('0');
return "0b" + builder.reverse().toString() + "L";
}
static int varSize(VariableElement var) throws IllegalArgumentException{
if(!var.asType().getKind().isPrimitive()){
throw new IllegalArgumentException("All struct fields must be primitives: " + var);
}
StructField an = var.getAnnotation(StructField.class);
if(var.asType().getKind() == TypeKind.BOOLEAN && an != null && an.value() != 1){
throw new IllegalArgumentException("Booleans can only be one bit long... why would you do this?");
}
if(var.asType().getKind() == TypeKind.FLOAT && an != null && an.value() != 32){
throw new IllegalArgumentException("Float size can't be changed. Very sad.");
}
return an == null ? typeSize(var.asType().getKind()) : an.value();
}
static Class<?> typeForSize(int size) throws IllegalArgumentException{
if(size <= 8){
return byte.class;
}else if(size <= 16){
return short.class;
}else if(size <= 32){
return int.class;
}else if(size <= 64){
return long.class;
}
throw new IllegalArgumentException("Too many fields, must fit in 64 bits. Curent size: " + size);
}
/**returns a type's element size in bits.*/
static int typeSize(TypeKind kind) throws IllegalArgumentException{
switch(kind){
case BOOLEAN:
return 1;
case BYTE:
return 8;
case SHORT:
return 16;
case FLOAT:
case CHAR:
case INT:
return 32;
default:
throw new IllegalArgumentException("Invalid type kind: " + kind + ". Note that doubles and longs are not supported.");
}
}
}
@@ -0,0 +1,3 @@
io.anuke.annotations.RemoteMethodAnnotationProcessor
io.anuke.annotations.SerializeAnnotationProcessor
io.anuke.annotations.StructAnnotationProcessor
+164 -139
View File
@@ -1,36 +1,67 @@
buildscript {
repositories {
buildscript{
repositories{
mavenLocal()
mavenCentral()
google()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
maven{ url "https://oss.sonatype.org/content/repositories/snapshots/" }
jcenter()
}
dependencies {
classpath 'com.mobidevelop.robovm:robovm-gradle-plugin:2.3.0'
classpath 'de.richsource.gradle.plugins:gwt-gradle-plugin:0.6'
classpath 'com.android.tools.build:gradle:3.1.3'
classpath "com.badlogicgames.gdx:gdx-tools:1.9.8"
dependencies{
classpath 'com.mobidevelop.robovm:robovm-gradle-plugin:2.3.6'
classpath "com.badlogicgames.gdx:gdx-tools:1.9.9"
classpath "com.badlogicgames.packr:packr:2.1-SNAPSHOT"
}
}
allprojects {
apply plugin: "eclipse"
allprojects{
apply plugin: "idea"
version = 'release'
ext {
versionNumber = '4.0'
versionType = 'alpha'
ext{
versionNumber = '4'
versionModifier = 'beta'
if(!project.hasProperty("versionType")) versionType = 'official'
appName = 'Mindustry'
gdxVersion = '1.9.8'
roboVMVersion = '2.3.0'
uCoreVersion = '76dc741b49'
gdxVersion = '1.9.9'
roboVMVersion = '2.3.6'
arcHash = null
debugged = {
return new File(projectDir.parent, '../debug').exists() && !project.hasProperty("release")
}
localArc = {
return (!project.hasProperty("release")) && new File(projectDir.parent, '../Arc').exists()
}
getArcHash = {
//get latest commit hash from gtihub since JITPack's '-snapshot' version doesn't work correctly
if(arcHash == null){
try{
arcHash = 'git ls-remote https://github.com/Anuken/Arc.git'.execute().text.split("\t")[0]
}catch(e){
e.printStackTrace()
arcHash = "-SNAPSHOT"
}
}
return arcHash
}
arcModule = { String name ->
if(localArc()){
return project(":Arc:$name")
}else{
//skip to last submodule
if(name.contains(':')) name = name.split(':').last()
return "com.github.Anuken.Arc:$name:${getArcHash()}"
}
}
getVersionString = {
String buildVersion = getBuildVersion()
return "$versionNumber-$versionType-$buildVersion"
return "$versionNumber-$versionModifier-$buildVersion"
}
getBuildVersion = {
@@ -43,195 +74,189 @@ allprojects {
}
generateLocales = {
def output = '["en",'
def bundles = new File('core/assets/bundles/')
bundles.listFiles().each { other ->
if(other.name == "bundle.properties") return;
output += '"' + other.name.substring("bundle".length() + 1, other.name.lastIndexOf('.')) + '",'
def output = 'en\n'
def bundles = new File(project(':core').projectDir, 'assets/bundles/')
bundles.listFiles().each{ other ->
if(other.name == "bundle.properties") return
output += other.name.substring("bundle".length() + 1, other.name.lastIndexOf('.')) + "\n"
}
output = (output.substring(0, output.size() - 1) + "]")
new File(project(':core').projectDir, 'assets/locales.json').text = output;
new File(project(':core').projectDir, 'assets/locales').text = output
}
writeVersion = {
def pfile = new File('core/assets/version.properties')
def pfile = new File(project(':core').projectDir, 'assets/version.properties')
def props = new Properties()
try{
pfile.createNewFile()
}catch (Exception e){}
if(pfile.exists()) {
}catch(Exception ignored){}
if(pfile.exists()){
props.load(new FileInputStream(pfile))
String code = getBuildVersion()
String buildid = getBuildVersion()
props["name"] = appName
props["version"] = versionType
props["code"] = versionNumber
props["build"] = code
props["type"] = versionType
props["number"] = versionNumber
props["modifier"] = versionModifier
props["build"] = buildid
props.store(pfile.newWriter(), "Autogenerated file. Do not modify.")
}
}
}
repositories {
repositories{
mavenLocal()
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
maven { url "https://oss.sonatype.org/content/repositories/releases/" }
maven { url 'https://jitpack.io' }
maven{ url "https://oss.sonatype.org/content/repositories/snapshots/" }
maven{ url "https://oss.sonatype.org/content/repositories/releases/" }
maven{ url 'https://jitpack.io' }
}
}
project(":desktop") {
project(":desktop"){
apply plugin: "java"
dependencies {
dependencies{
compile project(":core")
compile project(":kryonet")
compile "com.badlogicgames.gdx:gdx-backend-lwjgl3:$gdxVersion"
compile project(":net")
if(debugged()) compile project(":debug")
compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
compile "com.badlogicgames.gdx:gdx-controllers-lwjgl3:$gdxVersion"
compile "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-desktop"
compile arcModule("backends:backend-lwjgl3")
compile 'com.github.MinnDevelopment:java-discord-rpc:v2.0.0'
}
}
project(":html") {
apply plugin: "gwt"
apply plugin: "war"
dependencies {
compile project(":core")
compileOnly project(":annotations")
compile "com.badlogicgames.gdx:gdx-backend-gwt:$gdxVersion"
compile "com.badlogicgames.gdx:gdx:$gdxVersion:sources"
compile "com.badlogicgames.gdx:gdx-backend-gwt:$gdxVersion:sources"
compile "com.badlogicgames.gdx:gdx-controllers:$gdxVersion:sources"
compile "com.badlogicgames.gdx:gdx-controllers-gwt:$gdxVersion"
compile "com.badlogicgames.gdx:gdx-controllers-gwt:$gdxVersion:sources"
}
compileJava.options.compilerArgs = [
"-processor", "io.anuke.annotations.RemoteMethodAnnotationProcessor"
]
}
project(":ios") {
project(":ios"){
apply plugin: "java"
apply plugin: "robovm"
task copyGen{
doFirst{
copy{
from ("../core/build/classes/java/main/io/anuke/mindustry/gen/"){
include "**/*.java"
}
task incrementConfig{
def vfile = file('robovm.properties')
into "../core/src/io/anuke/mindustry/gen"
}
def props = new Properties()
if(vfile.exists()){
props.load(new FileInputStream(vfile))
}
doLast{
props['app.id'] = 'io.anuke.mindustry'
props['app.version'] = '4.0'
props['app.mainclass'] = 'io.anuke.mindustry.IOSLauncher'
props['app.executable'] = 'IOSLauncher'
props['app.name'] = 'Mindustry'
props['app.build'] = (!props.containsKey("app.build") ? 40 : props['app.build'].toInteger() + 1) + ""
props.store(vfile.newWriter(), null)
}
dependencies{
compile project(":core")
compile project(":net")
compileOnly project(":annotations")
compile arcModule("backends:backend-robovm")
compile "com.mobidevelop.robovm:robovm-rt:$roboVMVersion"
compile "com.mobidevelop.robovm:robovm-cocoatouch:$roboVMVersion"
compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-ios"
compile "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-ios"
}
}
project(":core"){
apply plugin: "java"
task finish{
generateLocales()
}
task cleanGen{
doFirst{
delete{
delete "../core/src/io/anuke/mindustry/gen/"
}
}
}
build.finalizedBy(copyGen)
task copyGen{
doLast{
copy{
from("../core/build/classes/java/main/io/anuke/mindustry/gen/"){
include "**/*.java"
}
dependencies {
compile project(":core")
implementation project(":kryonet")
compile "com.mobidevelop.robovm:robovm-rt:$roboVMVersion"
compile "com.mobidevelop.robovm:robovm-cocoatouch:$roboVMVersion"
compile "com.badlogicgames.gdx:gdx-backend-robovm:$gdxVersion"
compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-ios"
}
}
project(":core") {
apply plugin: "java"
task finish {
generateLocales()
}
dependencies {
compileOnly project(":annotations")
build.finalizedBy(finish)
def comp = System.properties["release"] == null || System.properties["release"] == "false"
if(!comp) println("Note: Compiling release build.")
if(new File(projectDir.parent, '../uCore').exists() && comp){
compile project(":uCore")
}else{
compile "com.github.anuken:ucore:$uCoreVersion"
into "../core/src/io/anuke/mindustry/gen"
}
}
if(new File(projectDir.parent, '../GDXGifRecorder').exists() && comp) {
compile project(":GDXGifRecorder")
}
compile "com.badlogicgames.gdx:gdx:$gdxVersion"
compile "com.badlogicgames.gdx:gdx-controllers:$gdxVersion"
}
compileJava.options.compilerArgs = [
"-processor", "io.anuke.annotations.RemoteMethodAnnotationProcessor"
]
}
dependencies{
compileJava.dependsOn(cleanGen)
compileJava.finalizedBy(copyGen)
project(":server") {
apply plugin: "java"
compile arcModule("arc-core")
compile arcModule("extensions:freetype")
if(localArc() && debugged()) compile arcModule("extensions:recorder")
configurations {
compile.exclude module: android
}
dependencies {
compileOnly project(":annotations")
compile project(":core")
compile project(":kryonet")
compile "com.badlogicgames.gdx:gdx-backend-headless:$gdxVersion"
compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
annotationProcessor project(":annotations")
}
}
project(":packer") {
project(":server"){
apply plugin: "java"
dependencies {
dependencies{
compile project(":core")
compile project(":net")
compile arcModule("backends:backend-headless")
}
}
project(":tests"){
apply plugin: "java"
dependencies{
testImplementation project(":core")
testImplementation "org.junit.jupiter:junit-jupiter-params:5.3.1"
testImplementation "org.junit.jupiter:junit-jupiter-api:5.3.1"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.3.1"
compile arcModule("backends:backend-headless")
}
test{
useJUnitPlatform()
workingDir = new File("../core/assets")
}
}
project(":tools"){
apply plugin: "java"
dependencies{
compile project(":core")
}
}
project(":annotations") {
project(":annotations"){
apply plugin: "java"
dependencies {
dependencies{
compile 'com.squareup:javapoet:1.11.0'
}
}
project(":kryonet") {
project(":net"){
apply plugin: "java"
dependencies {
dependencies{
compile project(":core")
compile 'com.github.crykn:kryonet:2.22.1'
compile "org.lz4:lz4-java:1.4.1"
compile 'com.github.Anuken:kryonet:a64d2280880e80566ca1bdaffa55de43e51cad38'
compile 'com.github.Anuken:WaifUPnP:05eb46bc577fd7674596946ba288c96c0cedd893'
}
}
tasks.eclipse.doLast {
delete ".project"
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 312 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 217 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1018 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 160 B

After

Width:  |  Height:  |  Size: 83 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 177 B

After

Width:  |  Height:  |  Size: 93 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 178 B

After

Width:  |  Height:  |  Size: 95 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 227 B

After

Width:  |  Height:  |  Size: 119 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 215 B

After

Width:  |  Height:  |  Size: 98 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 215 B

After

Width:  |  Height:  |  Size: 98 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 212 B

After

Width:  |  Height:  |  Size: 98 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 212 B

After

Width:  |  Height:  |  Size: 97 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 231 B

After

Width:  |  Height:  |  Size: 116 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 229 B

After

Width:  |  Height:  |  Size: 117 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 233 B

After

Width:  |  Height:  |  Size: 119 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 238 B

After

Width:  |  Height:  |  Size: 117 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 228 B

After

Width:  |  Height:  |  Size: 113 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 225 B

After

Width:  |  Height:  |  Size: 108 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 217 B

After

Width:  |  Height:  |  Size: 104 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 222 B

After

Width:  |  Height:  |  Size: 106 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 249 B

After

Width:  |  Height:  |  Size: 109 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 247 B

After

Width:  |  Height:  |  Size: 107 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 248 B

After

Width:  |  Height:  |  Size: 110 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 234 B

After

Width:  |  Height:  |  Size: 110 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 233 B

After

Width:  |  Height:  |  Size: 109 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 230 B

After

Width:  |  Height:  |  Size: 108 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 229 B

After

Width:  |  Height:  |  Size: 105 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 232 B

After

Width:  |  Height:  |  Size: 109 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 210 B

After

Width:  |  Height:  |  Size: 105 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 229 B

After

Width:  |  Height:  |  Size: 105 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 228 B

After

Width:  |  Height:  |  Size: 105 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 227 B

After

Width:  |  Height:  |  Size: 103 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 265 B

After

Width:  |  Height:  |  Size: 127 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 248 B

After

Width:  |  Height:  |  Size: 127 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 274 B

After

Width:  |  Height:  |  Size: 133 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 281 B

After

Width:  |  Height:  |  Size: 129 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 246 B

After

Width:  |  Height:  |  Size: 120 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 243 B

After

Width:  |  Height:  |  Size: 114 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 236 B

After

Width:  |  Height:  |  Size: 110 B

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