Commit Graph

11276 Commits

Author SHA1 Message Date
EmperorPinguin
02fdeb1755
Update ConsoleLauncher.kt (#12658) 2024-12-15 21:52:44 +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
U+1F596
ded0037194
Create CODE_OF_CONDUCT.md (#12624)
Create a Code of Conduct to better the project's community.
2024-12-15 11:21:44 +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
SeventhM
1c25206dbb
Fix The Hague's english name (#12581) 2024-12-09 18:40:44 +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
yairm210
f2aefd0061 AI: Don't pick most expensive tech as free tech, if it's marked as "0 weight for AI decisions" 2024-12-09 18:10:23 +02:00
yairm210
ab2c848f9a Run mod compatibility checks on another thread, to avoid ANRs in new game screen 2024-12-09 15:56:10 +02:00
yairm210
d08f2a2939 Resolved #12611 - automated air units with "Cannot move" do not move 2024-12-09 14:08:25 +02:00
yairm210
7187554adb Removed uses of UncivGame.Current.gameInfo when unnecessary
Some checks failed
Conflict marking / main (push) Failing after 8s
Detekt / detekt (ubuntu-latest) (push) Failing after 1m3s
Docker / build (push) Failing after 1m3s
Generate mkdocs from docs folder / deploy (push) Failing after 27s
Build and test / Check code and run unit tests (push) Failing after 1h3m30s
2024-12-09 10:45:10 +02:00
yairm210
c2b6205208 Decreased base Fort value to not build it instead of useful improvements 2024-12-09 10:25:48 +02:00
yairm210
f9e7451249 Resolve #12617 - Remove images of expended units 2024-12-09 10:02:25 +02:00
yairm210
75fc42e1c8 Fix tests, unresolve #12611 2024-12-09 09:57:32 +02:00
yairm210
6a63b6fe31 Resolved #12612 - Display city state type name for battle bonuses
Some checks failed
Conflict marking / main (push) Failing after 6s
Detekt / detekt (ubuntu-latest) (push) Failing after 40s
Generate mkdocs from docs folder / deploy (push) Failing after 23s
Build and test / Check code and run unit tests (push) Failing after 56m5s
Close stale issues and PRs / stale (push) Successful in 17s
Docker / build (push) Failing after 52s
2024-12-08 10:46:52 +02:00
yairm210
43f8ba47a4 Resolved #12611 - AI can move air units with "Cannot move" unique 2024-12-08 10:43:37 +02:00
yairm210
e143c76d63 Resolved #12601 - "Unit built" notification selects the built unit 2024-12-08 10:35:25 +02:00
yairm210
a84cdd4e8e 4.14.13-patch1
Some checks failed
Conflict marking / main (push) Failing after 5s
Detekt / detekt (ubuntu-latest) (push) Failing after 26s
Generate mkdocs from docs folder / deploy (push) Failing after 24s
Build and test / Check code and run unit tests (push) Failing after 1h10m12s
Close stale issues and PRs / stale (push) Successful in 18s
Docker / build (push) Failing after 10m50s
2024-12-06 10:18:17 +00:00
Yair Morgenstern
67ce623f05
Fixed battle animation crash (#12585) 2024-12-06 12:18:09 +02:00
itanasi
d745b10a1b
Crop images (#12583) 2024-12-06 12:06:05 +02:00