Commit Graph

8372 Commits

Author SHA1 Message Date
Yair Morgenstern
13be70615d chore: more ui class reorg 2023-02-19 07:54:24 +02:00
Yair Morgenstern
70f81d1657 chore: huge code reorg for ui classes
Separated into screens, popups, and UI components, with screen-specific components located together with their screens
2023-02-19 07:47:29 +02:00
Yair Morgenstern
85720c97fb chore: moved next turn actions into next turn button
Cleans up worldscreen from non-essential functionality
2023-02-19 07:26:48 +02:00
Yair Morgenstern
ccec56e2c7 4.4.16 2023-02-18 20:38:37 +02:00
Yair Morgenstern
a244c4f50d
Version rollout (#8694)
* Bump version and create initial changelog entry

* Update Hungarian.properties (#8692)

* Update Hungarian.properties

* Update Hungarian.properties

* Update Polish.properties (#8691)

* Update Simplified_Chinese.properties (#8690)

* Minor corrections to translations (#8688)

* Minor corrections

* Additional translations

* Original known translation of the quota

* Update Ukrainian.properties (#8685)

* Update Ukrainian.properties

* Update Ukrainian.properties

* Update French.properties (#8683)

* Update French.properties

* Update French.properties

* Update Spanish.properties (#8680)

* Update Spanish.properties

* Update Spanish.properties

* #8679

* Updated Brazilian_Portuguese.properties (#8678)

* Updated Brazilian_Portuguese.properties

* Updated Brazilian_Portuguese.properties

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: balazsszalab <balazsszalab@freemail.hu>
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com>
Co-authored-by: qw142536 <123065131+qw142536@users.noreply.github.com>
Co-authored-by: Jack Rainy <JackRainy@users.noreply.github.com>
Co-authored-by: Gualdimar <Gualdimar@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
2023-02-18 20:21:07 +02:00
Yair Morgenstern
c6d035929a Display mod categories in mod page 2023-02-18 20:11:03 +02:00
Yair Morgenstern
bfaae54890 Mod sizes larger than 2 MB are displayed in MB 2023-02-18 19:25:07 +02:00
Gualdimar
be5608fdea
Fixed unit upgrade check (#8686)
* Fixed unit upgrade check

* Replaced sequences with list.asSequence()

* Deleted missed comment
2023-02-18 18:58:21 +02:00
vegeta1k95
ec2be2ceca Fix Desktop window borders 2023-02-17 17:24:59 +01:00
vegeta1k95
01204f5aee
Desktop: world camera autoscroll, selectable window mode (#8679)
* Desktop: world camera autoscroll, selectable window mode

* Map auto-scroll is optional

* Fix option update, more scroll speed

* Fix translation

---------

Co-authored-by: vegeta1k95 <vfylfhby>
2023-02-17 02:12:32 +02:00
Gualdimar
7114a67d2c
Pending trades (#8681)
* Added pending trade offers to the trade overview screen

* Fixed offer trade button state

* Fixed space

* Small fixes
2023-02-17 00:46:21 +02:00
Yair Morgenstern
d4b097b946 4.4.15-patch1 2023-02-15 12:43:26 +02:00
vegeta1k95
c8f4b9fbff Fix TextureArraySpriteBatch vertices copying 2023-02-15 01:41:08 +01:00
Yair Morgenstern
d9151d435c
Update readme.md - better Discord badge 2023-02-14 22:46:24 +02:00
Yair Morgenstern
6680003555 Do not cache test results!
This problem made translation PRs that passed tests the first time, continue to "pass tests" even after failure
2023-02-14 22:32:02 +02:00
Yair Morgenstern
6a70026fee 4.4.15 2023-02-14 22:21:26 +02:00
Yair Morgenstern
d1b47199b7
Version rollout (#8677)
* Bump version and create initial changelog entry

* Update Ukrainian.properties (#8676)

* Update Spanish.properties (#8675)

* Update Polish.properties (#8672)

* Update Hungarian.properties (#8668)

* Update Hungarian.properties

* Update Hungarian.properties

* Update Hungarian.properties

* Update Hungarian.properties

* Updated Brazilian_Portuguese.properties (#8667)

* Update Filipino.properties (#8666)

* Update Filipino.properties

* Update Filipino.properties

* Update Filipino.properties

* Update Filipino.properties

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Gualdimar <Gualdimar@users.noreply.github.com>
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com>
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com>
Co-authored-by: balazsszalab <balazsszalab@freemail.hu>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: Shann Aurelle Ripalda <shannaurelleg@gmail.com>
2023-02-14 22:16:37 +02:00
vegeta1k95
a8a458ab48
Blockade mechanics (#8654)
* Fix centering of unit HP bar

* Blockade mechanics: land tiles

* Blockade mechanics: water tiles

* Don't blockade water tile if it has friendly military unit

* Blockade mechanics: cities

* Added tile/city blockade tutorials. Added city blockade status icon.

---------

Co-authored-by: vegeta1k95 <vfylfhby>
2023-02-14 22:13:25 +02:00
Yair Morgenstern
d9b259c7fc Added Farm-Pillaged image 2023-02-13 23:24:40 +02:00
Yair Morgenstern
8db7f6d720 Resolved #7476 - added option for pillaged improvements 2023-02-13 23:11:05 +02:00
vegeta1k95
12652bbe32
Out-of-move units are half-opaque relative to base setting (#8671)
Co-authored-by: vegeta1k95 <vfylfhby>
2023-02-13 20:41:24 +01:00
vegeta1k95
7b8a404fd6
Fix selection opacity for non-full-opaque flags. (#8670)
Co-authored-by: vegeta1k95 <vfylfhby>
2023-02-13 19:50:28 +01:00
Yair Morgenstern
cc2d1bf6f2 Resolved #8614 - trades evaluated correctly 2023-02-13 20:34:09 +02:00
vegeta1k95
1b22d810c5
Experimental: mitigate texture swapping with TextureArraySpriteBatch (#8604)
* Performance optimization: less texture swapping

* Added experimental setting to Options-Display

---------

Co-authored-by: tunerzinc@gmail.com <vfylfhby>
2023-02-13 09:45:05 +02:00
Gualdimar
82c39f9e99
Improve UX (#8633)
* Added double click actions to:
Great person picker screen;
Improvement picker screen;
Policy picker screen;
Promotion picker screen;
Load/Save game screen.

* Removed adding to/removing from construction queue on second click

* Removed default keyboard focus on load/save screen

* Added back adding to construction queue on second click
2023-02-12 20:48:54 +02:00
Yair Morgenstern
29deacaca2 4.4.14 2023-02-12 20:07:09 +02:00
Yair Morgenstern
03bb0b3b79
Version rollout (#8663)
* Bump version and create initial changelog entry

* Update Polish.properties (#8662)

* Update Filipino.properties (#8659)

* Update Filipino.properties

* Update Filipino.properties

* Update Filipino.properties

* Update Czech.properties (#8657)

* Update Hungarian.properties (#8642)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com>
Co-authored-by: Shann Aurelle Ripalda <shannaurelleg@gmail.com>
Co-authored-by: Weverak <74535809+Weverak@users.noreply.github.com>
Co-authored-by: balazsszalab <balazsszalab@freemail.hu>
2023-02-12 20:04:50 +02:00
Yair Morgenstern
5d7d5f42f6 Offers we receive for more resources than we have are invalid 2023-02-12 19:50:16 +02:00
Yair Morgenstern
6bcaed7947 Resolved #8647 - fixed Guruship belief 2023-02-12 19:34:40 +02:00
vegeta1k95
aaf06b7589
Mod sizes are updated to proper values upon selection (#8648)
* Mod sizes are updated to proper values upon selection

---------

Co-authored-by: vegeta1k95 <vfylfhby>
2023-02-11 22:48:12 +01:00
letstalkaboutdune
47bbd996ae
AbsoluteUnits - Berserker, Samurai, Longswordsman_v2 (#8652) 2023-02-11 21:52:16 +02:00
vegeta1k95
4f60c36e9a
Fix UI bugs (#8655)
* UI Fixes: fog, flags opacity, air table

---------

Co-authored-by: vegeta1k95 <vfylfhby>
2023-02-11 02:35:29 +01:00
vegeta1k95
c35c4c4fb5
Fix centering of unit HP bar (#8653)
Co-authored-by: vegeta1k95 <vfylfhby>
2023-02-10 23:45:54 +01:00
vegeta1k95
8babec78d9
Improvements to construction table (#8643)
* Construction resource requirements are depicted with icons

* Dimming and coloring

* Don't show buildings which require another building in this city

* Don't show buildings which require another building in this city which is buildable rn

---------

Co-authored-by: vegeta1k95 <vfylfhby>
2023-02-10 12:21:14 +02:00
Gualdimar
3c22c867f0
Fixed selecting an improvement switched to another unit even if the setting is disabled (#8645) 2023-02-10 01:52:57 +01:00
Gualdimar
49615f3bd1
Fixed missing unimproved resources in the overview table (#8646) 2023-02-10 01:52:28 +01:00
Gualdimar
3802ac9e9f
Research agreement cost display (#8639) 2023-02-09 21:55:17 +02:00
Yair Morgenstern
0664cba7ea Was unable to upload previous version to Google Play, re-attempting 2023-02-09 19:59:46 +02:00
Yair Morgenstern
312f308060 4.4.13 2023-02-09 19:37:51 +02:00
Yair Morgenstern
5477a62a10
Version rollout (#8638)
* Bump version and create initial changelog entry

* Update Filipino.properties (#8635)

* Update Filipino.properties

* Update Filipino.properties

* Update Ukrainian.properties (#8632)

* Update Hungarian.properties (#8626)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Shann Aurelle Ripalda <shannaurelleg@gmail.com>
Co-authored-by: Gualdimar <Gualdimar@users.noreply.github.com>
Co-authored-by: balazsszalab <balazsszalab@freemail.hu>
2023-02-09 19:33:36 +02:00
Yair Morgenstern
5c9ea8994c Attempt to fix strange bug in github api (https://github.com/yairm210/Unciv/actions/runs/4136712446/jobs/7151150557) 2023-02-09 19:27:27 +02:00
Yair Morgenstern
75d7494f89 Resolved #8628 - modding: conditionally-unbuildable buildings display their cost 2023-02-09 19:21:31 +02:00
Yair Morgenstern
1daf76978b Resolved #8636 - Can no longer 'upgrade unit' between turns 2023-02-09 19:12:43 +02:00
Yair Morgenstern
bf0dd071e0 Resolved #8637 - fixed air sweep crash
Due to air sweep tiles being "attackable tiles" even when not containing combatants
2023-02-09 19:09:58 +02:00
vegeta1k95
ca86e6fde7
Enemy indicator, city culture hex outline + misc (#8629)
* Rework of UnitGroup, City culture tile hex-outline, tweak enemy indicators

* Rework of UnitGroup, City culture tile hex-outline, tweak enemy indicators

* Better embarked selection sprite

* Small fixes

* Hotfix fog

---------

Co-authored-by: tunerzinc@gmail.com <vfylfhby>
2023-02-09 18:46:02 +02:00
lishaoxia1985
4a3f7f0250
Some modifications for performance optimization (#8631) 2023-02-09 15:42:37 +01:00
vegeta1k95
9a9d195dbf Fix main menu buttons text alignment 2023-02-08 19:13:13 +01:00
Yair Morgenstern
1e0a0fb6c1 4.4.12-patch1 2023-02-08 15:09:37 +02:00
vegeta1k95
be054a98fd
Merge pull request #8623 from Gualdimar/politicsRealtion
Fixed diplomacy exception
2023-02-08 13:45:17 +01:00
Gualdimar
380ffa61d3 Fixed getDiplomacyManager() Exception 2023-02-08 14:23:20 +02:00