Commit Graph

11402 Commits

Author SHA1 Message Date
yairm210
6384661eb3 4.15.2-patch1 2025-01-13 07:03:06 +00:00
Yair Morgenstern
b6240efd77
Fix worker improvement crash (#12807) 2025-01-13 09:02:56 +02:00
yairm210
5a159ff5d8 Fix Detekt error 2025-01-12 17:04:04 +02:00
yairm210
92b2f73c51 Fix Detekt error 2025-01-12 16:46:26 +02:00
yairm210
d0ea4f7753 Tech picker screen performance - ~45% of render time decreased with texture swap minimization tricks 2025-01-12 16:45:02 +02:00
yairm210
6a7945e3cb Notification for city conversion when removing heresy 2025-01-12 10:27:58 +02:00
yairm210
d077f93457 chore: Split RegionStartFinder.findStart into subfunctions 2025-01-11 23:54:48 +02:00
yairm210
bfc7324b96 chore: Move region start functions into their own class 2025-01-11 23:35:09 +02:00
yairm210
13405b5832 chore: Split strategic+bonus resource placement into subfunctions in its own class 2025-01-11 23:27:16 +02:00
yairm210
5535c9ad95 chore: MapRegions simplification - usingArchipelagoRegions is now a TileMap function 2025-01-11 22:54:02 +02:00
yairm210
0201a9cdbd chore: minor Battle.kt simplification 2025-01-11 22:43:43 +02:00
yairm210
00ff7b2879 4.15.2 2025-01-11 21:55:39 +02:00
yairm210
9b9f31995a Remove "last seen improvements" that are no longer valid improvements in mods 2025-01-11 21:52:30 +02:00
Yair Morgenstern
bfbd0ced32
Version rollout (#12792)
* Bump version and create initial changelog entry

* Update Catalan.properties (#12791)

* Update Russian.properties (#12778)

* Update Latin translation (#12777)

* Update Latin translation

* Update translation

* Update French.properties (#12773)

* Update Italian.properties (#12771)

* translated changed lines (#12770)

* Update Brazilian_Portuguese.properties (#12769)

* Update Spanish.properties (#12768)

* Update Spanish.properties

Translation for the new notification system remains to be refined since in Spanish there are genders and several types of past tense.

* Update Spanish.properties

* Update Spanish.properties

* Update Spanish.properties

Thanks @Caballero-Arepa for help

* Update Indonesian.properties (#12767)

Translation and corrections.

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.com>
Co-authored-by: dadadnet <dadadnet38@gmail.com>
Co-authored-by: sls1005 <90055573+sls1005@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>
Co-authored-by: metablaster <44481081+metablaster@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: Nahuel Geno <142752140+NahuelGeno@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
2025-01-11 21:36:41 +02:00
sulai
6e77757f7c
Tweaks for Screen Size small-portrait (#12782)
* Add close button (x) to BattleTable

* Tweak city screen

* Fixed addRoundCloseButton() signature

---------

Co-authored-by: M. Rittweger <m.rittweger@mvolution.de>
2025-01-11 21:32:05 +02:00
yairm210
a90e7c4f4b Fixed tests 2025-01-11 20:30:07 +02:00
sulai
08d59dfc2d
Map pinching, revised (#12776)
* Improved precision of map pinching, was inaccurate

* Consolidated zoom() callback with pinch() to simplify. Added comments on the math.

---------

Co-authored-by: M. Rittweger <m.rittweger@mvolution.de>
2025-01-11 20:08:00 +02:00
EmperorPinguin
a5e6622414
Update UseGoldAutomation.kt (#12787)
I suppose this is a bug.
2025-01-11 20:04:00 +02:00
EmperorPinguin
7fb5648aa1
Update Automation.kt (#12789)
I propose to not slow down growth if we're growing well, we need the trade route gold (players have been complaining quite a bit recently about AI bleeding gold on Warlord and lower).
2025-01-11 20:03:19 +02:00
EmperorPinguin
e3e2831f9a
Hide invisible resources for AI (#12772)
* Update CityLocationTileRanker.kt

* Update WorkerAutomation.kt
2025-01-11 20:01:44 +02:00
itanasi
534850fd90
Move Until Healed wake up to startTurn so Fortify lasts until start of turn (#12786) 2025-01-11 19:56:42 +02:00
yairm210
a3b48ab532 Added notification when enemy religion spread converts a city 2025-01-11 19:48:54 +02:00
yairm210
39ebaad85a chore(modding): Rename Austrian unique to remove trailing dot 2025-01-11 19:40:45 +02:00
yairm210
714242aa4c Add "has denied your trade request" notification 2025-01-11 19:30:28 +02:00
yairm210
eeb65523eb Fixed bug due to recent function unification 2025-01-09 15:21:05 +02:00
yairm210
ff30d123c0 LibGDX 1.13.1 2025-01-08 20:26:19 +02:00
yairm210
612375d85d Chore: Slight getShortestPath simplification 2025-01-08 20:19:18 +02:00
yairm210
50979e8a0e Ruins stat gifts modified by game speed 2025-01-08 11:10:53 +02:00
yairm210
413ace3985 Fixed padding for map view icons for small minimaps 2025-01-08 09:51:56 +02:00
yairm210
f0a16ad3f1 4.15.1 2025-01-07 23:06:26 +02:00
Yair Morgenstern
70baf93012
Version rollout (#12766)
* Bump version and create initial changelog entry

* Update Indonesian.properties (#12764)

* Update Indonesian.properties

Translate new strings

* Update Indonesian.properties

Fix space error

* Update Indonesian.properties

Fix space

* Update Indonesian.properties

Try fixing space error

* Update German translation (#12763)

* translate battle action lines (#12760)

* Update Dutch.properties (#12759)

* Update Dutch.properties

* Update Dutch.properties

* Update French.properties (#12758)

* Update Italian.properties (#12757)

* Update Italian.properties

* Update Italian.properties

* Update Spanish.properties (#12751)

I found some extra spaces " ".

* Update Brazilian_Portuguese.properties (#12750)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: kensvin <kensvin28@gmail.com>
Co-authored-by: mape6 <mape6@posteo.de>
Co-authored-by: metablaster <44481081+metablaster@users.noreply.github.com>
Co-authored-by: dutchwolfgirl <110766475+dutchwolfgirl@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>
Co-authored-by: Nahuel Geno <142752140+NahuelGeno@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
2025-01-07 22:48:49 +02:00
sulai
fbe4cb10ee
correct alignment of text to icons (#12756)
* correct alignment of text to icons

* Add documentation to padTopDescent()

---------

Co-authored-by: mrimvo <6030346+mrimvo@users.noreply.github.com>
2025-01-07 22:48:36 +02:00
sulai
5364ead170
Add GoogleMaps-like pinching (#12765)
Co-authored-by: mrimvo <6030346+mrimvo@users.noreply.github.com>
2025-01-07 20:49:58 +02:00
EmperorPinguin
0b2c8148b0
Update UnitPromotions.json (#12762)
* Update UnitPromotions.json

* Update UnitPromotions.json
2025-01-07 20:49:42 +02:00
sulai
5b864f8598
Tweak UI city screen (#12755)
* Add missing translation template

* city screen label: Ellipsize city name if too long

* Reintroduce priority buttons in queue entries when queue is expanded

* Horizontal queue space optimized for Small Portrait Screens, so that city stats stay visible

---------

Co-authored-by: mrimvo <6030346+mrimvo@users.noreply.github.com>
2025-01-07 20:49:06 +02:00
EmperorPinguin
9ef0966b2e
Update NextTurnAutomation.kt (#12754) 2025-01-07 20:48:56 +02:00
yairm210
b1da26c20c chore: split checkFileNames into subfunctions 2025-01-07 20:48:31 +02:00
yairm210
6f068d5fd3 chore: reduce automateWorkerAction complexity even more 2025-01-07 20:15:36 +02:00
yairm210
1296520737 chore: reduce automateWorkerAction complexity 2025-01-07 20:05:27 +02:00
yairm210
90b3661b95 Show total number of cities in city table 2025-01-07 19:36:28 +02:00
yairm210
fa5b5612b9 Fixed tests again dammit 2025-01-07 16:14:42 +02:00
yairm210
c1025f15ab Specify the problematic interception translations 2025-01-07 13:20:26 +02:00
yairm210
e4694ab5ff chore: renamed all "distance to tiles" to "movement" 2025-01-05 17:00:18 +02:00
yairm210
d6e09b1356 Avoid ANRs when loading games 2025-01-05 14:49:37 +02:00
yairm210
3af82a756c Resolve rare crash for corrupted game settings 2025-01-05 14:36:18 +02:00
yairm210
abea819a7f Resolved #12753 - Queue items remain in bounds 2025-01-05 13:19:49 +02:00
yairm210
e16ac94d51 Fix tests 2025-01-05 12:03:05 +02:00
yairm210
e8f89ba1c7 More generic battle notifications 2025-01-05 11:57:15 +02:00
yairm210
b8383cb9ef More generic battle notifications 2025-01-05 11:45:54 +02:00
yairm210
a809348e72 . 2025-01-05 11:25:22 +02:00