12248 Commits

Author SHA1 Message Date
Md. Touhidur Rahman
5a4e7840f0
Merge branch 'yairm210:master' into flash-on-new-chat-message 2025-09-19 23:42:52 +06:00
Md. Touhidur Rahman
5e866144a0
use SmallButtonStyle 2025-09-19 23:36:44 +06:00
Md. Touhidur Rahman
62630d53dd
lighten AlternatingStateManager 2025-09-19 23:16:52 +06:00
yairm210
d51ef24c20 Resolved #13477 - Can no longer repair unbuildable improvements in neutral territory for pillage/repair exploit loop 2025-09-18 16:09:00 +03:00
yairm210
07ce66c77a Resolved #13928 - Added Maltese flag 2025-09-15 17:22:43 +03:00
yairm210
3785dcc532 Fix settings load dependency on UncivGame.Current 2025-09-15 17:15:50 +03:00
yairm210
001185f4c7 chore: Purity upgrade 2025-09-15 17:15:21 +03:00
yairm210
5c0e0f8cb0 Resolved #13929 - Fixed crash on declare war with triggers 2025-09-15 17:14:53 +03:00
Md. Touhidur Rahman
80253edb1d
Merge branch 'yairm210:master' into flash-on-new-chat-message 2025-09-14 16:28:31 +06:00
Md. Touhidur Rahman
16c561b9a1
add badge to display unread messages count, and set flash time to 5s, isolate flash logic in a new class AlternatingStateManager 2025-09-14 16:13:07 +06:00
yairm210
6319863fb4 4.18.1 4.18.1 2025-09-13 23:40:59 +03:00
yairm210
4a86a2da0f 4.18.1 2025-09-13 23:02:46 +03:00
Yair Morgenstern
1a75d8a435
Version rollout (#13919)
* Bump version and create initial changelog entry

* Adding the Maltese Language - Fixed! (#13912)

* Update completionPercentages.properties

* Update LocaleCode.kt

* Add files via upload

* Rename malta.png to Maltese.png

* Update Flags.atlas

* Update Flags.atlas

* Create Maltese.properties

* Update Maltese.properties

* Update Maltese.properties

* Update Maltese.properties

* Update completionPercentages.properties

* Update Maltese.properties

* Update LocaleCode.kt

* Update Maltese.properties

* Update Maltese.properties

* Update Maltese.properties

* Update Maltese.properties

* Update Maltese.properties

* Update Maltese.properties

* Update Maltese.properties

* Update Maltese.properties

* Update Maltese.properties

* Update Maltese.properties

* Update Maltese.properties

* Update Maltese.properties

* Update Maltese.properties

* Update Maltese.properties

* Adding to the European Portuguese Translation (#13909)

* Update Portuguese.properties, up to Songhai empire

* Update Portuguese.properties

Finished Civilization entries. Added "Astronomy" quote translation

* Update Portuguese.properties

Continued until the Netherlands

* Update Portuguese.properties

Added Gustavus Adolphus translation

* Update Portuguese.properties

Added translations for Austria and Carthage

* Update Portuguese.properties

Added translation for Byzantium

* Update Portuguese.properties

Finished Civilization dialogues and continued up to We Love the King Day

* Update Portuguese.properties

Finished translating all I kew and resolved all of my translations I had doubts about (marked #Unsure)

* Fix tests

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Jioido <j9725206@gmail.com>
Co-authored-by: santolas2000 <73234638+santolas2000@users.noreply.github.com>
2025-09-13 22:58:34 +03:00
Rob Loach
311611bee5
Add Global Uniques to the Civilopedia (#13910)
* Add Global Uniques to the Civilopedia

* Clean up the text

* Clean up the code

* Move into getCivilopediaTutorials
2025-09-13 22:30:28 +03:00
Rob Loach
76e9935d83
Add Adopt [policy/belief] Unique (#13915)
* Initial Adopt [belief]

* Add tests

* clean up the code

* clean func
2025-09-13 22:29:15 +03:00
SidedYapper
65885cdc6f
button alignment (#13914) 2025-09-13 22:28:24 +03:00
EmperorPinguin
6c5a9ad0b1
Update UniqueTriggerActivation.kt (#13916) 2025-09-13 22:28:08 +03:00
Rob Loach
e0c43a8187
Add diplomacy status to civFilter (#13868)
* Add diplomacy status to civFilter

* Switch language for civFilter diplomacy

* Civs should be Friendly with themselves
2025-09-13 22:27:53 +03:00
Md. Touhidur Rahman
437f89bffc
minor refactor 2025-09-12 21:29:19 +06:00
Md. Touhidur Rahman
76d969074a
handle case where player is out of WorldScreen 2025-09-12 21:23:31 +06:00
Md. Touhidur Rahman
1433ba1a8d
some minor refactor and comments improvement 2025-09-12 01:13:24 +06:00
Md. Touhidur Rahman
a822fda6ac
flash chat button on new message 2025-09-12 00:51:09 +06:00
yairm210
132195ad1a 4.18.0 4.18.0 2025-09-10 17:27:35 +03:00
Yair Morgenstern
bb2fac6783
Version rollout (#13908)
* Bump version and create initial changelog entry

* Update Galician.properties (#13907)

update translation to galician

* Update portuguese.properties (#13902)

* Update Portuguese.properties

I translated some things and corrected some errors.

* Update to portuguese language

I translated several things, but stopped halfway through “Lines from Nations from Civ V - Vanilla.”. I also changed some translations to match the rest. I had to upload it as a new file because I had downloaded and edited the original file directly on my computer.

* Update Indonesian.properties (#13893)

* Update Indonesian.properties

Grammatical error corrections.

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Vietnamese Translation (#13892)

* Update Vietnamese.properties

* Update Vietnamese.properties

* Update Vietnamese.properties

* Update Vietnamese.properties

* Update Vietnamese.properties

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: ninjum <138787523+ninjum@users.noreply.github.com>
Co-authored-by: RaioN1504 <144457988+RaioN1504@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
Co-authored-by: theperfectoast <duynamdo000@gmail.com>
2025-09-10 17:23:44 +03:00
Loof
ff5480bf2e
Add cityAirUnitCapacity ModConstant (#13883)
* Add ModConstant to modify city air unit capacity

* Update docs: cityAirUnitCapacity ModConstant
2025-09-10 17:09:44 +03:00
Rob Loach
dddddf2a91
Update countable [stat/resource] Per Turn (#13903)
* Add [resource] Per Turn

* Add countable [resource] Per Turn
2025-09-10 17:06:38 +03:00
yairm210
79a1d1e38f Resolve #13900 - job list comodification when closing editor 2025-09-10 15:51:09 +03:00
yairm210
263760f153 chore: More renames 2025-09-08 16:26:14 +03:00
yairm210
c2aff15894 chore: More renames 2025-09-08 16:25:12 +03:00
yairm210
b323317d53 chore: Renamed unique functions to distinguish between tag and non-tag uniques 2025-09-08 16:18:03 +03:00
yairm210
84459bb7b7 perf(cpu): Optimized Civilization.getResourceAmount 2025-09-08 10:02:42 +03:00
yairm210
de12183c53 perf(cpu): Optimized CityConstructions.containsBuildingOrEquivalent, Conditionals.conditionalApplies 2025-09-07 22:47:08 +03:00
yairm210
c0674dc39f perf(cpu): Optimized multiFilter string manipulations 2025-09-07 22:40:14 +03:00
yairm210
4754ac3040 perf(cpu): Optimized Terrain.matchesSingleFilter 2025-09-07 22:29:59 +03:00
yairm210
90dd2e0ea1 Roads are not shown on non-visible tiles 2025-09-04 21:43:56 +03:00
yairm210
c049593c5c Limit tile information shown when spying on cities 2025-09-04 21:35:59 +03:00
yairm210
f6f6dddd1c WLTK resource demand changes every ~20 turns 2025-09-04 21:30:19 +03:00
Vignesh B
1925310037
Docs: Minor Update (#13882)
* Updated Analyse code

* Changed to turn off
2025-09-04 19:46:14 +03:00
yairm210
ce04958f02 4.17.19 4.17.19 2025-09-04 14:34:26 +03:00
yairm210
16439f68be 4.17.19 2025-09-04 14:25:00 +03:00
Yair Morgenstern
b331873cfe
Version rollout (#13887)
* Bump version and create initial changelog entry

* Update Brazilian_Portuguese.properties (#13886)

* Update Vietnamese Translation (#13878)

* vietnamese-hotfix-autosave (we are so back)

nah, i'm back.
wouldn't be often as before, but still.

* aight, should be good now.

* Update French.properties (#13875)

* Update Bangla.properties (#13874)

* Update Bangla.properties

* Update Bangla.properties

* Update Italian.properties (#13872)

* Update Indonesian.properties (#13871)

* Update Indonesian.properties

* Update Indonesian.properties

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <Ranbut_Beater@protonmail.com>
Co-authored-by: theperfectoast <duynamdo000@gmail.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: Shinigami-alt <76843162+Shinigami-alt@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
2025-09-04 14:20:21 +03:00
Rob Loach
dca6a967ad
BNW: Fix getting Cultural Victory through Domination (#13876)
* Fix getting Cultural Victory through Domination

* Clean up the code
2025-09-04 14:04:53 +03:00
Vignesh B
d792199bbf
Updated max window in Windows platform (#13881)
* Updated max window in Windows platform

* Updated to add tolerance of 30px
2025-09-04 14:04:14 +03:00
Rob Loach
8c591ac9fa
Have the Trigger Event unit action text be the Event (#13880) 2025-09-04 14:04:00 +03:00
Loof
19b25e5ea4
Fix human-human relationship incorrectly showing "Friend" in the diplomacy screen, as well as inconsistent colors (#13884)
* Fix GUI relationship status between human players in diplomacy screen

* Fix mismatch between the colored relationship circle next to civ icon in diplomacy screen (left side), and the color of the relationship text (e.g. "Friend") (right side) in human-human relationships.
Refactor DiplomacyScreen # getHumanRelationshipTable

* Remove unused import
2025-09-04 14:03:50 +03:00
yairm210
2b259b5910 Added map autosave 2025-09-04 13:29:07 +03:00
yairm210
530873c6f5 perf(cpu): reassignPopulation for AI on turn start only once 2025-09-02 21:41:00 +03:00
yairm210
3c37ce614f Ensure with test that tile+neighbor mapping is unique 2025-09-02 21:23:48 +03:00
yairm210
8f995fb290 perf(cpu): Optimized tile-to-tile cost cache 2025-09-02 18:12:07 +03:00
yairm210
011630469a perf(cpu): Optimized 'good tile to explore' AI decision 2025-09-02 17:18:39 +03:00