Commit graph

1591 commits

Author SHA1 Message Date
Yair Morgenstern
80d9b3bd49 Trades in overview screen are now almost symmetrical 2019-11-17 21:37:27 +02:00
Yair Morgenstern
aa4c70f090 Fixed trades always beng denied because "our proposed trade is no longer relevant" 2019-11-17 21:16:51 +02:00
Yair Morgenstern
1ecc6bbb2a Performance improvement - tile taps and long-clicks are now done at the TileMapHolder level, meaning we can only create one instead of one per tile, massive memory saving!
Map now zooms with mouse scroll in Desktop!
2019-11-16 23:02:09 +02:00
Yair Morgenstern
a48c356920 Base image tiles on tiles with improvement images are now grayed out when not visible 2019-11-16 21:15:33 +02:00
Yair Morgenstern
3a4d79c14f Resolved #1336 - can no longer get Settlers from Collective Rule policy when in One City challenge 2019-11-16 18:44:56 +02:00
Yair Morgenstern
e7b6450a71 Resolved #1332 - can no longer get settlers from ruins in One City challenge 2019-11-15 14:31:19 +02:00
Yair Morgenstern
4845fb7865 JAR file is now ready for desktop consumption! 2019-11-15 09:12:06 +02:00
Yair Morgenstern
e21d7eb54a We can now have "layered" images for the base tile, such as grassland + manufactory! 2019-11-14 21:01:24 +02:00
Yair Morgenstern
c6b550e43d Resolved #1312 - More obvious division between promotion 'pick now' and description
Civilopedia redone!
Now with simpler picking and images!
2019-11-13 22:54:10 +02:00
Yair Morgenstern
a94a3f9d2e Resolved #1323 - invalid trades should now be removed when turn starts 2019-11-13 21:45:54 +02:00
sveckarel
7a9c99ee81 Update czech translations (#1327)
* Czech translations improvements

* Update Czech translations
2019-11-12 06:52:48 +02:00
Yair Morgenstern
b0e29c5d3c City-state alliance Bugfix 2019-11-11 21:07:16 +02:00
Yair Morgenstern
637b487a2c City-states allied to Civs no longer attempt to declare war when it does on Civs they haven't met yet 2019-11-09 20:25:30 +02:00
Yair Morgenstern
28b15a537a City-states no longer generate Great People 2019-11-09 19:18:27 +02:00
Yair Morgenstern
e1350cdb05 separated whiteDot for images from TableBackground for backgrounds 2019-11-08 15:42:19 +02:00
lishaoxia1985
4d5ae8fa25 now you only need to create font once. (#1269)
* update

* update

* update

* update

* update

* update

* update

* range extension

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update
2019-11-08 15:31:11 +02:00
Yair Morgenstern
d8ec67bb43 Resolved #1307 - you no longer get a notification when conneccting to the cities of other Civs
New notification when cities have disconnected from your capital
2019-11-06 21:43:48 +02:00
Yair Morgenstern
140753e9c4 Resolved #1302 - captured settlers are converted workers as per original Civ V 2019-11-05 18:16:37 +02:00
Yair Morgenstern
777802ab04 Can no longer click 'next turn' if popups are open - #1289 2019-11-05 15:21:28 +02:00
Yair Morgenstern
8226304097 Better Civ icons 2019-11-05 12:51:05 +02:00
Duan Tao
1e403442f7 City-state allies with most influencing civ. (#1291)
* City-state allies with most influencing civ.

* More notifications for alliance. More intense status update.

* Fix a crash about lateinit tiles.

* More reasonable civInfo.setTransients.
2019-11-05 12:23:21 +02:00
Yair Morgenstern
2e9b1e6de6 Added 750x500 resolution for tiny screens (it still looks OK, but if we go lower to 600*400 then...no)
City states no longer get starting Scouts - #1289
2019-11-05 10:18:43 +02:00
BenBooth1344
92ddc864fa Implemented One City Challenge (#1279)
* Implemented One City Challenge

Implemented One City Challenge

* prevent OCC from capturing settlers

* Fixed spellling of Destroy

* fixed capture logic for barbarian
2019-11-04 14:24:43 +02:00
Yair Morgenstern
57b0040df7 Added Siam civ - #703 2019-11-03 23:22:49 +02:00
Yair Morgenstern
9610f9f918 bugfix - Music volume slider no longer auto-sets to sound effect volume 2019-11-03 20:15:49 +02:00
BenBooth1344
b82a52ce38 added no ancient ruins option (#1280) 2019-11-03 16:17:15 +02:00
Yair Morgenstern
791439397e Added Brandenburg Gate wonder - #643
Fixed translation bugs
2019-11-02 23:08:55 +02:00
Yair Morgenstern
edb5ff92ed Fixed Indirect Fire promotion 2019-11-02 20:10:01 +02:00
Yair Morgenstern
78027ef249 Distinguished notifications of "trade item TO nation has ended" from "trade item FROM nation has ended" 2019-10-31 15:55:13 +02:00
Yair Morgenstern
23178836cf More performance
- Shoved TextureRegionDrawables into a hashmap for faster searching and more unified access (not everyone has to create a Drawable for the Region now)
- getLanguages() now does the minimum amount of work without saving intermediates

Unified ImageGetter.getTableBackground()  (helper, not performance)
2019-10-31 12:59:19 +02:00
Yair Morgenstern
de30382536 Memory performance improvements!
- .tr() no longer tries to regex replace every entry in the dictionary - instead, we save the shortened version of each translation in its place!
 - when counting language completion percentage, we only count the numbers, not save them to a list!
 - label coloring and size now baked-in to .toLabel(). meaning we don't need to reassign styles and rebuild font caches!
2019-10-31 12:01:23 +02:00
Yair Morgenstern
c39c1a4c15 Fixed crash when failing to download map in map editor 2019-10-31 10:25:11 +02:00
Yair Morgenstern
18ffe9b67f Removed unused Fonts functions
Fixed bug on city creation caused by 750ca0c
2019-10-31 09:46:33 +02:00
Yair Morgenstern
dbbfd13486 Music now downloads on another thread to not harm the user experience
Removed unused "Username" string
2019-10-31 09:40:50 +02:00
Yair Morgenstern
9dee9f8256 Can now download background music for the game through the Options menu =D 2019-10-30 23:31:16 +02:00
Yair Morgenstern
f4c20792ae Resolved #1256 - Puppeted cities no longer autobuild units or wonders 2019-10-30 20:36:14 +02:00
lishaoxia1985
1f8db38ea2 update translation (#1258)
* update

* update

* update

* update

* update

* update

* update

* range extension

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update
2019-10-30 15:45:03 +02:00
Yair Morgenstern
750ca0c1e9 Resolved #1252 - Tiles created inside your borders take control of the city center tile, so they don't become "Invisible cities" 2019-10-29 22:32:52 +02:00
Yair Morgenstern
2ec628a0da Map generation simplified, rewritten, and now much MUCH more readable! 2019-10-29 22:17:07 +02:00
lishaoxia1985
8af6a5ffa6 update translation (#1247)
* update

* update

* update

* update

* update

* update

* update

* range extension

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update
2019-10-29 06:20:27 +02:00
Yair Morgenstern
f80b0ee777 Added link to Patreon
Units upgrading to units with built-in promotions now get those promotions
2019-10-28 21:24:04 +02:00
Yair Morgenstern
827af89498 Resolved #1250 - Resources requiring a specific tech to build the improvement, are no longer provided before researching that tech (by cities etc) 2019-10-28 21:09:18 +02:00
Yair Morgenstern
6a46af4f88 Can no longer create great improvements on water or unbuildable tiles (like Oasis) 2019-10-28 21:00:08 +02:00
lishaoxia1985
e865055488 update translation (#1243)
* update

* update

* update

* update

* update

* update

* update

* range extension

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update
2019-10-27 17:30:56 +02:00
sveckarel
5abaff7905 Added next few czech words, fixed issue with Save game from last commit 2019-10-27 11:39:24 +02:00
sveckarel
c12ed1842c Translations improvements, fixed few czech words 2019-10-27 11:39:24 +02:00
Yair Morgenstern
ba33e2266d Resolved #1230 - sleeping units wake up if there's an enemy nearby 2019-10-26 21:18:17 +03:00
Yair Morgenstern
8151476806 NativeFont has proved itself well enough - got rid of old WenQuanYiMicroHei font and corresponding setting 2019-10-26 20:54:32 +03:00
Yair Morgenstern
232896665e Solved promotion name-change bug 2019-10-26 20:44:32 +03:00
Yair Morgenstern
4d285e972d Can now translate [year] BC / [year] AD (#1240) 2019-10-26 20:27:01 +03:00