Compare commits

...
355 Commits
Author SHA1 Message Date
Anuken 0a471441cc Balance 2019-08-25 14:23:43 -04:00
Anuken 73149123b4 Fullscreen key / Bugfixes 2019-08-25 12:02:51 -04:00
Anuken 5c6f2171f4 Fixed black tile issue 2019-08-25 11:16:38 -04:00
Anuken fd973038bb mnet was a mistake 2019-08-24 18:29:21 -04:00
Anuken b7dff91d01 Merge remote-tracking branch 'origin/master' 2019-08-24 15:39:22 -04:00
Anuken e314d199f0 By popular demand, re-added command center 2019-08-24 15:39:01 -04:00
Spico (Spirit Guy) 3938c199f6 Request to Reseting the Turkish Translation File (#609)
There were some conflicting duplicated lines and someone put the file onto google translate, so some of the coloured lines were broken, and since (I think) Im the only one who edits this file (My brother didnt started translating yet) It would be easier for me to start from scratch.
2019-08-24 14:41:59 -04:00
Anuken 962eef4a1d or not 2019-08-24 13:06:39 -04:00
Anuken 97443a86cb fixed a crash that shouldn't even happen 2019-08-24 11:52:14 -04:00
Anuken 7137616224 Merge remote-tracking branch 'origin/master' 2019-08-24 10:45:36 -04:00
Anuken 444825a5c1 Bugfix 2019-08-24 10:45:25 -04:00
Anuken 986deaa6c7 Various fixes 2019-08-24 10:32:29 -04:00
Anuken 7b27903de2 Fixed some static library issues 2019-08-24 10:00:04 -04:00
Anuken 8b9be6eafe Removed arcnet as dependency 2019-08-23 18:18:14 -04:00
Anuken da336ea412 Updated bundle texts 2019-08-23 18:14:27 -04:00
Anuken f1cf95d412 Merge remote-tracking branch 'origin/master' 2019-08-23 18:13:30 -04:00
Anuken 6642a3e9ad Added temp changelog to ignore 2019-08-23 18:13:26 -04:00
Dominik 49db7773e8 Update bundle_pl.properties (#586)
* Update bundle_pl.properties

* Update bundle_pl.properties

* Update bundle_pl.properties

* Update bundle_pl.properties

* Update bundle_pl.properties
2019-08-23 18:13:00 -04:00
AmateurPotion 9372819fb8 Update bundle_ko.properties (#588)
* Update bundle_ko.properties

* Update bundle_ko.properties

* Update bundle_ko.properties

* Update bundle_ko.properties

* Update bundle_ko.properties

* Update bundle_ko.properties

* Update bundle_ko.properties

* Update bundle_ko.properties

* Update bundle_ko.properties

* Update bundle_ko.properties

* Update bundle_ko.properties

* Update bundle_ko.properties
2019-08-23 18:12:53 -04:00
VizardAlpha 9d07d81551 bundle_fr_BE.properties (#595)
* bundle_fr_BE.properties

* bundle_fr_BE.properties

* bundle_fr_BE.properties
2019-08-23 18:12:45 -04:00
JasonD157 3c9bcf05e2 Update bundle_nl_BE.properties (#596) 2019-08-23 18:12:38 -04:00
Prosta4okua 3338da2a91 Patch 1 (#597)
* Fixes

* Капіталізація це зло.

* Update bundle_ru.properties

* Update bundle_uk_UA.properties

* .-.

* Gm

Description

* Oof

* ЈҮУКЕНГШҺЗХҸЖДЛОРПАВЫӘЧСМИТҒБӨ

* dada

* Translate new descriptions

* й

* Ukrainian finished. Fixed some errors.

* Translated everything. Maybe.

* /

* 1

* Added tutorial. Thank to Slava0135 and ymomfe.

* 1

* 1

* WATER

WATER

* [[]]

* 1

* gmmm

/-/-/-/

* idk what i changed

* Обновление и корректировка строк с 1 по 90

* router

* Обновление и корректировка строк с 87 по 252

Обновление и корректировка строк с 87 по 252, а так же правка предыдущих.
- 35 строку лучше привести в соответствии с оригинальным текстом, без дополнений и пояснений.
- 103 строка не переводится в соответствии с https://semver.org/lang/ru/ , хотя это не жёсткое правило, поскольку не влияет непосредственно на алгоритм работы с версиями.
- 187 Предлагаю эту строку перевести как 'Настройки карты', не смотря на оригинальный текст (соответственно и 230, 231).

* router

* Обновление и корректировка строк с 253 по 321 - "WorldEditor Update"

Обновление и корректировка строк с 253 по 321, а так же предыдущих.
- Разобраться с 297 строкой ("filter.option.percentile").
- Разобраться с местами применения 322 строки.

* озарение в переводе ;D
2019-08-23 18:12:30 -04:00
Daniel-Chin b31858a64f Update bundle_zh_CN.properties (#598)
Improved some word choice.  
Changed some translations to fit the English counterpart.  
In the weapon descriptions, the Chinese text misses some info. I added them according to the current English descriptions.
2019-08-23 18:11:10 -04:00
Kylof61034 8f2a8dc9ba Add my name to contributors (#602) 2019-08-23 18:10:58 -04:00
Kylof61034 44e54cd4df German translations (#600)
* german translation update 1

* german translation update 2

* german translation update 3

* german translation update 4

* german translation update 5

* german translation update 6

* fixed some little mistakes
2019-08-23 18:10:50 -04:00
Spico (Spirit Guy) 36c41557ea 1 change on the names (#605)
Changed CrazyBearTR onto Spico The Spirit Guy
CrazyBearTR was my old username and I dont use it anymore, so i dont think it needs to be there
2019-08-23 18:10:33 -04:00
Anuken d0d72101ab Fixed game6.ogg ending abruptly 2019-08-23 18:05:06 -04:00
Anuken 7b41d65fa6 Fixed issues with multithreaded serializer access 2019-08-23 16:13:46 -04:00
Anuken 5f9000db92 MNet cleanup 2019-08-23 15:04:31 -04:00
Anuken de031b1ddb Merge branches 'master' and 'mnet' of https://github.com/Anuken/Mindustry 2019-08-23 14:29:53 -04:00
Anuken 58f46bb75f Merge remote-tracking branch 'origin/master' 2019-08-23 14:17:01 -04:00
Anuken d1e07ec0a2 Fixed OpenAL not loading correctly 2019-08-23 17:17:45 -06:00
Anuken 0d4716f3b4 Fallback shield shader 2019-08-23 14:16:51 -04:00
Anuken 1880c32f90 Experimental MNet-2 backend 2019-08-22 22:49:22 -04:00
Anuken 6d72c08d63 ignore some files 2019-08-22 21:52:51 -04:00
Anuken 95ac1b2c21 Merge remote-tracking branch 'origin/master' 2019-08-22 21:52:06 -04:00
Anuken a33fd45136 bugfixes 2019-08-22 21:51:56 -04:00
Anuken a1ea393f35 Update MirrorFilter.java 2019-08-22 15:45:14 -04:00
Anuken 14c943adfe fix of uninteresting variety 2019-08-21 19:04:26 -04:00
Anuken fb84b4b7c1 Added fastlane integration 2019-08-21 18:46:46 -04:00
Anuken 4089ee424c Removed pointless platform-specific dists 2019-08-21 15:50:58 -04:00
Anuken 9bf010e222 Removed lwjgl3 desktop module, sdl promoted to main module 2019-08-21 15:41:38 -04:00
Anuken 0553fb6b79 Finalized build scripts 2019-08-21 15:34:01 -04:00
Anuken 4bb6a25055 Added deployment scripts 2019-08-21 14:46:36 -04:00
Anuken 66ff7b1592 Fixed minimization 2019-08-20 20:47:28 -04:00
Anuken be32810608 on second thought, no 2019-08-20 19:57:42 -04:00
Anuken 88f48599a0 Names updated 2019-08-20 19:52:08 -04:00
Anuken 014e2ac8b8 Bugfixes 2019-08-20 19:42:39 -04:00
Anuken bae88ec416 iPhone X splash images 2019-08-20 19:14:30 -04:00
Anuken 46230ad307 nothing 2019-08-20 18:31:56 -04:00
Anuken 963a207194 New power node link system 2019-08-20 10:52:06 -04:00
Anuken 59419e13d9 Networking fixes 2019-08-20 10:23:22 -04:00
Anuken b370e04035 UI fix 2019-08-19 22:21:22 -04:00
Anuken dfd6e7a07b Merge remote-tracking branch 'origin/master' 2019-08-19 22:16:51 -04:00
Anuken a873560d4e Multiplayer: Smooth building + rotation / Disabled UDP / Cleanup 2019-08-19 22:16:43 -04:00
Anuken c6777bd219 Update bundle.properties 2019-08-19 18:03:21 -04:00
Anuken 8eb4d25638 Fixed error on exiting with custom map on server 2019-08-19 09:42:45 -04:00
Anuken 191c6e9016 crash fix 2019-08-19 09:23:16 -04:00
Anuken 52af0b1db9 Merge remote-tracking branch 'origin/master' 2019-08-18 22:52:50 -04:00
Anuken 492cb49805 bugfixes 2019-08-18 22:52:46 -04:00
Anuken b2e70a44be Update TRANSLATING.md 2019-08-18 12:31:54 -04:00
Anuken 452a8aaa0c Fixed dialog scrolling 2019-08-18 10:16:31 -04:00
Anuken c3f392a01c Merge remote-tracking branch 'origin/master' 2019-08-17 20:26:30 -04:00
Anuken 7d9b6a41fc Actual prediction fix 2019-08-17 20:26:17 -04:00
Samuele Esposito f4f4cf3947 Possibly a small typo? (#592) 2019-08-17 17:00:20 -04:00
Anuken 28e930eb4b Merge remote-tracking branch 'origin/master' 2019-08-17 15:39:45 -04:00
Anuken 301387fb32 Fixed low rank on attack map completion 2019-08-17 15:39:41 -04:00
Anuken 5955387bdd map tweaks 2019-08-17 14:08:13 -04:00
Anuken 150491ff2c bugfixes 2019-08-17 12:09:18 -04:00
Anuken ddef78c7d8 Merge remote-tracking branch 'origin/master' 2019-08-16 14:50:04 -04:00
Anuken dc435d88f4 Fixed massive music files on iOS, now using MP3 2019-08-16 14:49:35 -04:00
Anuken 84aff0112d small map fix 2019-08-16 14:17:23 -04:00
Anuken a13f8ed05f more frequent music 2019-08-16 12:53:18 -04:00
Anuken 0429abbb28 Balance 2019-08-16 12:31:44 -04:00
AmateurPotion 562d3e6528 Update bundle_ko.properties (#585) 2019-08-16 12:08:42 -04:00
Anuken ac27b484fa Updated Mac icon 2019-08-16 12:05:00 -04:00
Anuken 3c57c3e492 Merge remote-tracking branch 'origin/master' 2019-08-16 11:14:22 -04:00
Anuken 83f9f5d34a zipzip 2019-08-16 11:14:18 -04:00
Prosta4okua c659e4f0aa Fixes (#584)
* Fixes

* Капіталізація це зло.

* Update bundle_ru.properties

* Update bundle_uk_UA.properties

* .-.

* Gm

Description

* Oof

* ЈҮУКЕНГШҺЗХҸЖДЛОРПАВЫӘЧСМИТҒБӨ

* dada

* Translate new descriptions

* й

* Ukrainian finished. Fixed some errors.

* Translated everything. Maybe.

* /

* 1

* Added tutorial. Thank to Slava0135 and ymomfe.

* 1

* 1

* WATER

WATER

* [[]]

* 1
2019-08-16 11:13:52 -04:00
AmateurPotion 723ee3c647 Update bundle_ko.properties (#579)
* Update bundle_ko.properties

* Update bundle_ko.properties

* Update bundle_ko.properties
2019-08-16 11:10:38 -04:00
Kylof61034 32baa279e2 added some german translations (#582) 2019-08-16 11:10:27 -04:00
Anuken 17b17979ab Release preparations 2019-08-16 11:00:15 -04:00
Anuken c94ab5b05a Merge remote-tracking branch 'origin/master' 2019-08-16 09:58:34 -04:00
Anuken 625a0125cb Various tweaks 2019-08-16 09:58:25 -04:00
Anuken 9f8c1b3d20 ios landscape fix 2019-08-16 09:01:28 -04:00
Anuken cc6ed88878 aaaaaaAAAAAAAAAAAa 2019-08-16 00:00:49 -04:00
Anuken 73523a96fa Merge remote-tracking branch 'origin/master' 2019-08-15 22:58:52 -04:00
Anuken 62e3bc86eb hhh 2019-08-15 22:58:48 -04:00
Anuken a12af852ab more iOS mess-fixing 2019-08-15 22:44:37 -04:00
Anuken 6f2fc00045 Icons/splash screen updated for iOS 2019-08-15 22:25:08 -04:00
Anuken 9e0de644c4 more iOS fixes 2019-08-15 20:59:45 -04:00
Anuken 393bdfccaf iOS map export 2019-08-15 20:45:30 -04:00
Anuken 56c39799c8 things 2019-08-15 20:02:35 -04:00
Anuken 7f2a1374e4 Fixed truncated sounds 2019-08-15 14:16:41 -04:00
Anuken 6fa0ac56ac files 2019-08-15 13:33:23 -04:00
Anuken 89ee04c942 Machine ambient sounds 2019-08-15 13:32:36 -04:00
Anuken c058163ab4 no 2019-08-15 00:12:06 -04:00
Anuken 2832dc69ef Random shoot sound pitch 2019-08-14 23:27:24 -04:00
Anuken cb2e2ab9b2 OpenAL cleanup+refactor 2019-08-14 23:01:51 -04:00
Anuken f342c38c62 openal stuff 2019-08-14 21:48:36 -04:00
Anuken 811e456f8f OpenAL audio backend for SDL 2019-08-14 20:50:26 -04:00
Anuken 000503d674 Update build.gradle 2019-08-14 13:53:23 -04:00
Anuken d0bd29cfa0 fixed unnecessary asset copying 2019-08-14 13:47:16 -04:00
Anuken d56565990e Fixed iOS audio issues 2019-08-14 13:10:29 -04:00
Anuken b68734d679 iOS-specific format loading 2019-08-14 11:03:36 -04:00
Anuken bf21c94bd7 Bugfixes 2019-08-14 10:27:10 -04:00
Anuken b6b9685d57 wiki build script update 2019-08-13 23:53:22 -04:00
Anuken f8adbda9c5 updated roboVM to 2.3.7 2019-08-13 23:26:25 -04:00
Anuken c9178c3f2f Fixed power nodes in multiplayer 2019-08-13 22:47:31 -04:00
Anuken 84786c12d8 Bugfixes 2019-08-13 18:15:40 -04:00
Anuken 335b6ae0cc bundle 2019-08-13 17:48:19 -04:00
Anuken 9bde68a86f Merge remote-tracking branch 'origin/master' 2019-08-13 16:51:10 -04:00
Anuken c3201178ae typo 2019-08-13 16:51:03 -04:00
Teamblur 366636ef7d Create bundle_et.properties (#498)
* Create bundle_et.properties

* Update bundle_et.properties

lisasin mõne tõlke eest poolt

* Update bundle_et.properties

* Update bundle_et.properties

* Update bundle_et.properties

* Update bundle_et.properties

* Update bundle_et.properties

* Update bundle_et.properties

* Update bundle_et.properties

* Update bundle_et.properties

* Update bundle_et.properties

* Update bundle_et.properties

* Update bundle_et.properties

* Update bundle_et.properties

* Update bundle_et.properties

* Update bundle_et.properties

* Update bundle_et.properties

* Update bundle_et.properties

* Update bundle_et.properties

* Update bundle_et.properties

* Update bundle_et.properties

* Update bundle_et.properties

* Update bundle_et.properties

* Update bundle_et.properties

* Update bundle_et.properties

* Update bundle_et.properties

* Update bundle_et.properties

* Update bundle_et.properties

* Update bundle_et.properties

* Update bundle_et.properties

* Update bundle_et.properties

* Update bundle_et.properties

* Update bundle_et.properties

* Update bundle_et.properties

* Update bundle_et.properties

* Update bundle_et.properties

* Update bundle_et.properties

* Update bundle_et.properties

* Update bundle_et.properties

* Update bundle_et.properties

* Update bundle_et.properties

* Update bundle_et.properties

* Update bundle_et.properties
2019-08-13 16:49:10 -04:00
Dominik 47112e233e Update bundle_pl.properties (#566)
* Update bundle_pl.properties

Updated names of blocks in editor and some more

* Update bundle_pl.properties

* Update bundle_pl.properties

* Update bundle_pl.properties

* Update bundle_pl.properties

* Update bundle_pl.properties

* Update bundle_pl.properties
2019-08-13 16:48:02 -04:00
laohuaji233 88f005be0c Update bundle_zh_CN.properties (#568)
* Update bundle_zh_CN.properties

* Update bundle_zh_CN.properties
2019-08-13 16:47:48 -04:00
Prosta4okua f454cd3291 Patch 1 (#569)
* Fixes

* Капіталізація це зло.

* Update bundle_ru.properties

* Update bundle_uk_UA.properties

* .-.

* Gm

Description

* Oof

* ЈҮУКЕНГШҺЗХҸЖДЛОРПАВЫӘЧСМИТҒБӨ

* dada

* Translate new descriptions

* й

* Ukrainian finished. Fixed some errors.

* Translated everything. Maybe.

* /

* 1

* Added tutorial. Thank to Slava0135 and ymomfe.

* 1
2019-08-13 16:46:12 -04:00
AmateurPotion 23038dc6f7 Update bundle_ko.properties (#577)
* Update bundle_ko.properties

Update!

* Update bundle_ko.properties

error xd

* Update bundle_ko.properties

third edit...

* Update bundle_ko.properties

one change

* Update bundle_ko.properties
2019-08-13 16:36:19 -04:00
Anuken 58b4f64125 Tutorial fixes 2019-08-13 16:26:02 -04:00
Anuken 974ab59fd2 Classic data backup dialog 2019-08-13 15:14:03 -04:00
Anuken f2f6dc89a2 fire 2019-08-13 12:04:09 -04:00
Anuken bff9d89232 more sounds 2019-08-13 11:42:01 -04:00
Anuken a818da5eb7 some bad sounds 2019-08-12 23:29:24 -04:00
Anuken a1269c05c5 Updated discord presence 2019-08-12 13:50:09 -04:00
Anuken d0ff0307f5 New icon 2019-08-12 13:29:02 -04:00
Anuken c4aa0b2863 New discord app ID / New testing sounds 2019-08-12 12:32:13 -04:00
Anuken 85fd2ad804 Various things 2019-08-11 18:01:32 -04:00
Anuken 0770574f17 Sound things 2019-08-11 16:55:32 -04:00
Anuken 6314bf51df audio cleanup 2019-08-11 13:46:14 -04:00
Anuken 4c08c98f8c Work on sound effects 2019-08-11 10:47:22 -04:00
Anuken 2341da995e Random in-game music, untested 2019-08-10 18:56:20 -04:00
Anuken 4ef60af4a8 Fixed maps not being able to override gamemode-specific settings 2019-08-10 11:43:28 -04:00
Anuken 16f6b51857 Various tweaks, new music tracks 2019-08-09 23:23:45 -04:00
Anuken 59e53eb672 mandatory hosting/joining info 2019-08-09 14:01:25 -04:00
Anuken c7724e9122 Converted sounds to ogg 2019-08-09 13:51:24 -04:00
Anuken 2c4379acd1 Tutorial improvements 2019-08-09 12:18:08 -04:00
Anuken 69e7b442e2 made pause/tutorial panes not touchable 2019-08-08 21:57:13 -04:00
Anuken 70a4c2f3ed slightly less of a mess 2019-08-08 21:45:55 -04:00
Anuken 83c86b3883 more tutorial 2019-08-08 21:26:50 -04:00
Anuken 9924796ad9 A somewhat complete tutorial 2019-08-08 20:50:15 -04:00
Anuken b587b6bb4d More tutorial 2019-08-08 17:26:20 -04:00
Anuken 4811578c95 Incomplete tutorial basics 2019-08-08 17:03:45 -04:00
Anuken 0a07c62b63 Merge branch 'master' of https://github.com/Anuken/Mindustry into tutorial 2019-08-08 11:26:29 -04:00
Anuken c1ff370923 Fixed scaling / Improved power node visuals / Balancing 2019-08-08 10:48:35 -04:00
Anuken e55575f093 Editor music updated 2019-08-07 19:21:50 -04:00
Anuken 703f034054 Bugfixes 2019-08-07 18:16:51 -04:00
Anuken 2d504521b1 Bugfixes 2019-08-07 08:39:59 -04:00
Anuken 8359789d4f Bugfixes 2019-08-06 19:10:32 -04:00
Anuken 8162e13f04 Balancing, fixes, general improvements 2019-08-06 18:05:17 -04:00
Anuken 282aab5939 Zone improvements 2019-08-06 13:01:54 -04:00
Anuken 5c6bcbf9cd Renamed layout/Unit to UnitScl to prevent name conflicts 2019-08-06 11:04:58 -04:00
Anuken 8ef1d54a16 Bugfixes 2019-08-06 09:17:26 -04:00
Anuken e8bbc2bf4c Sound re-organized 2019-08-05 20:39:16 -04:00
Anuken b02053a70c Added support for Alt keys 2019-08-05 16:54:42 -04:00
Anuken 99f2b8f536 Deploy music 2019-08-05 14:49:37 -04:00
Anuken 8346d5fc13 Fixed connection not resetting on game load / Experimental click changes 2019-08-05 10:26:24 -04:00
Anuken 3a841c6c0f stuff and things 2019-08-04 20:02:07 -04:00
Anuken ecd30094b1 Cursor antialiasing 2019-08-04 09:41:25 -04:00
Anuken 81909bd1a9 Moved launch controls to wave button 2019-08-04 08:58:51 -04:00
Anuken 1cb01af77b Structure 2019-08-04 08:13:16 -04:00
Anuken a65592d511 Added Tutorial class 2019-08-03 19:47:57 -04:00
Anuken 4ee6f60531 Merge branches 'master' and 'tutorial' of https://github.com/Anuken/Mindustry into tutorial 2019-08-03 19:38:26 -04:00
Anuken 319d65f9a3 New re-balanced attack map 2019-08-03 11:29:37 -04:00
Anuken bc8c99df15 Tech tree balance 2019-08-03 09:54:56 -04:00
Anuken aef3a719fe merge 2019-08-03 00:21:16 -04:00
Anuken 2726ebe191 Re-balanced starting item amount 2019-08-03 00:04:33 -04:00
Anuken 85767d4946 Improved drill item selection 2019-08-02 23:48:39 -04:00
Anuken 86a78b206a autolink 2 2019-08-02 23:40:08 -04:00
Anuken 4e308d6600 autolink 2 2019-08-02 23:23:04 -04:00
Anuken 7f2cc59b3c autolink 2019-08-02 20:48:26 -04:00
Anuken 878901d05d more ores 2019-08-02 20:30:15 -04:00
Anuken d1304abb9e Increased node limit 2019-08-02 20:18:42 -04:00
Anuken 4ae39e851d Optional core spawn mech support 2019-08-02 20:03:04 -04:00
Anuken 06c5c92d2c Updated previews 2019-08-02 19:46:18 -04:00
Anuken fc6e529049 mixer. 2019-08-02 18:37:06 -04:00
Anuken 438f128e2e New map ore balancing / Reduced item burn rate 2019-08-02 18:32:33 -04:00
Anuken 878af1ea28 1/2 cost rebalance 2019-08-02 13:22:45 -04:00
Anuken 8e84e7284e Added ore median filter 2019-08-02 12:56:21 -04:00
Anuken 77d4b0972d Balancing 2019-08-02 12:39:21 -04:00
Anuken 2a518fa7c9 Merge remote-tracking branch 'origin/master' 2019-08-02 10:10:48 -04:00
Anuken 04c8ecf4af New team colors 2019-08-02 10:10:37 -04:00
AmateurPotion 67743dded5 add my nickname (#571)
I'm Korean translater& r-e server owner. May I be added here?
2019-08-02 08:23:18 -04:00
Anuken 5acda423d8 UI polish 2019-08-01 22:40:15 -04:00
Anuken 8b3995686f Misc. in-game UI polish 2019-08-01 20:49:03 -04:00
Anuken f388ca298e Better carried item display 2019-08-01 17:49:10 -04:00
Anuken 636b92205b Implemented sound volume 2019-08-01 16:54:36 -04:00
Anuken 26d26b5e7a Drill output/speed display 2019-08-01 13:32:38 -04:00
Anuken 01efb59d25 Fixed high sound memory usage / Basic drill output speed display 2019-08-01 13:08:50 -04:00
Anuken b1980a17ac Fixed editor not showing after second view 2019-08-01 11:26:28 -04:00
Anuken 69ee5257f2 Display current ammo type in turret info 2019-08-01 11:03:20 -04:00
Anuken 5573031d07 Created tutorial branch 2019-08-01 10:43:41 -04:00
Anuken b812fcddf8 Merge branch 'sound' of https://github.com/Anuken/Mindustry 2019-08-01 10:38:16 -04:00
Anuken 8393639735 Moved music control 2019-08-01 10:37:04 -04:00
Anuken dafbba0907 Fixed more things 2019-07-31 22:49:41 -04:00
Anuken 28ab2b3917 Fixed crashes not saving or displaying 2019-08-01 02:28:01 -06:00
Anuken 2be3cc2f1e a mess 2019-07-31 18:59:28 -04:00
Anuken d8085d88a8 Re-added classic sound effects for testing 2019-07-31 16:25:25 -04:00
Anuken d6b023709d Initial menu music test 2019-07-30 22:50:15 -04:00
Anuken 2459fb23ae cleanup 2019-07-30 22:06:21 -04:00
Anuken 4bd3f415a9 Smooth menu fade 2019-07-30 20:04:25 -04:00
Anuken 4414ee6d38 Fade-in effect / Fixed mobile scaling 2019-07-30 19:48:06 -04:00
Anuken fdd84066f5 format 2019-07-30 16:00:32 -04:00
Anuken 4ebf39449e . 2019-07-30 15:52:20 -04:00
Anuken d4f26e0340 Fixed sound crackle 2019-07-30 14:15:10 -04:00
Anuken a00a208ff8 Annotation processor for sound asset generation 2019-07-30 12:05:59 -04:00
Anuken bc77fd619d Spatial sound / Minor refactoring 2019-07-30 11:38:02 -04:00
Anuken 5eadd6608d Updated bundles 2019-07-30 10:23:29 -04:00
Anuken 1340b8d4d8 Better consumption display 2019-07-30 10:20:49 -04:00
Anuken 9db86f212f Typos 2019-07-30 10:12:58 -04:00
Anuken 697894274f Fixed editor restoring incorrect orientation 2019-07-30 01:02:08 -04:00
Anuken 7292479d9c Added turret ammo deficiency display 2019-07-30 00:44:41 -04:00
Anuken 301c11c208 possible oregen fix 2019-07-29 22:12:39 -04:00
Anuken 71b218ad62 just in case 2019-07-29 22:11:59 -04:00
Anuken ec2f21b944 Fixed crash on loading some older maps 2019-07-29 22:07:25 -04:00
Anuken c65b3f3aca Sound. 2019-07-29 21:59:59 -04:00
Anuken 43280ee077 Fixed numerical rules resetting on Android 2019-07-29 17:19:17 -04:00
Anuken c7e4fb8021 Audio progress 2019-07-29 17:01:55 -04:00
Anuken 132d058098 SDL input fixes 2019-07-29 15:17:10 -04:00
AmateurPotion c678a5502d Update bundle_ko.properties (#563)
* Update bundle_ko.properties

현수님 보시면 빨리 공식 업데이트 하시기 전에 이전 버전으로 돌리시고 괜찮다 싶은 것만 번역 업데이트 해주세요

* Second mistranslation correction

One more mistranslation correction remaining.
2019-07-29 10:51:36 -06:00
laohuaji233 0ee35721b0 Update bundle_zh_CN.properties (#556)
Many minor modifications
2019-07-29 10:51:15 -06:00
Prosta4okua 1932f9a9c3 Fixes (#554)
* Fixes

* Капіталізація це зло.

* Update bundle_ru.properties

* Update bundle_uk_UA.properties

* .-.

* Gm

Description
2019-07-29 10:50:52 -06:00
Anuken 8e85b71669 Fixed mobile layout 2019-07-29 12:49:09 -04:00
Anuken f439afae9e Descriptions for nearly everything 2019-07-29 12:33:11 -04:00
Anuken fdd749be18 Pre-description change 2019-07-29 10:15:44 -04:00
Anuken 666e3e51a3 Bugfixes 2019-07-28 10:53:26 -04:00
Anuken b930d5a1f9 might as well merge bloom 2019-07-27 16:16:22 -04:00
Anuken 5c10a2662d Moved clear color 2019-07-27 16:12:51 -04:00
Anuken 214f451cc1 Tweak 2019-07-27 16:10:17 -04:00
Anuken 67b4fa6f68 Map tweaks 2019-07-27 12:21:32 -04:00
Anuken aa3e7a8ef5 Finalized map number 2019-07-27 10:52:46 -04:00
Anuken 7bf6099528 Added 2 new maps 2019-07-27 09:27:03 -04:00
Anuken e90a4eb71d SDL tools 2019-07-26 21:24:07 -04:00
Anuken 7b83406ee4 Blend filter parameters / New map 2019-07-26 20:46:06 -04:00
Anuken c4157d2ec8 New map / Better filters / Sand boulders 2019-07-26 18:59:33 -04:00
Anuken 2bdfaef2d9 Fixed ores generating over spawnpoints 2019-07-26 00:11:31 -04:00
Anuken 2b0fbd9904 """better""" map generation dialog 2019-07-26 00:04:36 -04:00
Anuken 0ffa0351b5 Removed ores from existing built-in maps / Default oregen 2019-07-25 23:24:12 -04:00
Anuken 951cbf3d16 Fixed some generation issues 2019-07-25 22:18:45 -04:00
Anuken 69454048ad ??? 2019-07-25 21:27:34 -04:00
Anuken c4ceb89240 Implemented random map load filters 2019-07-25 21:27:16 -04:00
Anuken 4a638cba79 Merge remote-tracking branch 'origin/master' 2019-07-25 19:18:14 -04:00
Anuken c209528271 Cleaned up generation filter code 2019-07-25 19:18:04 -04:00
Anuken 0d1f590937 Update CrashSender.java 2019-07-25 17:44:33 -04:00
Anuken b59b839029 OpenGL 2.1 -> 2.0 2019-07-25 13:55:57 -04:00
Anuken 513243ba0f Fixed version not parsing on crash 2019-07-25 13:21:55 -04:00
Anuken 795e774119 Canyon map 2019-07-25 13:08:07 -04:00
Anuken d02d419729 Fixed SDL crash 2019-07-25 12:46:31 -04:00
Anuken 518bffe644 SDL backend / Valid mode sprites / Better layout 2019-07-25 11:45:49 -04:00
Anuken 88d1b31aff SDL module 1 2019-07-25 10:14:01 -04:00
Anuken 4db2dbff44 Merge remote-tracking branch 'origin/master' 2019-07-25 10:09:25 -04:00
Anuken 32ad577f6d Added IKVM-specific dist command 2019-07-25 10:09:21 -04:00
Anuken 3310f49f68 steamed generators 2019-07-25 00:22:33 -04:00
Anuken bf7803d554 Implemented gamemode validation 2019-07-24 23:05:16 -04:00
Anuken c9bd253960 Fixed drones being idiots / Added another PvP map 2019-07-24 21:25:33 -04:00
Anuken 859591cea5 Added pvp/attack map 2019-07-24 16:23:56 -04:00
Anuken b99b13a6e4 Added mirror tool for attack/PvP maps 2019-07-24 12:07:12 -04:00
Anuken c80be4940f Fixed unit tests / Fixed some major tile loading flaws 2019-07-23 23:29:48 -04:00
Anuken 52374ce06d Zone changes 2019-07-23 11:45:46 -04:00
Anuken 5a594f7d9a Bugfixes / unfinished new zones 2019-07-22 18:47:23 -04:00
Anuken aff87a26ce Merge branch 'master' of https://github.com/Anuken/Mindustry 2019-07-22 17:01:55 -04:00
Anuken 18aae0cfa5 Zones 2019-07-22 16:09:50 -04:00
Anuken 6f0bc2ecf8 Minor build fixes 2019-07-22 12:42:42 -04:00
Anuken 8d2a637bd8 Fixed build errors 2019-07-22 00:56:00 -04:00
Anuken 54180c4768 Menu fix 2019-07-22 00:45:09 -04:00
Anuken 4e22384ed1 Merge branches 'master' and 'uiscale' of https://github.com/Anuken/Mindustry 2019-07-17 21:19:16 -04:00
Anuken 029f801159 Added UI scale slider 2019-07-17 17:20:21 -04:00
L5474 fd53671430 Removed duplicate of my name (#558)
just saw #557 and got reminded of this file and checked it out. Why is my name on here twice lol.
2019-07-14 15:25:42 -06:00
Anuken 7b09548261 Merge remote-tracking branch 'origin/master' 2019-07-14 15:25:38 -04:00
Anuken 63e1311656 Bugfixes / Incomplete zone description field 2019-07-14 15:25:30 -04:00
Arkanic 36a303a86f I meekly request (#557) 2019-07-14 12:19:35 -06:00
Anuken 61f903dcf1 Update InputHandler.java 2019-07-14 12:54:24 -04:00
Anuken 2a10562e9e Merge remote-tracking branch 'origin/master' 2019-07-13 14:04:06 -04:00
Anuken d64796f32a Clamping of tree views 2019-07-13 14:04:01 -04:00
Franciszek Zaranowicz f2d67d0a5d Loadout for non-zones maps (#535)
* Loadout for non-zones maps

* Requested Changes

* Fixed Import

* Requested Changes #2
2019-07-13 10:28:04 -06:00
Anuken ad39a51fe8 nothing 2019-07-12 23:52:31 -04:00
Anuken 14d0927fb6 Basic deploy background 2019-07-12 01:03:01 -04:00
Anuken 1697465d0d Core balancing 2019-07-11 23:30:11 -04:00
Anuken e52965d039 Bugfixes 2019-07-10 09:55:31 -04:00
Anuken a8d957bf7d Update OverdriveProjector.java 2019-07-10 09:05:47 -04:00
Anuken b6b5343e04 Cleanup 2019-07-09 15:43:11 -04:00
Anuken d4c318438d Removed buggy limited respawns 2019-07-09 12:12:43 -04:00
Anuken d8d04f2ac3 Moved block icons to UI atlas 2019-07-08 15:49:47 -04:00
Anuken 1c38e73290 a warning 2019-07-08 11:07:45 -04:00
Anuken 7fc6b9b940 Removed quit button on iOS as per guidelines 2019-07-08 10:54:02 -04:00
Prosta4okua ed50ed8550 Update bundle.properties (#553)
* Update bundle.properties

* Update bundle.properties

* Update bundle.properties

* Update bundle.properties
2019-07-08 07:20:08 -06:00
Anuken fb4c65dae0 Update AboutDialog.java 2019-07-08 08:58:31 -04:00
Anuken fc9543baa7 Updated sprites/UI colors 2019-07-07 14:11:57 -04:00
Anuken b0eaca091a Merge pull request #541 from CinExPL/patch-8
Update bundle_pl.properties
2019-07-06 17:13:12 -06:00
Anuken aab13a5582 Merge branch 'master' into patch-8 2019-07-06 17:13:06 -06:00
Anuken f852ba02d8 Merge pull request #546 from Natchuz/polish-translation
Updated bundle_pl.properties
2019-07-06 17:12:35 -06:00
Anuken 4aa074b9fc Merge pull request #547 from etaoinshrdlcumwfgypbvkjxqz/zh-TW
Update Chinese (Taiwan) translation
2019-07-06 17:12:19 -06:00
Anuken 2f7503c752 Merge pull request #548 from Prosta4okua/patch-3
Update bundle_uk_UA.properties
2019-07-06 17:12:03 -06:00
Anuken d754593c2b Merge pull request #549 from Prosta4okua/patch-4
Update bundle_ru.properties
2019-07-06 17:11:43 -06:00
Anuken 07ea938885 Mobile fix / Readme updated 2019-07-06 19:08:16 -04:00
Anuken ac87930672 Balancing 2019-07-06 19:02:28 -04:00
Anuken 3dfef06bba Bugfixes 2019-07-06 18:42:05 -04:00
Prosta4okua 120faf3806 Update bundle_ru.properties 2019-07-06 21:31:01 +03:00
Prosta4okua f51f04d170 Update bundle_uk_UA.properties 2019-07-06 21:30:38 +03:00
Anuken ec7bb78ee4 Basic UI improvements 2019-07-06 14:08:43 -04:00
Anuken 5ae1e59b5c UI 2019-07-06 12:22:10 -04:00
Anuken e3956ebcf2 Regression fixes 2019-07-06 11:02:55 -04:00
Anuken bb75e8f2e0 Removed loading screen 2019-07-06 10:15:21 -04:00
Anuken a77b1416e5 Merge branches 'master' and 'new-ui' of https://github.com/Anuken/Mindustry 2019-07-06 10:13:11 -04:00
Anuken 121e0a433b Final tweaks before merge 2019-07-06 10:12:22 -04:00
Anuken 988aee3078 Fixed editor saving incorrect map size 2019-07-05 23:34:04 -04:00
William So 2bb99bb100 Update Chinese (Taiwan) translation 2019-07-06 10:55:14 +08:00
Anuken 4e7ddc7e71 Fill tool fix 2019-07-05 14:39:45 -04:00
Anuken 174caef7ca Added turret damage / Removed changelog dialog 2019-07-05 14:01:54 -04:00
Anuken d2bb3800e3 Added version display, info dialog back 2019-07-05 13:41:22 -04:00
Anuken f0959ab356 More UI and layout changes 2019-07-05 12:02:02 -04:00
Anuken 2c5546c6fb Slight cleanup 2019-07-04 23:40:19 -04:00
Anuken a7a565b93e Hacky pad fix 2019-07-04 17:29:31 -04:00
Anuken ed074bd08b UI stuff 2019-07-04 17:11:30 -04:00
Anuken d938b22729 Fixed incorrect blend/median previews on mobile 2019-07-04 09:22:13 -04:00
Natchuz bd88a2378f Updated bundle_pl.properties 2019-07-04 13:21:44 +02:00
Anuken 0371126ccf Various menu fixes 2019-07-04 00:51:42 -04:00
Anuken ab36b6a2e1 Random flyers 2019-07-03 23:46:55 -04:00
Anuken d43d4a1773 Cleanup, main menu progress 2019-07-03 23:36:51 -04:00
Anuken 0837c476a1 T 2019-07-03 20:24:11 -04:00
Anuken 77a41b1783 Actually fixed FPS cap 2019-07-03 19:11:22 -04:00
Anuken 0d39400f8b Fixed performance regression / Removed useless fallback sprites 2019-07-03 17:07:22 -04:00
Anuken d3c8678f80 Splitting UI atlas 2019-07-03 15:59:50 -04:00
Anuken b7008072f8 Rendering cleanup 2019-07-03 15:35:10 -04:00
Anuken 15737810f0 Fixed unit tests 2019-07-03 13:06:18 -04:00
Anuken 5036c57372 Fixed incorrect fps cap 2019-07-03 13:00:57 -04:00
Anuken 5799e6f567 Laser optimization 2019-07-03 10:41:16 -04:00
Anuken 310e8afc25 Fixed loading of older saves 2019-07-03 10:11:22 -04:00
Anuken 78215363dc Work on fixing entity ID mapping 2019-07-03 09:50:33 -04:00
Anuken 4e873f8bf3 oh no it's broken 2019-07-02 22:44:55 -04:00
Anuken 79dc116e6a Nothing interesting 2019-07-02 22:38:25 -04:00
Anuken a7480ae656 Merge branch 'master' of https://github.com/Anuken/Mindustry 2019-07-02 18:53:43 -04:00
Anuken 62e310a776 Updated gradle to 5.5 2019-07-02 18:53:27 -04:00
Anuken bb398a2f1e Crash fixes 2019-07-02 18:52:04 -04:00
Anuken 79ab2d122d Changed layout structure 2019-07-02 18:40:39 -04:00
Anuken 3a2f73a176 Merge branches 'master' and 'new-ui' of https://github.com/Anuken/Mindustry into new-ui 2019-07-02 18:40:14 -04:00
Anuken 217237b57e New menu background, unfinished 2019-07-02 14:42:24 -04:00
Anuken cb7b6eb3f8 More menu 2019-07-02 10:01:34 -04:00
Anuken 6e21d7f560 menu 2019-07-01 14:30:46 -04:00
CinExPL 09d905b96f Update bundle_pl.properties
few changes ;)
2019-07-01 17:55:16 +02:00
Anuken 8f29d4871d Moved version info 2019-07-01 10:27:56 -04:00
Anuken 94f175e2cd Moved map dialog 2019-07-01 09:31:39 -04:00
Anuken 5e15c5574a menu stuff 2019-06-30 16:52:34 -04:00
Anuken 1c530a6c7a Merge + update 2019-06-30 14:13:13 -04:00
Anuken 8fc0872b90 Merge pull request #540 from xslendix/master
Fixed gradlew
2019-06-30 12:17:46 -04:00
Anuken 3021cc29da Fixed tops of some generator blocks 2019-06-30 11:25:39 -04:00
Anuken c77f51b7ae Bugfixes 2019-06-30 10:09:20 -04:00
xSlendiX aa39d36663 Merge pull request #1 from xslendix/xslendix-patch-1
Update gradlew
2019-06-30 13:14:58 +03:00
xSlendiX 40907db32d Update gradlew 2019-06-30 13:13:05 +03:00
Anuken 12bff75586 Various fixes 2019-06-30 00:07:04 -04:00
Anuken 89a4e6506f Bloom option 2019-06-29 10:40:52 -04:00
Anuken 22656a40b2 Bloom fix 2019-06-28 23:31:34 -04:00
Anuken 6fa9abd896 discard 2019-06-28 23:04:43 -04:00
Anuken b7a0ebad17 Merge branch 'master' of https://github.com/Anuken/Mindustry into bloom 2019-06-24 19:45:13 -04:00
Anuken f8526e1ac7 Bloom 2019-06-24 19:39:57 -04:00
Anuken 1fe30bc466 Branch created 2019-06-19 22:20:17 -04:00
650 changed files with 24074 additions and 26591 deletions
+4
View File
@@ -10,6 +10,7 @@ logs/
/desktop/mindustry-maps/
/desktop/gifexport/
/core/lib/
/ios/assets/
/core/assets-raw/sprites/generated/
/core/assets-raw/sprites_out/
/annotations/build/
@@ -18,6 +19,7 @@ logs/
/tools/build/
/tests/build/
/server/build/
changelog
/test_files/
/annotations/build/
/android/assets/mindustry-maps/
@@ -30,7 +32,9 @@ logs/
ios/robovm.properties
packr-out/
config/
changelog
*.gif
/core/assets/saves/
version.properties
+1 -1
View File
@@ -13,7 +13,7 @@ deploy:
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
- desktop/build/libs/Mindustry.jar
- server/build/libs/server-release.jar
on:
repo: Anuken/Mindustry
+2 -2
View File
@@ -1,4 +1,4 @@
![Imgur](https://i.imgur.com/w4N0yhv.png)
![Logo](core/assets/sprites/logo.png)
[![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)
@@ -36,7 +36,7 @@ If the terminal returns `Permission denied` or `Command not found` on Mac/Linux,
---
Gradle may take up to several minutes to download files. Be patient. <br>
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.
After building, the output .JAR file should be in `/desktop/build/libs/Mindustry.jar` for desktop builds, and in `/server/build/libs/server-release.jar` for server builds.
### Downloads
-3
View File
@@ -1,8 +1,5 @@
## Translating for Mindustry
**DISCLAIMER:** *Currently, 4.0 is far from done, which means that things such as block names, descriptions, and core text will be changing often. If you begin translating now, you might have to re-do large chunks of the bundle before final release.*
To begin, log in to your GitHub account, or if you don't have one yet, create it [here](https://github.com/).
Consult [this list](https://www.science.co.il/language/Locale-codes.php) to find the locale code for your language. Once you've found it,
+1 -1
View File
@@ -46,7 +46,7 @@ task deploy(type: Copy){
from "build/outputs/apk/release/android-release.apk"
into "../deploy/"
rename("android-release.apk", appName + "-android-" + getVersionString() + ".apk")
rename("android-release.apk", "${generateDeployName('android')}.apk")
}
android{
Binary file not shown.

Before

Width:  |  Height:  |  Size: 76 KiB

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 KiB

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.1 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.4 KiB

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.8 KiB

After

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.8 KiB

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 29 KiB

@@ -16,7 +16,7 @@ import io.anuke.arc.backends.android.surfaceview.AndroidApplicationConfiguration
import io.anuke.arc.files.FileHandle;
import io.anuke.arc.function.Consumer;
import io.anuke.arc.function.Predicate;
import io.anuke.arc.scene.ui.layout.Unit;
import io.anuke.arc.scene.ui.layout.UnitScl;
import io.anuke.arc.util.Strings;
import io.anuke.arc.util.serialization.Base64Coder;
import io.anuke.mindustry.core.Platform;
@@ -34,6 +34,7 @@ public class AndroidLauncher extends AndroidApplication{
public static final int PERMISSION_REQUEST_CODE = 1;
boolean doubleScaleTablets = true;
FileChooser chooser;
Runnable permCallback;
@Override
protected void onCreate(Bundle savedInstanceState){
@@ -66,6 +67,24 @@ public class AndroidLauncher extends AndroidApplication{
}
}
@Override
public void requestExternalPerms(Runnable callback){
if(Build.VERSION.SDK_INT < Build.VERSION_CODES.M || (checkSelfPermission(Manifest.permission.WRITE_EXTERNAL_STORAGE) == PackageManager.PERMISSION_GRANTED &&
checkSelfPermission(Manifest.permission.READ_EXTERNAL_STORAGE) == PackageManager.PERMISSION_GRANTED)){
callback.run();
}else{
permCallback = callback;
ArrayList<String> perms = new ArrayList<>();
if(checkSelfPermission(Manifest.permission.WRITE_EXTERNAL_STORAGE) != PackageManager.PERMISSION_GRANTED){
perms.add(Manifest.permission.WRITE_EXTERNAL_STORAGE);
}
if(checkSelfPermission(Manifest.permission.READ_EXTERNAL_STORAGE) != PackageManager.PERMISSION_GRANTED){
perms.add(Manifest.permission.READ_EXTERNAL_STORAGE);
}
requestPermissions(perms.toArray(new String[0]), PERMISSION_REQUEST_CODE);
}
}
@Override
public void shareFile(FileHandle file){
}
@@ -96,7 +115,7 @@ public class AndroidLauncher extends AndroidApplication{
@Override
public void endForceLandscape(){
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_SENSOR);
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_USER);
}
@Override
@@ -106,7 +125,7 @@ public class AndroidLauncher extends AndroidApplication{
};
if(doubleScaleTablets && isTablet(this.getContext())){
Unit.dp.addition = 0.5f;
UnitScl.dp.addition = 0.5f;
}
config.hideStatusBar = true;
@@ -123,7 +142,11 @@ public class AndroidLauncher extends AndroidApplication{
if(i != PackageManager.PERMISSION_GRANTED) return;
}
if(chooser != null){
chooser.show();
Core.app.post(chooser::show);
}
if(permCallback != null){
Core.app.post(permCallback);
permCallback = null;
}
}
}
@@ -146,7 +169,7 @@ public class AndroidLauncher extends AndroidApplication{
InputStream inStream;
if(myFile != null) inStream = new FileInputStream(myFile);
else inStream = getContentResolver().openInputStream(uri);
Core.app.post(() -> {
Core.app.post(() -> Core.app.post(() -> {
if(save){ //open save
System.out.println("Opening save.");
FileHandle file = Core.files.local("temp-save." + saveExtension);
@@ -172,7 +195,7 @@ public class AndroidLauncher extends AndroidApplication{
ui.editor.beginEditMap(file);
});
}
});
}));
}
}catch(IOException e){
e.printStackTrace();
@@ -25,7 +25,7 @@ public class Annotations{
}
/** Indicates that a method return or field cannot be null.*/
@Target({ElementType.METHOD, ElementType.FIELD})
@Target({ElementType.METHOD, ElementType.FIELD, ElementType.PARAMETER, ElementType.LOCAL_VARIABLE})
@Retention(RetentionPolicy.SOURCE)
public @interface NonNull{
@@ -0,0 +1,98 @@
package io.anuke.annotations;
import com.squareup.javapoet.*;
import javax.annotation.processing.AbstractProcessor;
import javax.annotation.processing.ProcessingEnvironment;
import javax.annotation.processing.RoundEnvironment;
import javax.annotation.processing.SupportedSourceVersion;
import javax.lang.model.SourceVersion;
import javax.lang.model.element.Modifier;
import javax.lang.model.element.TypeElement;
import javax.tools.Diagnostic.Kind;
import javax.tools.StandardLocation;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
@SupportedSourceVersion(SourceVersion.RELEASE_8)
public class AssetsAnnotationProcessor 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{
String path = Paths.get(Utils.filer.createResource(StandardLocation.CLASS_OUTPUT, "no", "no")
.toUri().toURL().toString().substring(System.getProperty("os.name").contains("Windows") ? 6 : "file:".length()))
.getParent().getParent().getParent().getParent().getParent().getParent().toString();
process("Sounds", path + "/assets/sounds", "io.anuke.arc.audio.Sound", "newSound");
process("Musics", path + "/assets/music", "io.anuke.arc.audio.Music", "newMusic");
return true;
}catch(Exception e){
e.printStackTrace();
throw new RuntimeException(e);
}
}
@Override
public Set<String> getSupportedAnnotationTypes() {
return Collections.singleton("*");
}
void process(String classname, String path, String rtype, String loadMethod) throws Exception{
TypeSpec.Builder type = TypeSpec.classBuilder(classname).addModifiers(Modifier.PUBLIC);
MethodSpec.Builder load = MethodSpec.methodBuilder("load").addModifiers(Modifier.PUBLIC, Modifier.STATIC);
MethodSpec.Builder dispose = MethodSpec.methodBuilder("dispose").addModifiers(Modifier.PUBLIC, Modifier.STATIC);
HashSet<String> names = new HashSet<>();
Files.list(Paths.get(path)).forEach(p -> {
String fname = p.getFileName().toString();
String name = p.getFileName().toString();
name = name.substring(0, name.indexOf("."));
if(names.contains(name)){
Utils.messager.printMessage(Kind.ERROR, "Duplicate file name: " + p.toString() + "!");
}else{
names.add(name);
}
if(SourceVersion.isKeyword(name)){
name = name + "s";
}
load.addStatement(name + " = io.anuke.arc.Core.audio."+loadMethod+"(io.anuke.arc.Core.files.internal(io.anuke.arc.Core.app.getType() != io.anuke.arc.Application.ApplicationType.iOS ? $S : $S))",
path.substring(path.lastIndexOf("/") + 1) + "/" + fname, (path.substring(path.lastIndexOf("/") + 1) + "/" + fname).replace(".ogg", ".mp3"));
dispose.addStatement(name + ".dispose()");
dispose.addStatement(name + " = null");
type.addField(FieldSpec.builder(ClassName.bestGuess(rtype), name, Modifier.STATIC, Modifier.PUBLIC).initializer("new io.anuke.arc.audio.mock.Mock" + rtype.substring(rtype.lastIndexOf(".") + 1)+ "()").build());
//cons.consume(type, fname, name);
});
if(classname.equals("Sounds")){
type.addField(FieldSpec.builder(ClassName.bestGuess(rtype), "none", Modifier.STATIC, Modifier.PUBLIC).initializer("new io.anuke.arc.audio.mock.Mock" + rtype.substring(rtype.lastIndexOf(".") + 1)+ "()").build());
}
type.addMethod(load.build());
type.addMethod(dispose.build());
JavaFile.builder(packageName, type.build()).build().writeTo(Utils.filer);
}
}
@@ -1,4 +1,5 @@
io.anuke.annotations.RemoteMethodAnnotationProcessor
io.anuke.annotations.SerializeAnnotationProcessor
io.anuke.annotations.StructAnnotationProcessor
io.anuke.annotations.CallSuperAnnotationProcessor
io.anuke.annotations.CallSuperAnnotationProcessor
io.anuke.annotations.AssetsAnnotationProcessor
+54 -9
View File
@@ -8,8 +8,8 @@ buildscript{
}
dependencies{
classpath 'com.mobidevelop.robovm:robovm-gradle-plugin:2.3.6'
classpath "com.badlogicgames.gdx:gdx-tools:1.9.9"
classpath 'com.mobidevelop.robovm:robovm-gradle-plugin:2.3.7'
classpath "com.badlogicgames.gdx:gdx-tools:1.9.10"
classpath "com.badlogicgames.packr:packr:2.1-SNAPSHOT"
}
}
@@ -19,11 +19,11 @@ allprojects{
ext{
versionNumber = '4'
versionModifier = 'beta'
versionModifier = 'release'
if(!project.hasProperty("versionType")) versionType = 'official'
appName = 'Mindustry'
gdxVersion = '1.9.9'
roboVMVersion = '2.3.6'
gdxVersion = '1.9.10'
roboVMVersion = '2.3.7'
arcHash = null
debugged = {
@@ -57,11 +57,36 @@ allprojects{
}
}
generateDeployName = { String platform ->
if(platform == "windows"){
platform += "64"
}
platform = platform.capitalize()
if(platform.endsWith("64") || platform.endsWith("32")){
platform = "${platform.substring(0, platform.length() - 2)}-${platform.substring(platform.length() - 2)}bit"
}
return "[${platform}]${getModifierString()}[${getNeatVersionString()}]${appName}"
}
getVersionString = {
String buildVersion = getBuildVersion()
return "$versionNumber-$versionModifier-$buildVersion"
}
getNeatVersionString = {
String buildVersion = getBuildVersion()
return "v$buildVersion"
}
getModifierString = {
if(versionModifier != "release"){
return "[${versionModifier.toUpperCase()}]"
}
return ""
}
getBuildVersion = {
if(!project.hasProperty("buildversion")) return "custom build"
return project.getProperties()["buildversion"]
@@ -129,7 +154,7 @@ project(":desktop"){
compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
compile "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-desktop"
compile arcModule("backends:backend-lwjgl3")
compile arcModule("backends:backend-sdl")
compile 'com.github.MinnDevelopment:java-discord-rpc:v2.0.2'
}
}
@@ -204,6 +229,7 @@ project(":core"){
compileJava.dependsOn(preGen)
compile "org.lz4:lz4-java:1.4.1"
compile arcModule("arc-core")
compile arcModule("extensions:freetype")
compile arcModule("extensions:arcnet")
@@ -251,7 +277,7 @@ project(":tools"){
compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
compile "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-desktop"
compile arcModule("backends:backend-lwjgl3")
compile arcModule("backends:backend-sdl")
}
}
@@ -269,7 +295,26 @@ project(":net"){
dependencies{
compile project(":core")
compile "org.lz4:lz4-java:1.4.1"
compile 'com.github.Anuken:WaifUPnP:05eb46bc577fd7674596946ba288c96c0cedd893'
}
}
task deployAll{
task cleanDeployOutput{
doFirst{
if("${getBuildVersion()}" == "custom build" || "${getBuildVersion()}" == "") throw new IllegalArgumentException("----\n\nSET A BUILD NUMBER FIRST!\n\n----")
if(!project.hasProperty("release")) throw new IllegalArgumentException("----\n\nSET THE RELEASE PROJECT PROPERTY FIRST!\n\n----")
delete{
delete "deploy/"
}
}
}
dependsOn cleanDeployOutput
dependsOn "desktop:packrLinux64"
dependsOn "desktop:packrWindows64"
dependsOn "desktop:packrWindows32"
dependsOn "desktop:packrMacOS"
dependsOn "server:deploy"
dependsOn "android:deploy"
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 265 B

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 276 B

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 254 B

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 219 B

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 504 B

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 236 B

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 244 B

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 474 B

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 243 B

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 231 B

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 637 B

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 261 B

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 243 B

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 238 B

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 218 B

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 468 B

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 224 B

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 226 B

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 232 B

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 246 B

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 259 B

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 589 B

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 266 B

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 234 B

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 206 B

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.0 KiB

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Before

Width:  |  Height:  |  Size: 71 B

After

Width:  |  Height:  |  Size: 71 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 299 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 312 B

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 340 B

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 466 B

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 409 B

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 384 B

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 543 B

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 452 B

After

Width:  |  Height:  |  Size: 6.6 KiB

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