12187 Commits

Author SHA1 Message Date
yairm210
bfe1caac6a Resolved #12735 - Adjacency checks are only for adjacent tiles, and not also for this tile 2025-01-02 20:52:17 +02:00
yairm210
ced36b8e8a chore: Early exit moveToNewEra 2025-01-02 20:47:15 +02:00
yairm210
9fca320574 Resolved #12734 - disabled buttons no longer cause click-through 2025-01-02 20:46:49 +02:00
yairm210
89c6331b45 4.14.19 4.14.19 2025-01-01 15:10:04 +02:00
Yair Morgenstern
aec9507f60
Version rollout (#12732)
* Bump version and create initial changelog entry

* Update Russian.properties (#12731)

I kept seeing this space for 3 years of playing this game, and it makes my anxiety act like crazy, delete it please xD

* Update Brazilian_Portuguese.properties (#12727)

* Update Brazilian_Portuguese.properties

* Update Brazilian_Portuguese.properties

* Update Brazilian_Portuguese.properties

* Update German translation (#12723)

* Update Spanish.properties (#12720)

by z4TaN

* Update Latin translation (#12715)

* Update Latin translation

* Update translation

* Fix typo

* Update Italian.properties (#12714)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: shwwwa <shwwwa.dev@gmail.com>
Co-authored-by: altiereslima <altieres.lima@gmail.com>
Co-authored-by: mape6 <mape6@posteo.de>
Co-authored-by: Nahuel Geno <142752140+NahuelGeno@users.noreply.github.com>
Co-authored-by: sls1005 <90055573+sls1005@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
2025-01-01 15:07:26 +02:00
SpacedOutChicken
841fc3090c
Change Babylon's image to Lamassu (#12730)
* Add new Babylon image

Add Lamassu image to replace Babylon's current lion icon

* Update Credits.md for Bablyon icon

Change credits file to match Babylon's new image
2025-01-01 14:53:51 +02:00
EmperorPinguin
32e74ee770
Update UnitPromotions.json (#12713)
* Update UnitPromotions.json

* Update UnitPromotions.json

* Update UnitPromotions.json

* Update UnitPromotions.json

* Update UnitPromotions.json

* Update UnitPromotions.json

* Update UnitPromotions.json
2025-01-01 14:50:01 +02:00
EmperorPinguin
826f1b4e58
Update AirUnitAutomation.kt (#12712)
* Update AirUnitAutomation.kt

* Update AirUnitAutomation.kt
2025-01-01 14:47:39 +02:00
EmperorPinguin
5e5a9d7d02
Let AI choose healing promotions (#12728)
* Update UnitAutomation.kt

* Update UnitAutomation.kt

* Update UnitAutomation.kt
2025-01-01 14:46:58 +02:00
yairm210
8d70606735 perf(memory): Don't recreate terrain lists all the time, use the same list 2025-01-01 14:43:44 +02:00
yairm210
e5e656f34f perf: Convert tile percentage categories to EnumMap for both speed and memory 2025-01-01 14:32:26 +02:00
yairm210
9ae9916dce perf: Remove Stat creation when improvement/road is null 2025-01-01 14:22:45 +02:00
yairm210
1683c484e6 perf: Remove memory allocations when get/setting individual stats 2025-01-01 14:17:57 +02:00
yairm210
5f235d818f Resolved #12724 - City-state stat bonuses apply correctly 2024-12-31 14:21:38 +02:00
yairm210
49ac329d2b Disable minify :\ 4.14.18-apk-regular 2024-12-31 09:45:16 +02:00
yairm210
4d2ae2576f Release version even if MSI is not built apk-minify-3 4.14.18-apk-minify 2024-12-30 12:19:41 +02:00
yairm210
ba9bb4a56b chore: remove dead loadScenario function (happens via new game screen) 2024-12-30 11:47:28 +02:00
yairm210
38b44ec2e1 Move LinuxX11SaverLoader to Desktop as should be apk-minify-2 2024-12-30 11:46:32 +02:00
yairm210
d352dfe53b Enable minify! #experimental apk-minify 2024-12-30 11:22:51 +02:00
Yair Morgenstern
aedbc61c91 Update SDKs, library versions 2024-12-30 11:20:00 +02:00
Yair Morgenstern
4ec7b07040 Better proguard rules to enable r8 minification 2024-12-30 11:10:02 +02:00
yairm210
70068939ed More uniques work with "in this city" conditional 2024-12-29 21:26:30 +02:00
yairm210
88a92d77e4 Resolved #12717 - terrain fonts no longer flipped 2024-12-29 13:07:43 +02:00
yairm210
d23f32d3e5 Pathfinding: Avoid unfriendly city state tiles when this doesn't affect movement speed - #12718 2024-12-29 12:37:22 +02:00
Md. Touhidur Rahman
905ef25cbb
fix UncivServer.xyz info in Multiplayer.md (#12711) 2024-12-26 08:26:39 +02:00
yairm210
e224ae62ef 4.14.18 4.14.18 2024-12-25 20:54:14 +02:00
Yair Morgenstern
647484a5e0
Version rollout (#12709)
* Bump version and create initial changelog entry

* Update Latin translation (#12708)

* Update Latin translation

* Update translation

* Fix translation

* Update Catalan.properties (#12700)

* Update French.properties (#12698)

* Update Brazilian_Portuguese.properties (#12696)

* Update Indonesian.properties (#12695)

Translation and corrections.

* Update Russian.properties (#12694)

* Update Russian.properties

* Update Russian.properties

* Update Croatian translation (#12693)

* update untranslated lines

* fix error

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: sls1005 <90055573+sls1005@users.noreply.github.com>
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
Co-authored-by: dadadnet <dadadnet38@gmail.com>
Co-authored-by: metablaster <44481081+metablaster@users.noreply.github.com>
2024-12-25 20:46:03 +02:00
itanasi
b948770c51
Simulation: More Robust Stats (#12675)
* More robust Simulation Stats

* Some code cleanup

* Enum
2024-12-25 20:45:29 +02:00
SeventhM
c7fb6fb525
Allow stat from battle uniques to also give stockpiles (#12689)
* Allow stat from battle uniques to also give stockpiles

* Add helper for finding a gameResource

* Cleanup the formating of function
2024-12-25 20:38:27 +02:00
czyh2022
fe5a2acf04
Allow civs to trade with each other before settling their first cities (#12706)
Co-authored-by: czyh2022 <2200013085@stu.pku.edu.cn>
2024-12-25 20:37:23 +02:00
czyh2022
fc1454e28c
Delete duplicate trade denied message (#12707)
Co-authored-by: czyh2022 <2200013085@stu.pku.edu.cn>
2024-12-25 20:36:56 +02:00
czyh2022
87817dd776
Cancel the chain reaction of defense pact (#12703)
* When calling a defense pact ally to join a war, the ally's defense pact with other civilizations will no longer be chained.

* Update DiplomacyScreen.kt

Simplify the loop and delete dead code

---------

Co-authored-by: czyh2022 <2200013085@stu.pku.edu.cn>
2024-12-25 20:36:47 +02:00
SeventhM
81a85856cb
Fix gaining resources twice when it is gained from a city (#12699) 2024-12-23 08:51:34 +02:00
yairm210
4428d25bb5 undo 2024-12-22 22:48:59 +02:00
yairm210
2b0cc5cf90 Cache edge images for faster update()s on all tilegroups (e.g. unit click) 2024-12-22 21:40:06 +02:00
yairm210
4638301f0b Resolved #12677 - "close unit table" button does not cycle units 2024-12-22 13:12:03 +02:00
yairm210
f6c342f7cf 4.14.17 4.14.17 2024-12-22 11:01:21 +02:00
yairm210
efc0cf0aab Resolved #12687 - Flank attack unique works with 'vs' conditionals 2024-12-22 11:00:33 +02:00
yairm210
7eb642d40d Resolved #12678 - city-states don't take unique units from barbarians / other city states 2024-12-22 10:45:00 +02:00
yairm210
053ca67bed Revert "Set Gzip compression level to Deflater.BEST_COMPRESSION (#12691)"
This reverts commit 997648e1741d0b2bf12c364d3f79af60e0fbb655.
2024-12-22 10:37:15 +02:00
Yair Morgenstern
532022385d
Version rollout (#12692)
* Bump version and create initial changelog entry

* Update Dutch.properties (#12684)

* Update Dutch.properties

* Update Dutch.properties

* Update Latin translation (#12683)

* Update Latin translation

* Update translation

* Fix translation

* Update translation

* Update translation

* Update translation

* Fix translation

* Update translation

* Update Italian.properties (#12674)

* Update French.properties (#12671)

* Update Russian.properties (#12670)

* Update Brazilian_Portuguese.properties (#12669)

* Update Brazilian_Portuguese.properties

* Update Brazilian_Portuguese.properties

* Update Croatian translation (#12668)

* Translation of new entries and update instructions

* Formal form for gameplay and corrections

* update instructions

* Update Indonesian.properties (#12667)

Translation.

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: EmperorPinguin <99119424+EmperorPinguin@users.noreply.github.com>
Co-authored-by: sls1005 <90055573+sls1005@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: dadadnet <dadadnet38@gmail.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: metablaster <44481081+metablaster@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
2024-12-22 10:18:26 +02:00
SeventhM
a6bacca0b7
Add unique for increased improvement rates rather than decreased build times (#12680)
* Add unique for increased improvement rates rather than decreased build times

* Fix uniques

* Ruleset text

* Treat mad modder divide by zero
2024-12-22 10:13:19 +02:00
Toxile
f9e69fb4f0
UI: various improvements mostly relating to centering and WorldScreenTopBar (#12673)
* (rebase)

* centering pt. 1

* (rebase)

* centering pt. 2

* world screen top bar fixes:
– standardise icon-label order
– add ad-hoc spacing to the turn count label
– add clean and distinctive new style for 'per turn' stats

* centering pt. 3

* –final
2024-12-22 10:10:07 +02:00
Md. Touhidur Rahman
997648e174
Set Gzip compression level to Deflater.BEST_COMPRESSION (#12691)
* set gzip compression level to Deflater.BEST_COMPRESSION

* Update Gzip.kt

* Update Gzip.kt

* Update Gzip.kt
2024-12-22 10:05:03 +02:00
yairm210
b0bf22e6d1 perf (ANR): Only parse and sort civs in global politics table once 2024-12-17 14:07:51 +02:00
yairm210
5e6a3e0f67 Fix ANR caused by URL checking for Github URL with query 2024-12-17 13:11:30 +02:00
yairm210
992100412d Fix rare Android crash where we don't have permissions to copy external mods on app start 2024-12-17 12:14:22 +02:00
yairm210
096f62a719 Solve ANRs - play overlay music on another thread 2024-12-17 11:42:53 +02:00
yairm210
9f4828d55a 4.14.16 4.14.16 2024-12-16 15:10:22 +02:00
Yair Morgenstern
3356ddb205
Version rollout (#12665)
* Bump version and create initial changelog entry

* Update Dutch.properties (#12664)

* Update Brazilian_Portuguese.properties (#12654)

* Update Croatian translation (#12651)

* minor corrections

* minor corrections 2

* fix formal and informal language

* grammar corrections

* Add Croatian instructions

* Update Simplified_Chinese.properties (#12648)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: dutchwolfgirl <110766475+dutchwolfgirl@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: metablaster <44481081+metablaster@users.noreply.github.com>
Co-authored-by: AutumnPizazz <114050365+AutumnPizazz@users.noreply.github.com>
2024-12-16 14:56:03 +02:00