Commit Graph

7887 Commits

Author SHA1 Message Date
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
096f62a719 Solve ANRs - play overlay music on another thread 2024-12-17 11:42:53 +02:00
yairm210
9f4828d55a 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
itanasi
3792dc04a8
Rebase and commit (#12662) 2024-12-16 14:55:55 +02:00
Toxile
c68b19470f
UI: standardised alignment and creation of options checkboxes, Unciv-themed slider buttons, multiplayer settings server text field layout and spacing (#12650)
* [1]

* [2]

* [1]

* [3]

* [3]

* [4]

* Update template.properties
2024-12-16 10:55:13 +02:00
SeventhM
ae28dca570
Add unified unique for gaining stats or stockpiles (#12642)
* Add unified unique for gaining stats or stockpiles

* Use IgnoreConditionals instead of EmptyState
2024-12-16 10:54:47 +02:00
itanasi
2963d47295
Simulation: Save Stat support (#12663)
* Changes

* Default to not using avgStat

* Make print a float

* Make statTurns a list
rename sumStat
better summation for popsum

* Fix potential nullpointer

* Add .add()

* And another place to use .add()
2024-12-16 10:54:32 +02:00
SeventhM
7918123a79
Use unit state for trigger conditionals for gaining new units (#12660) 2024-12-16 10:54:23 +02:00
EmperorPinguin
e7b73c05cd
Update ConstructionAutomation.kt (#12659)
* Update ConstructionAutomation.kt

* Update ConstructionAutomation.kt
2024-12-16 10:53:18 +02:00
EmperorPinguin
203222af7d
Prevent incorrect settler retreat (#12652)
* Update CivilianUnitAutomation.kt

* Update SpecificUnitAutomation.kt

* Update SpecificUnitAutomation.kt
2024-12-16 10:53:10 +02:00
SeventhM
b55e02fd4d
Make pantheon cost respect game speed modifer (#12635)
* Make pantheon cost respect game speed modifer

* Inplement suggestion
2024-12-16 10:53:01 +02:00
itanasi
f07444e030
Quick edit so Simulation report is in consistent order (#12661) 2024-12-16 06:42:29 +02:00
yairm210
b06708ff1d Resolved #12637 - Paused music no longer resumes on game resume 2024-12-15 22:13:19 +02:00
itanasi
fcdf6cba5f
Changes to provide Random Order of Civs in sims (#12656) 2024-12-15 21:54:20 +02:00
yairm210
fdb8026c1b perf(minor): TileLayerCityButton faster "no-op" check 2024-12-15 21:45:20 +02:00
yairm210
1a0bb512bf perf: save more metadata per "list of terrains" for fast lookups, this time for edge tiles 2024-12-15 19:53:01 +02:00
yairm210
7bc5047ace perf: save tile ref on each tile layer 2024-12-15 19:39:24 +02:00
yairm210
c3c397aade Revert "perf(tile-update): cache base data for tile rendering to only recompute when base data changes"
This reverts commit 16f0a9844c.
2024-12-15 19:30:34 +02:00
yairm210
62bae6b166 perf(hit,act): local variables to save data (is null equality that hard to compute?! what's going on?!) 2024-12-15 12:32:59 +02:00
yairm210
16f0a9844c perf(tile-update): cache base data for tile rendering to only recompute when base data changes 2024-12-15 12:22:46 +02:00
yairm210
ec2950305d perf: faster vector -> direction conversion
Some checks failed
Conflict marking / main (push) Failing after 11s
Detekt / detekt (ubuntu-latest) (push) Failing after 51s
Generate mkdocs from docs folder / deploy (push) Failing after 14m57s
Build and test / Check code and run unit tests (push) Failing after 52m14s
Close stale issues and PRs / stale (push) Has started running
Docker / build (push) Has started running
2024-12-15 12:07:51 +02:00
yairm210
73424466d4 Resolved #12640 - "Tile provides yield without assigned population", "Adjacent enemy units ending their turn take [49] damage" accept tile/civ conditionals 2024-12-15 11:33:23 +02:00
yairm210
4bac39c910 Resolved #12649 - buy button active for puppets when civ can purchase items in puppets 2024-12-15 11:27:37 +02:00
yairm210
0f4f690893 Better "close unit table" button - see #12591
Some checks failed
Conflict marking / main (push) Failing after 14s
Detekt / detekt (ubuntu-latest) (push) Failing after 1m2s
Generate mkdocs from docs folder / deploy (push) Failing after 54s
Build and test / Check code and run unit tests (push) Failing after 5m38s
Close stale issues and PRs / stale (push) Successful in 9s
Docker / build (push) Failing after 1m0s
2024-12-14 19:19:53 +02:00
yairm210
6f535f5c15 4.14.15 2024-12-14 18:53:34 +02:00
Yair Morgenstern
effddc03f3
Version rollout (#12647)
* Bump version and create initial changelog entry

* Update Dutch.properties (#12630)

* Update Dutch.properties

* Update Dutch.properties

* Update Dutch.properties

* Update Dutch.properties

* Update Latin translation (#12629)

* Update translation

* Update translation

* Update translation

* Update Croatian translation (#12621)

* Update cities of Byzantium, Kelts, Cartage and Maya

* update city names

* update city names 2

* translation of person names

* Gramatical gender in diplomacy and few corrections

* update city names and city name corrections

* translate remaining cities

* fix wording consistency

* minor corrections

* minor consistency corrections

* Correct translation of "request"

* Correct translation of "Button"

* Update Catalan.properties (#12620)

---------

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: metablaster <44481081+metablaster@users.noreply.github.com>
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.com>
2024-12-14 18:40:57 +02:00
itanasi
03f06df66f
Add Avg Victory Turns to Simulation (#12633) 2024-12-14 18:13:57 +02:00
EmperorPinguin
5fa2e7be95
Update NextTurnAutomation.kt (#12634) 2024-12-14 18:13:43 +02:00
SeventhM
2a0cab7d40
Increase starting Luxury amount to match Civ 5 (#12631) 2024-12-14 18:13:30 +02:00
EmperorPinguin
5364fee87b
Update ReligionAutomation.kt (#12627) 2024-12-14 18:13:14 +02:00
Toxile
9082e2ab3b
UI tweaks and fixes: dividers, checkbox-to-text spacing, multiplayer tab connection button (#12646)
* [1]

* [2]

* [3]

* [1]

* Revert "[2]"

This reverts commit b9b88d8a1593c1d0e4387d94f2b3e0d976d8e14b.

* [2] global
2024-12-14 18:10:02 +02:00
yairm210
17f5f949eb TileInfoTable improvements - see #12591
Some checks failed
Conflict marking / main (push) Failing after 14s
Detekt / detekt (ubuntu-latest) (push) Failing after 1m12s
Generate mkdocs from docs folder / deploy (push) Failing after 39s
Build and test / Check code and run unit tests (push) Failing after 5m48s
Close stale issues and PRs / stale (push) Successful in 16s
Docker / build (push) Failing after 52s
2024-12-13 11:56:44 +02:00
yairm210
212e7233b3 Changed Black in UI to Charcoal - see #12591
Some checks failed
Build and test / Check code and run unit tests (push) Failing after 1h41m8s
Conflict marking / main (push) Failing after 9s
Detekt / detekt (ubuntu-latest) (push) Failing after 39s
Docker / build (push) Failing after 1m23s
Generate mkdocs from docs folder / deploy (push) Failing after 37s
2024-12-13 11:00:51 +02:00
yairm210
dcaf9c421a More unit table improvements - see #12591 2024-12-13 10:37:42 +02:00
yairm210
6c4965aaee Better icons in unit description table - see #12591 2024-12-13 10:07:45 +02:00
yairm210
8519453d19 Fixed cities built on pillages roads colored red
Some checks failed
Docker / build (push) Failing after 1m50s
Build and test / Check code and run unit tests (push) Failing after 5m39s
Conflict marking / main (push) Failing after 5s
Detekt / detekt (ubuntu-latest) (push) Failing after 45s
Generate mkdocs from docs folder / deploy (push) Failing after 22s
Close stale issues and PRs / stale (push) Successful in 20s
2024-12-11 19:17:01 +02:00
yairm210
f791b70997 fix: Scroll position indicators do not block minimap clicks 2024-12-11 18:57:15 +02:00
yairm210
f018b78f83 Fixed scroll position indicator
Some checks failed
Conflict marking / main (push) Failing after 13s
Detekt / detekt (ubuntu-latest) (push) Failing after 46s
Docker / build (push) Failing after 1m37s
Generate mkdocs from docs folder / deploy (push) Failing after 40s
Build and test / Check code and run unit tests (push) Failing after 5m33s
Close stale issues and PRs / stale (push) Successful in 21s
2024-12-11 11:55:53 +02:00
yairm210
0e1dfed64b Fixed Thai diacritic support 2024-12-11 11:40:37 +02:00
yairm210
648e50d2ad Added "exit" button in world screen popup menu
Some checks failed
Conflict marking / main (push) Failing after 7s
Detekt / detekt (ubuntu-latest) (push) Failing after 51s
Docker / build (push) Failing after 1m17s
Generate mkdocs from docs folder / deploy (push) Failing after 33s
Build and test / Check code and run unit tests (push) Failing after 5m25s
2024-12-10 23:18:08 +02:00
yairm210
cf4fd63959 Fixed AI religion belief assessment (far too much weight given to tiles) 2024-12-10 23:10:11 +02:00
yairm210
a9908e877c default mirroring none
Some checks failed
Conflict marking / main (push) Failing after 17s
Detekt / detekt (ubuntu-latest) (push) Failing after 1m4s
Generate mkdocs from docs folder / deploy (push) Failing after 49s
Build and test / Check code and run unit tests (push) Failing after 5m39s
Close stale issues and PRs / stale (push) Successful in 18s
Docker / build (push) Failing after 1m19s
2024-12-10 13:23:52 +02:00
yairm210
9a1e904b66 Added river mirroring 2024-12-10 11:06:53 +02:00
yairm210
4160f343bf Simplified mirroring code in prep for rivers 2024-12-10 10:34:09 +02:00
yairm210
07262f6026 Removed 'ignore touhidurr notifications'
Some checks failed
Conflict marking / main (push) Failing after 14s
Detekt / detekt (ubuntu-latest) (push) Failing after 1m7s
Generate mkdocs from docs folder / deploy (push) Failing after 43s
Build and test / Check code and run unit tests (push) Failing after 6m9s
Close stale issues and PRs / stale (push) Successful in 11s
Docker / build (push) Failing after 1m4s
2024-12-09 19:55:20 +02:00
yairm210
66f9ed549b 4.14.14 2024-12-09 18:55:13 +02:00
yairm210
bdc5cd2ecf perf(cpu): Sequences, and initially set array list to desired size 2024-12-09 18:44:26 +02:00
Yair Morgenstern
f6025122a7
Version rollout (#12619)
* Bump version and create initial changelog entry

* Update Latin translation (#12616)

* Update translation

* Update translation

* Update translation

* Fix translation

* Update translation

* Update translation

* Fix translation

* Update dutch translations (#12589)

* Update Dutch.properties

* Update Dutch.properties

* Update Dutch.properties

* Update Dutch.properties

* Update Dutch.properties

* Update Croatian translation (#12586)

* City name of native Americans

* Greek and Babylonian cities

* Update Egyptian cities and few terms

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: sls1005 <90055573+sls1005@users.noreply.github.com>
Co-authored-by: dutchwolfgirl <110766475+dutchwolfgirl@users.noreply.github.com>
Co-authored-by: metablaster <44481081+metablaster@users.noreply.github.com>
2024-12-09 18:40:29 +02:00