49e2979427
Align ruleset icons in text to font metrics ( #10233 )
...
* Try to respect actual font layout, so fontSizeMultiplier works for ruleset icons too
* Replace font-based nation symbol in top bar with statically sized actor
* Reuse getReadonlyPixmap in extractPixmapFromTextureRegion
* Tweak topbar selected civ vertical align to be more pleasing to the human eye
* FasterUIDevelopment missing implementation of FontMetricsCommon
* Address hardcoded pixel coordinates comment
* Readability and comment cleanup
* More readability changes
2023-10-07 22:00:30 +03:00
f5e10b4d44
4.8.11
2023-10-05 10:39:22 +03:00
15c8f808c4
Version rollout ( #10247 )
...
* Bump version and create initial changelog entry
* Update Russian.properties (#10243 )
* Update French.properties (#10241 )
* Update Polish.properties (#10231 )
* Update Brazilian_Portuguese.properties (#10227 )
---------
Co-authored-by: yairm210 <yairm210@users.noreply.github.com >
Co-authored-by: Anoant <143289571+Anoant@users.noreply.github.com >
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com >
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com >
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com >
2023-10-05 10:29:59 +03:00
815df1bcc4
Some religion stuff ( #10242 )
...
* Enable HiddenWithoutReligion to work directly on a Tutorial
* Remove religious units from Vanilla
* Fix limited uses of Missionary and Prophet
2023-10-05 10:23:25 +03:00
bcd5c361df
Civilian units can get promotions upon being built
...
Promotions with no icon get default star icon
2023-10-04 00:53:39 +03:00
c963191453
4.8.10
2023-10-03 13:19:26 +03:00
f503737e15
Version rollout ( #10225 )
...
* Bump version and create initial changelog entry
* Update Simplified_Chinese (#10214 )
* Update Polish.properties (#10212 )
* Update Polish.properties
* Update Polish.properties
* Update Polish.properties
* Update Russian.properties (#10211 )
Add required translations and one missing; also some corrections
* Update Italian.properties (#10210 )
* Update Brazilian_Portuguese.properties (#10203 )
---------
Co-authored-by: yairm210 <yairm210@users.noreply.github.com >
Co-authored-by: chr_56 <30681738+chr56@users.noreply.github.com >
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com >
Co-authored-by: Nicolas Flamme <nclsf87@gmail.com >
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com >
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com >
2023-10-03 13:04:53 +03:00
ffc3a66707
Converted "May enhance a religion" unique to a UnitAction
2023-10-01 12:11:52 +03:00
6dbf240899
Converted "May found a religion" unique to a UnitAction
2023-10-01 12:01:54 +03:00
6a2b483640
4.8.9
2023-10-01 10:17:19 +03:00
736d737abf
Version rollout ( #10202 )
...
* Bump version and create initial changelog entry
* Update Spanish.properties (#10201 )
I'm not sure about using an '@' for indicating both grammatical genres.
I mean, the current use is not wrong, but it bothers me that something's genres are feminine/masculine and the article used is the opposite.
On the other side, I don't know if it looks clean, nice or professional to use these variants, not only the '@', but the '/a' as well.
But it really calms my mind.
* Add required Russian translations (#10200 )
* Update Bulgarian.properties (#10193 )
* Update Italian.properties (#10191 )
* Update Italian.properties
* Update Italian.properties
* Update German translation (#10189 )
* Update Brazilian_Portuguese.properties (#10188 )
* Update Polish.properties (#10186 )
* Update Polish.properties
* Update Polish.properties
* Update French.properties (#10185 )
* Update Simplified_Chinese.properties (#10184 )
6365 rows. The value is wrong. "Units heal 10 health per turn in enemy territory or neutral land" should translate to "在异国领土和无主的领土上,每回合会恢复10点生命值" and not "在异国领土和无主的领土上,每回合会恢复15点生命值"。
---------
Co-authored-by: yairm210 <yairm210@users.noreply.github.com >
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com >
Co-authored-by: Nicolas Flamme <nclsf87@gmail.com >
Co-authored-by: Dob <100198047+dobval@users.noreply.github.com >
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com >
Co-authored-by: mape6 <mape6@posteo.de >
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com >
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com >
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com >
Co-authored-by: liweishu <44702553+liweishu@users.noreply.github.com >
2023-10-01 10:12:46 +03:00
8f7acf37d2
Pedia pixel units ( #10187 )
...
* Display Pixel Unit Art in Civilopedia
* Pixel Unit Art in Civilopedia - Setting UI
* Change FormattedLine.extraImage sizing to apply to longer coordinate
* Pixel Unit Art in Civilopedia - better centering using 'crop to content'
2023-10-01 09:45:02 +03:00
6d6dc51bea
Get rid of old religion style actions!!! ( #10192 )
...
* Giant refactoring - get rid of old religion style actions!!!
* Added special promotion to replace Great Mosque of Djenne ability
* removed double promotion added my mistake
* Added AI recognition of cities with bonus spread religion charges
* Added "disallowed for pantheon" filtering to new unit actions
* merge unit action changes with religion action changes
* Use new invokeUnitAction function for simplicity
* revert inquisitor unique change used for tests
* separate modifier side effects from old-style side effects
* Use canUSe shorthand for clarity
2023-10-01 09:43:26 +03:00
30a499b426
4.8.8
2023-09-26 21:50:14 +03:00
7dfeaf9c06
4.8.8
2023-09-26 17:46:05 +03:00
5d22482a56
Version rollout ( #10182 )
...
* Bump version and create initial changelog entry
* Update Dutch.properties (#10174 )
* Update Turkish.properties (#10171 )
* Update Turkish.properties
Almost fully translated up to line 950 with very few lines untranslated to that point.
(do let me know if I did anything wrong I never used github before)
(but I did read the translating text so I did not change things like [amount])
* Update Turkish.properties
Changed a few things and translated up to 1000~
* Update Turkish.properties
* Update Turkish.properties
* Update Turkish.properties
* Update Simplified_Chinese (#10168 )
* Update Spanish.properties (#10166 )
* Update French.properties (#10165 )
* Update Polish.properties (#10164 )
* Update Italian.properties (#10163 )
* Update Brazilian_Portuguese.properties (#10162 )
* Update Brazilian_Portuguese.properties
* Update Brazilian_Portuguese.properties
---------
Co-authored-by: yairm210 <yairm210@users.noreply.github.com >
Co-authored-by: Lena Bullens <95299589+LenaBullens@users.noreply.github.com >
Co-authored-by: TheFighter <95092927+The-Fighter@users.noreply.github.com >
Co-authored-by: chr_56 <30681738+chr56@users.noreply.github.com >
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com >
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com >
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com >
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com >
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com >
2023-09-26 17:36:45 +03:00
920d819595
Fix Nuke Notification ( #10167 )
...
* Added notifications to Civs that didn't have tiles hit by nuke
* Changed notifications based on if the nuke fails to detonate
* Moved nuke notifications above unit hit notification
* Added translations for new messages
* Moved a line of code back to preserve original order
* Changed notification messages
2023-09-26 14:47:13 +03:00
fc02ac8825
Added nations json schema
2023-09-24 11:55:54 +03:00
14c5d9eb17
Better schema for checking field names
2023-09-21 22:41:32 +03:00
b0c997c997
4.8.7
2023-09-21 15:13:45 +03:00
0400bb5f51
Version rollout ( #10161 )
...
* Bump version and create initial changelog entry
* Update German translation (#10160 )
* Russian.properties (#10156 )
* Update Russian.properties
* Update Russian.properties
* Update French.properties (#10149 )
* Update Brazilian_Portuguese.properties (#10148 )
* Update Polish.properties (#10147 )
* Update Italian.properties (#10145 )
---------
Co-authored-by: yairm210 <yairm210@users.noreply.github.com >
Co-authored-by: mape6 <mape6@posteo.de >
Co-authored-by: Anoant <143289571+Anoant@users.noreply.github.com >
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com >
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com >
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com >
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com >
2023-09-21 15:03:57 +03:00
5fc49f8e22
Added return worker notification ( #10140 )
...
* Fixed owner not being notified when a worker is returned
* Changed notification to use a sequence of actions
2023-09-21 15:00:37 +03:00
7d764c983a
4.8.6
2023-09-18 10:06:53 +03:00
6585cc0eb0
Version rollout ( #10143 )
...
* Bump version and create initial changelog entry
* Update Catalan.properties (#10138 )
* Update Russian.properties (#10136 )
* Update Russian.properties
* Update Russian.properties
Corrections of aztecs cities
* Update Polish.properties (#10134 )
* Update Dutch.properties (#10133 )
* Update Brazilian_Portuguese.properties (#10132 )
* Update Bulgarian.properties (#10131 )
* Update Spanish.properties (#10129 )
* Update Polish.properties (#10128 )
* Update Italian.properties (#10123 )
* Update French.properties (#10122 )
* Update Russian.properties (#10120 )
* Update German translation (#10118 )
---------
Co-authored-by: yairm210 <yairm210@users.noreply.github.com >
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.com >
Co-authored-by: Anoant <143289571+Anoant@users.noreply.github.com >
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com >
Co-authored-by: Lena Bullens <95299589+LenaBullens@users.noreply.github.com >
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com >
Co-authored-by: Dob <100198047+dobval@users.noreply.github.com >
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com >
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com >
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com >
Co-authored-by: hotorcelexo <IgorPolyakov@users.noreply.github.com >
Co-authored-by: mape6 <mape6@posteo.de >
2023-09-18 10:00:09 +03:00
a3d431155d
A "Status" column for City Overview ( #10126 )
...
* Avoid the detekt false positive for typed lambda `it` and its comment
* Fix regression of what-is-a-garrison (8952)
* Initial implementation of "Status" column
* "Status" column gets a header icon
2023-09-18 09:46:29 +03:00
9e1ea2d4cb
Remove Faith bonus from Vanilla Siam ( #10141 )
...
* Destroy Arsenal when city is captured
* Remove unused Faith bonus from Siam unique
2023-09-18 08:21:27 +03:00
0be6cd062f
4.8.5
2023-09-13 11:17:57 +03:00
55809c9b22
Unique deprecation - "Receive free [unit] when you discover [tech]" replaced with trigger + condition, tested
2023-09-13 11:11:37 +03:00
550e18689a
Version rollout ( #10115 )
...
* Bump version and create initial changelog entry
* Update Korean.properties (#10112 )
* Update Polish.properties (#10110 )
* Update Brazilian_Portuguese.properties (#10109 )
* Update Simplified_Chinese (#10108 )
* russian (#10106 )
* Update Russian.properties
Corrections some cities
* Update Russian.properties
def. pact with..
* Update Spanish.properties (#10105 )
* Japanese translation (#10104 )
* Randomly chose not translated strings.
* Some more translation
* Some more translation
* Added more translation
* Chinese names
* Update Japanese.properties
Fixed 2 typos
* Update Catalan.properties (#10103 )
* Update French.properties (#10102 )
* Update German translation (#10099 )
* Update Italian.properties (#10098 )
* Update Italian.properties (#10097 )
Co-authored-by: Tommaso Petrolito <tpetrolito@deloitte.it >
---------
Co-authored-by: yairm210 <yairm210@users.noreply.github.com >
Co-authored-by: Yattong the Mackerel <saud2410@naver.com >
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com >
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com >
Co-authored-by: chr_56 <30681738+chr56@users.noreply.github.com >
Co-authored-by: Anoant <143289571+Anoant@users.noreply.github.com >
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com >
Co-authored-by: 有賀 清一 Seiichi Ariga <seiichi.ariga@gmail.com >
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.com >
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com >
Co-authored-by: mape6 <mape6@posteo.de >
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com >
Co-authored-by: TommasoPetrolito <tommasouni@gmail.com >
Co-authored-by: Tommaso Petrolito <tpetrolito@deloitte.it >
2023-09-13 10:33:59 +03:00
8e3ebc7724
Global Constructions Blacklist ( #10061 )
...
* Improved handling of "Nothing" construction
* Suppress "All" entries when you have only one city
* Global Construction Blacklist
* Reviews
* Reviews - missed renames
2023-09-13 10:27:43 +03:00
b4a2b5cc3b
4.8.4
2023-09-11 10:09:10 +03:00
824b0d2af9
Version rollout ( #10096 )
...
* Bump version and create initial changelog entry
* Update Korean.properties (#10093 )
* Update Spanish.properties (#10084 )
* Update Italian.properties (#10082 )
---------
Co-authored-by: yairm210 <yairm210@users.noreply.github.com >
Co-authored-by: Yattong the Mackerel <saud2410@naver.com >
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com >
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com >
2023-09-11 09:47:55 +03:00
c3484381c3
Fixed politics tab not showing defensive pacts ( #10079 )
...
* Override DoF displayed on Politics table with defensive pact when applicable and added CYAN color to table and diagram.
* City-state alliances now show as CYAN in the politics table
2023-09-11 09:28:52 +03:00
06c14cd520
4.8.3
2023-09-07 10:19:02 +03:00
a68f7db463
Version rollout ( #10080 )
...
* Bump version and create initial changelog entry
* Update Polish.properties (#10075 )
* Update Brazilian_Portuguese.properties (#10074 )
* Update Russian.properties (#10073 )
* Update Russian.properties
* Update Russian.properties
New string and corrects
* Update Russian.properties
#2
* Update Russian.properties
*3
* Update German translation (#10069 )
* Update Dutch.properties (#10067 )
* Update French.properties (#10066 )
---------
Co-authored-by: yairm210 <yairm210@users.noreply.github.com >
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com >
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com >
Co-authored-by: Anoant <143289571+Anoant@users.noreply.github.com >
Co-authored-by: mape6 <mape6@posteo.de >
Co-authored-by: Lena Bullens <95299589+LenaBullens@users.noreply.github.com >
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com >
2023-09-07 10:13:19 +03:00
057b2e1d5b
chore: upgrade androidx versions
...
Resolves #9966
2023-09-06 12:00:30 +03:00
e80acdbb6a
4.8.2
2023-09-05 19:14:04 +03:00
4f9dc953cb
Version rollout ( #10065 )
...
* Bump version and create initial changelog entry
* Update Polish.properties (#10057 )
* Update German translation (#10056 )
* Update Spanish.properties (#10051 )
* Update French.properties (#10049 )
* Update Italian.properties (#10046 )
---------
Co-authored-by: yairm210 <yairm210@users.noreply.github.com >
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com >
Co-authored-by: mape6 <mape6@posteo.de >
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com >
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com >
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com >
2023-09-05 19:10:29 +03:00
4ddaf9b2c4
performance: Don't enqueue multiplayer game update for 0 games
2023-09-05 19:07:36 +03:00
eec3732c96
Defensive pact notification fix ( #10025 )
...
* Fixed Civ getting two notifications of canceling their defensive pact when attacking.
* Added Defensive Pact related warnings to the Declare War popup
* Improved the warning to not include Civs that are already at war with the aggressor
* Improved the warning to not include Civs that are already at war with the aggressor
* Added defensive pact related warning translations
* Refactored removeDefensivePacts
* DeclareWarButton text now uses arrayListOf<String> and changed the for loop to a while loop
* Extracted the DeclareWarButton text to a new method.
2023-09-05 19:01:45 +03:00
a4cc566a8a
performance: Don't autoupdate multiplayer games more than a week old - they're inactive games
2023-09-05 19:00:44 +03:00
5cc57f9293
performance: Don't calc checksum for non-multiplayer games, no one cares if you hack your own game
2023-09-05 18:52:42 +03:00
96f957c52b
4.8.1
2023-09-04 15:18:46 +03:00
9fd7ddf050
Version rollout ( #10044 )
...
* Bump version and create initial changelog entry
* Update German translation (#10042 )
* Update Brazilian_Portuguese.properties (#10039 )
* Update Brazilian_Portuguese.properties
* Update Brazilian_Portuguese.properties
* Update French.properties (#10037 )
* Update Swedish.properties (#10035 )
* Update Swedish.properties
* bracket fix
* Update Spanish.properties (#10034 )
* Update Russian.properties (#10033 )
* Update Bulgarian.properties (#10032 )
* Update Bulgarian.properties
* Update Bulgarian.properties
* Update Bulgarian.properties
* Update Bulgarian.properties
* Update Polish.properties (#10030 )
* Update Polish.properties
* Update Polish.properties
* Update Polish.properties
* Update Polish.properties
* Update Polish.properties
---------
Co-authored-by: yairm210 <yairm210@users.noreply.github.com >
Co-authored-by: mape6 <mape6@posteo.de >
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com >
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com >
Co-authored-by: Mr-Bajs <93934125+Mr-Bajs@users.noreply.github.com >
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com >
Co-authored-by: Anoant <143289571+Anoant@users.noreply.github.com >
Co-authored-by: Instrumentarium <143902440+Instrumentarium@users.noreply.github.com >
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com >
2023-09-04 15:02:51 +03:00
8b9d0af4bf
4.8.0
2023-09-03 09:55:02 +03:00
057a7ce9b5
Version rollout ( #10029 )
...
* Bump version and create initial changelog entry
* Update Dutch.properties (#10023 )
* Update Simplified_Chinese.properties (#10020 )
* Update Italian.properties (#10019 )
* Update Russian.properties (#10017 )
* Update Russian.properties
Defensive pacts
* Update Russian.properties
Some lines
* Update Spanish.properties (#10016 )
* Update Spanish.properties
* Correct Kongo name
* Update French.properties (#10013 )
* Update German translation (#10008 )
* Update German translation
* Update German translation
---------
Co-authored-by: yairm210 <yairm210@users.noreply.github.com >
Co-authored-by: Lena Bullens <95299589+LenaBullens@users.noreply.github.com >
Co-authored-by: qw142536 <123065131+qw142536@users.noreply.github.com >
Co-authored-by: TommasoPetrolito <tommasouni@gmail.com >
Co-authored-by: Anoant <143289571+Anoant@users.noreply.github.com >
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com >
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com >
Co-authored-by: mape6 <mape6@posteo.de >
2023-09-03 09:42:57 +03:00
ca160b56fa
City construct menu ( #9961 )
...
* Some preparation refactoring
* Some preparation API extension
* Initial constructions context menu
* More CityConstructions API clarification
* Templates and KeyBindings
* Fix quirks and prettify highlighting issues
2023-09-03 09:36:11 +03:00
bb3335aaa8
Pedia Search ( #9997 )
...
* Minor Civilopedia linting
* Civilopedia Search Popup
* Add missing "entire current complex ruleset" scope
* Address comments
* Wording change
* Remove comment
2023-09-03 09:32:28 +03:00
23c8ba05de
Pillaged tile improvements ( #10010 )
2023-09-03 09:32:17 +03:00
73add8a24d
Make "Defensive Pact" button translatable ( #10014 )
...
in Diplomacy - Trade subscreen.
2023-09-03 09:32:08 +03:00