Commit graph

3909 commits

Author SHA1 Message Date
Yair Morgenstern
713ee08bf9 Buildings requiring a nearby resource can be constructed even when the tile belongs to another city 2020-06-03 19:26:39 +03:00
Yair Morgenstern
35ff2a38f5 Apparently I removed the nat wonders, causing tests to fail. Lucky the tests are there, or the tutorial would be gone! 2020-06-03 19:14:15 +03:00
Yair Morgenstern
d511899ed8 Resolved #2613 - added a close button to the Civ-picking popup in the New Game screen 2020-06-03 19:09:48 +03:00
Yair Morgenstern
3e31be1801 Natural wonders spawned before rivers, so we don't retroactively get rivers on coast tiles
Other small improvements for catching and avoiding crashes
2020-06-03 18:44:03 +03:00
Yair Morgenstern
bb9404152f #1492 - Added civilopedia info for great people and great improvements, removing terrain features, and strategic resource provision. 2020-06-03 18:11:56 +03:00
Yair Morgenstern
7566cbb24a Got the aapt options to ignore the mods! We can now add mod when testing without worrying that they will make their way into the apk =D 2020-06-01 22:30:16 +03:00
Yair Morgenstern
5eeee2215b 3.9.0-patch2 2020-06-01 22:10:22 +03:00
uncivbot[bot]
0ae9478128
Translations update (#2680)
* Update Italian.properties (#2675)

* Update Japanese.properties (#2677)

* Update Japanese.properties

* Update Japanese.properties

* Update Ukrainian.properties (#2678)

Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: paontv <57051667+paontv@users.noreply.github.com>
Co-authored-by: Prosta4okua <31485341+Prosta4okua@users.noreply.github.com>
2020-06-01 22:00:37 +03:00
Yair Morgenstern
b90690a24b Solved air interception defensive bonuses crashes 2020-06-01 21:57:20 +03:00
Yair Morgenstern
1c04ba50cb Basic structure of Dropbox replacement self-serving 2020-06-01 21:33:59 +03:00
Yair Morgenstern
07889130b4 test 2020-06-01 21:26:25 +03:00
Yair Morgenstern
e4661db4e3 Upgraded Gradle plugin 2020-06-01 20:23:11 +03:00
Yair Morgenstern
d77415de8d Barbarian automation's run away uses the same function as the worker's run away - solves a crash caused by bad logic in the barbarian automation
3.9.0-patch1
2020-06-01 01:54:26 +03:00
Yair Morgenstern
4b649825cd Battle calculation takes into account the tile that the unit will attack from 2020-06-01 01:51:11 +03:00
Yair Morgenstern
9496c4523e Fixed crashing bug where map generation would try to have rivers going off-map 2020-06-01 01:31:38 +03:00
Yair Morgenstern
22fd10498e 3.9.0 2020-05-31 23:02:07 +03:00
paontv
9c1ffb8b28
Update Japanese.properties (#2674)
* Update Japanese.properties

* Update Japanese.properties

* Update Japanese.properties

* Update Japanese.properties
2020-05-31 20:40:43 +03:00
Yair Morgenstern
43f8fa89c0 Game now saves save files in external storage on Android when possible.
May the lord have mercy on our souls.
2020-05-31 19:48:36 +03:00
Yair Morgenstern
434ded6070 Simplified multiplayer vs local save storage 2020-05-31 19:20:16 +03:00
Yair Morgenstern
ba9329963f River generation is go! =D 2020-05-31 19:14:16 +03:00
Yair Morgenstern
60aeebd3bb Separated Landmass and Natural Wonder generation from the MapGenerator class - now it's much easier to understand what's going on where. 2020-05-31 17:21:15 +03:00
Yair Morgenstern
844cdcb821 Added a river coordinate system - it's just far enough from the tile oordinate system to be incredibly annoying 2020-05-31 17:05:35 +03:00
Yair Morgenstern
e81e048169 Added combat penalty when attacking across a river 2020-05-31 16:47:52 +03:00
Yair Morgenstern
69dc3cc5f1 Resolved #2660 - Remove Fallout now enabled by Atomic Theory 2020-05-31 13:11:02 +03:00
uncivbot[bot]
9123fdc48b
Translations update (#2673)
* Update Korean.properties (#2664)

* Update Korean.properties

중점을 둔 부분: 튜토리얼 태스크, 조사(은는 이가 을를 와과), 도시목록, Civilopedia, 그외 전반적인 단어 일치
Priority on: Tutorial task, Korean proposition, City list, Civilopedia, and overall-agreement of word usage

* Update Korean.properties

* Update Korean.properties

* Update Italian.properties (#2665)

* Update Russian.properties (#2669)

* Update Russian.properties

* Update Russian.properties

Grammar and placeholders correction until line 437

* Update Russian.properties

Grammar and placeholders corrections until line 622

* Update Russian.properties

Grammar and placeholders corrections

* Update Russian.properties

minor errors fixed

* Update Indonesian.properties (#2670)

* Update Japanese.properties (#2671)

* Update Japanese.properties

* Update Japanese.properties

* Update Japanese.properties

* Update Japanese.properties

* Update Japanese.properties

* Update Japanese.properties

* Update Japanese.properties

* Update Japanese.properties

Co-authored-by: saud2410 <64586749+saud2410@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: Bada <64350251+BadaTheBada@users.noreply.github.com>
Co-authored-by: Kensvin <63847755+Kensvin28@users.noreply.github.com>
Co-authored-by: paontv <57051667+paontv@users.noreply.github.com>
2020-05-30 23:40:55 +03:00
Yair Morgenstern
4a69544c7d Resolved #2672 - Difficulties are sorted by ascending difficulty in Civilopedia 2020-05-30 23:40:27 +03:00
Yair Morgenstern
84e4e58f23 Added movement cost for crossing rivers 2020-05-30 23:32:53 +03:00
Yair Morgenstern
58059fc59b Great person uniques can be added to any modded unit 2020-05-30 23:11:49 +03:00
Yair Morgenstern
40325a38b4 Merge branch 'master' of https://github.com/yairm210/Unciv 2020-05-26 16:35:56 +03:00
Yair Morgenstern
8e9cd174dc 3.8.12-patch1
Added case where worker that needs to ru away has nowhere to move to
2020-05-26 16:35:01 +03:00
k.h.lai
a9d9b5a64f
Reformat "object:" to "object :" according to the official kotlin style guide (#2666) 2020-05-26 16:12:29 +03:00
Yair Morgenstern
1f7d9ead20 3.8.12 2020-05-25 21:34:38 +03:00
k.h.lai
ef0c0b9407
Improve keyboard shortcut (#2663)
* Use keyDown instead of keyTyped to handle arrow keys

* Rename getIconAnKeyForUnitAction to getIconAndKeyForUnitAction
Remove unnecessary dependencies in UnitActionsTable.kt

* Use backButtonAndESCHandler to deselect unit and city
2020-05-25 21:17:02 +03:00
uncivbot[bot]
29d17ead9b
Translations update (#2659)
* Update Korean.properties (#2649)

* Update Korean.properties

* Update Korean.properties

* Translated part of Arabia (#2653)

* Update Polish.properties (#2656)

* Update Spanish.properties (#2655)

Translate India and Germany

Co-authored-by: saud2410 <64586749+saud2410@users.noreply.github.com>
Co-authored-by: Shon-Shon <65797120+Shon-Shon@users.noreply.github.com>
Co-authored-by: RadioMagnetofonStereofoniczny <remixionmix@gmail.com>
2020-05-24 21:50:01 +03:00
Yair Morgenstern
41aade6eb9 Advanced sliders work on New Map Screen 2020-05-24 21:49:36 +03:00
Daniel Bälz
fcffbbb9bd
Minor UI improvements construction menu (#2657)
* Fix padding for headers in construction menu

* Sync width of queue and available construction tables

* Left align "Add to queue" button to prevent jumping

* Remove duplicate separator and padding

* Improve design of CityInfoTable

* Fix padding for headers in construction menu

* Sync width of queue and available construction tables

* Left align "Add to queue" button to prevent jumping

* Remove duplicate separator and padding

* Improve design of CityInfoTable
2020-05-24 21:30:34 +03:00
Daniel Bälz
ee5ef800c7
Evaluate translations for mods only when the mod is active in a game. Fixes #2622 (#2650) 2020-05-24 21:29:16 +03:00
Daniel Bälz
24c88313e8
Add remove button for construction queue items (#2654) 2020-05-23 23:10:46 +03:00
Yair Morgenstern
2f43213616 Resolved #2647 - Automated workers run away from enemy military units 2020-05-22 11:08:39 +03:00
Yair Morgenstern
890a64c533 3.8.11 2020-05-21 22:58:58 +03:00
uncivbot[bot]
bc919815c6
Translations update (#2646)
* Update Italian.properties (#2639)

* Update Brazilian_Portuguese.properties (#2645)

hi, i added some civilizations translates :D

Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: Moizeba <65720902+Moizeba@users.noreply.github.com>
2020-05-21 22:44:36 +03:00
Alexander
8745f58dc2
Uniformed the size of buttons on LanguagePickerScreen and MultiplayerScreen (#2628) 2020-05-21 22:31:03 +03:00
Yair Morgenstern
90051ebe5c Rivers no longer disappear on 'next turn' 2020-05-21 22:18:28 +03:00
Yair Morgenstern
9b9e172897 Gold deficit only affects science when the civ has negative gold 2020-05-21 22:16:12 +03:00
Jack Rainy
98a4c8bf00
Don't reveal submarine position by city markers (#2643) 2020-05-21 12:20:44 +03:00
Yair Morgenstern
4b405ecc61 Resolved #2642 - added difficulty settings to Civilopedia
No translations yet
2020-05-20 22:20:26 +03:00
Yair Morgenstern
d81507ef2d Resolved #2549 - fixed New Game Screen options alignment and placing 2020-05-20 20:52:13 +03:00
Yair Morgenstern
9b93e4fb51 Unified capitalization in New Game screen - #2549 2020-05-20 20:46:59 +03:00
Yair Morgenstern
0262ee816b Resources no longer spawn under unbuildable, unremovable terrain features 2020-05-19 21:44:10 +03:00
AcridBrimistic
39e5d0df0f
relationshipLevel() clean-up (#2627)
* Diplomacy Clean-up

* Better formatting

* Quickfix

* Fix

counterpoint
2020-05-19 21:28:32 +03:00