Commit graph

1207 commits

Author SHA1 Message Date
Yair Morgenstern
527288b886 Fixed crash in new diplomatic relations and unified DiplomacyManager.getModifier() 2019-06-03 22:06:35 +03:00
Yair Morgenstern
f49662b22e Resolved #836 - bug where ranged units could shoot above forests+jungles 2019-06-03 20:50:58 +03:00
Am-per-Sand
6f29fe9e76 include À ì in Fonts.kt
#428
2019-06-03 20:32:45 +03:00
Yair Morgenstern
09079bd76f Resolved #839 - Set up takes 1 movement point 2019-06-03 20:26:05 +03:00
Yair Morgenstern
cf37122304 Translation organization 2019-06-02 23:31:16 +03:00
Yair Morgenstern
0916720f86 Cannot declare friendship after denounce and vice versa 2019-06-02 19:47:49 +03:00
Yair Morgenstern
88422524ac Barbarian encampments don't show red on unexplored tiles 2019-06-01 23:42:30 +03:00
Yair Morgenstern
36da3359db Added denunceation 2019-06-01 23:20:02 +03:00
Yair Morgenstern
f60ebbb7e1 Civs clearing an encampment now get gold 2019-06-01 22:47:41 +03:00
Yair Morgenstern
8040cb01b9 Resolved #830 - city-states no longer offer trades 2019-06-01 22:27:38 +03:00
Yair Morgenstern
4b4f5e77b8 Resolved #646 - Barbarians now spawn from Encampments! 2019-05-31 17:36:19 +03:00
Yair Morgenstern
b068e6f88f Minor translation changes 2019-05-30 19:57:27 +03:00
Yair Morgenstern
16d8c16dfe Each unit now saves its viewable tiles, which gives in certain situations a whopping 10% performance improvement! Whoa! 2019-05-29 22:58:20 +03:00
Yair Morgenstern
b9cf40487f Performance improvements for Next Turn 2019-05-29 22:10:32 +03:00
Yair Morgenstern
d733df207f Fixed bug that prevented the "next turn" button from being pressed when the game didn't autosave,
meaning players who picked turns between autosaves manually were screwed
2019-05-29 21:44:42 +03:00
Yair Morgenstern
2060bcfa0a Resolved #821 - Civ-wide stats are now affected by percent bonuses 2019-05-29 21:12:10 +03:00
Yair Morgenstern
3fbcc019e3 There were somes things that were in the translations files but weren't translated in-game 2019-05-28 23:43:18 +03:00
Yair Morgenstern
d0cb10abbe Hopefully fixed a recurring bug in tryHeadTowardsEnemyCity 2019-05-28 23:13:08 +03:00
Yair Morgenstern
b6512535fb Fixed bug in GetProductionCost that was probably caused by the construction changing while the city button was rendering 2019-05-28 23:09:47 +03:00
Yair Morgenstern
2066978ca0 Legion no longer construct roads on water tiles - #811 2019-05-27 19:55:43 +03:00
Yair Morgenstern
a204333410 Added countdown to relationship change with city states 2019-05-26 18:52:32 +03:00
Yair Morgenstern
1bb62ad681 Civs respond according to neutral/hate and respond properly after peace 2019-05-26 18:32:19 +03:00
Yair Morgenstern
f78f9c2fad Resolved #803 - Heal Instantly didn't update health in unit icon 2019-05-26 16:16:42 +03:00
Yair Morgenstern
408dfcfc7e Final touches to City States, and they're ready to roll! 2019-05-26 16:10:09 +03:00
Yair Morgenstern
e70e052515 Resolved #804 - bigger Diplomacy and Next Turn buttons for easier click 2019-05-26 15:07:15 +03:00
Yair Morgenstern
9352243eb4 Fixed switching unit selection bug - #804 2019-05-26 14:46:45 +03:00
Yair Morgenstern
3640874b35 Dispose previous altas when replacing it to avoid OutOfMemory exceptions 2019-05-24 14:33:59 +03:00
Yair Morgenstern
125bb1270e Tech button no longer displays buildings replaced by Civ unique buiildings 2019-05-24 14:25:46 +03:00
Yair Morgenstern
25fc1b3c71 Last fixes for Indian nation!
Checks for specific buildings now work for all civ-unique buildings as well
2019-05-24 13:59:00 +03:00
Yair Morgenstern
7e6b102f27 Merge branch 'roadOnLongClick' 2019-05-23 22:21:46 +03:00
Amper-sandd
af19d8a1b0 add Indian assets (#800)
* War Elephant icon

* Mughal Fort icon

* credits for Indian unique icons

* bonuses for Castle apply to Mughal Fort too

* getCityHappiness() complies with the Indian unique

* getCityHappiness() complies with the Indian

missing bracket 🙄
2019-05-23 21:50:46 +03:00
martin
6bd06474bd improved overview city screen
- dynamic layout
- cities and units sorted by name
- jump-to buttons for cities
- rounded values in statistics
2019-05-23 16:25:47 +03:00
martin
c3f700ddc6 notifications with LocationAction don't select units, but only the tile 2019-05-23 16:25:08 +03:00
martin
b49270e690 moving city button with absolute coordinates to prevent it from wandering around (#794) 2019-05-23 16:25:08 +03:00
martin
eb3ba51396 allow siege units to move when set up (#797) 2019-05-23 16:25:08 +03:00
martin
c31f6bc7dd show context menu entry only if roads are researched 2019-05-23 07:57:34 +03:00
martin
73c273985f worker moves on working on road even when the path is blocked by other civilian units. Player will receive messages about those occasions. 2019-05-23 07:57:34 +03:00
martin
d676c18aec adding MapUnitAction.name(), a user-readable name for actions. Eg "Moving" instead of "moveTo x,y" 2019-05-23 07:57:34 +03:00
martin
4330508d2e using StringAction for string-encoded actions used throughout the app 2019-05-23 07:57:34 +03:00
Yair Morgenstern
29647896ce We no longer "downgrade" tiles from Railroad to Road when we try to build a Road somewhere
Fixed error where if intermediate tiles were full (o e.g. other workers) it would try to "jump" to a tile that was out of its reach
2019-05-22 22:55:24 +03:00
martin
98803f0454 implementing BuildLongRoadAction 2019-05-22 22:23:03 +03:00
martin
a8c3b3755b adding MapUnitAction, which is compatible to MapUnit.action 2019-05-22 22:23:03 +03:00
martin
86eda6208a show long-press context menu (move here, Construct road this way) 2019-05-22 22:23:03 +03:00
Yair Morgenstern
ea9c9da48d Added missing notification translations (#792) 2019-05-22 22:07:50 +03:00
martin
c8c3370cb9 show "rough terrain" property in Civilopedia 2019-05-22 21:57:14 +03:00
martin
0e1a7f44c4 fixed enemy city buttons not to be clickable. simplifies tile selection when attacking 2019-05-22 21:57:14 +03:00
martin
d3f7a73cf3 allow siege units to go sleeping even when set up 2019-05-22 21:57:14 +03:00
sulai
b5138b6527 auto save on dispose (#774)
* auto save on dispose

* auto save: clone game info outside the save-game thread

* keep autosaves for the last 10 turns
2019-05-21 08:18:34 +03:00
Yair Morgenstern
fd4123e15f City state icon in city button now visible and colored according to city-state color 2019-05-20 22:22:16 +03:00
sulai
f905fa8068 Single tap pickers for improvements and promotion (#765)
* single tap picker (improvements, policies and promotions), tbd: split button

* improvement and promotion pickers: using split buttons featuring a question mark. allows single-tap choice.

* improvement picker and promotion picker: show "pick now" to the right of the button
2019-05-20 20:38:50 +03:00