Commit Graph

7814 Commits

Author SHA1 Message Date
a981c48dc1 4.14.12-patch1 2024-12-03 14:33:18 +00:00
2de549b8b3 Resolved #12555 - Fixed city names disappearing (#12559) 2024-12-03 16:33:09 +02:00
cadcab41e8 Version rollout (#12551)
* Bump version and create initial changelog entry

* Update Brazilian_Portuguese.properties (#12549)

* Update Brazilian_Portuguese.properties

* Update Brazilian_Portuguese.properties

Typo

* Update Ukrainian translations (#12547)

Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.com>

* Update Latin translation (#12543)

* Update Latin translation

* Update translation

* Update Croatian translation (#12535)

* minor corrections

* Partial translation of city names

* Partial translation of tutorial 2

* Minor corrections and partial tutorials translation

* Finalize translation of tutorials and civilopedia

* English cities and difficult words

* French, Russian, German and Spanish city names

* Religion names and Greek, Ottoman, Persian and Danish cities

* names and Roman, Swedish and Byzantium cities

* minors corrections 2

* Babylonian, Egyptian and Japanese cities

* Indian cities and difficult words

* Ethiopian cites

* Chinese cities and corrections

* minor corrections

* City names corrections for vanilla Unciv and grammar corrections

* City names correction for GNK

* Update Spanish.properties (#12534)

* Update Spanish.properties

Translated two new lines.

* Fix spelling mistake

* fix tests

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: gabrielseven <72280913+gabrielseven@users.noreply.github.com>
Co-authored-by: Kostiantyn Ko <test9@mormat.name>
Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.com>
Co-authored-by: sls1005 <90055573+sls1005@users.noreply.github.com>
Co-authored-by: metablaster <44481081+metablaster@users.noreply.github.com>
Co-authored-by: U+1F596 <101731484+JTech-Labs@users.noreply.github.com>
2024-12-02 20:11:34 +02:00
cff67ddb5b Resolved #12546 - Spies assigned to cities moved to other civs are returned to hideout 2024-12-02 19:18:08 +02:00
b1f1998f11 Add LinkAction (#12542)
* Add LinkAction

* fix generated stuff (tested in desktop)
2024-12-02 18:20:31 +02:00
16d11c660e chore: detekt lint 2024-12-02 14:46:07 +02:00
0150076f18 Removed 'please' from Civ demands to make them more demand-y 2024-12-02 14:39:30 +02:00
bda9524f2c perf(memory): Single-init strings for CapitalConnectionsFinder
Some checks failed
Build and test / Check code and run unit tests (push) Failing after 5m33s
Conflict marking / main (push) Failing after 4s
Detekt / detekt (ubuntu-latest) (push) Failing after 18s
Generate mkdocs from docs folder / deploy (push) Failing after 22s
Docker / build (push) Failing after 1m2s
Close stale issues and PRs / stale (push) Successful in -2s
2024-12-01 19:45:54 +02:00
ef78cd95f9 perf(memory): Don't clone units when cloning tiles for 'alternative history' checks 2024-12-01 19:42:58 +02:00
b1fe404222 perf(minor) 2024-12-01 19:30:46 +02:00
935d0ff1e2 detekt lint fix 2024-12-01 19:28:55 +02:00
4edf8a7c9e perf(memory): Reuse conditional states 2024-12-01 19:27:42 +02:00
6751739f39 perf(memory): Reuse conditional states 2024-12-01 19:26:32 +02:00
b1a3a4d89d perf(memory): Don't create a resource counter if we know we don't need it 2024-12-01 19:18:52 +02:00
f62919b666 perf(rendering): Added class NonTransformGroup:Group for draw() performance 2024-12-01 18:55:25 +02:00
ba7c9def64 ANR: Disable input while building crash screen
Some checks failed
Conflict marking / main (push) Failing after -9s
Detekt / detekt (ubuntu-latest) (push) Failing after 20s
Docker / build (push) Failing after 31s
Generate mkdocs from docs folder / deploy (push) Failing after 14s
Build and test / Check code and run unit tests (push) Failing after 41m50s
Close stale issues and PRs / stale (push) Successful in 13s
2024-12-01 12:48:23 +02:00
e5c20f78dd chore: isRemovable(terrain) returns if the tile improvement is actually buildable 2024-12-01 12:30:26 +02:00
4f5d550e7b Fix promotion uniques being ignored if it didn't match a promotion names (#12539)
Some checks failed
Build and test / Check code and run unit tests (push) Failing after 5m42s
Conflict marking / main (push) Failing after 6s
Detekt / detekt (ubuntu-latest) (push) Failing after 19s
Generate mkdocs from docs folder / deploy (push) Failing after 20s
Close stale issues and PRs / stale (push) Successful in 14s
Docker / build (push) Failing after 46s
2024-11-29 14:23:15 +02:00
2a8536b60e Resolved #12540 - automated workers don't remove terrain features without the proper tech 2024-11-29 14:22:07 +02:00
2c47d791ed Allow unit triggers to be used in unit-triggered events
Some checks failed
Conflict marking / main (push) Failing after 6s
Detekt / detekt (ubuntu-latest) (push) Failing after 32s
Generate mkdocs from docs folder / deploy (push) Failing after 18s
Build and test / Check code and run unit tests (push) Failing after 49m59s
Docker / build (push) Failing after 10m27s
2024-11-28 21:54:47 +02:00
df2a56a0e5 Add statusMap as lookup-performant alternative to status list - not yet source of truth 2024-11-28 21:29:32 +02:00
3d1bd65c09 Version rollout (#12533)
* Bump version and create initial changelog entry

* Update Indonesian.properties (#12530)

* Update Indonesian.properties

* Update Indonesian.properties

* Update Indonesian.properties

* Update Croatian translation (#12526)

* Translate technologies and terrains

* Translate tile improvements, tile resources, unit promotions, units, unit types, victory types and beliefs

* Translate Gods & Kings

* Partial translation of tutorials

* check and fix grammar

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
Co-authored-by: metablaster <44481081+metablaster@users.noreply.github.com>
2024-11-27 23:14:40 +02:00
5e87950bf2 Allow loading games where a buildings' "replaces" has been removed 2024-11-27 23:06:31 +02:00
a5a2157bc6 Allow loading games with natural wonders that have been removed from mods 2024-11-27 22:46:47 +02:00
44ab57e33b Added Github icon+link on main menu
Some checks failed
Conflict marking / main (push) Failing after 13s
Detekt / detekt (ubuntu-latest) (push) Failing after 48s
Docker / build (push) Failing after 39s
Generate mkdocs from docs folder / deploy (push) Failing after 32s
Build and test / Check code and run unit tests (push) Failing after 50m10s
Close stale issues and PRs / stale (push) Successful in 17s
Removed "community" submenu
2024-11-27 17:31:46 +02:00
a7f69adfbb Added Discord icon+link on main menu 2024-11-27 16:55:54 +02:00
6524a5157a Re-allow long-tile swapping - resolves #12527, relevant to #12522 2024-11-27 14:16:36 +02:00
5a204eb929 Move Capital building function from city to civ (#12529) 2024-11-27 13:00:08 +02:00
e150cc102a Resolved #12528 - city construction progress is reset when puppeting, not when annexing 2024-11-27 12:59:17 +02:00
6b64bc6f1a Resolved #12524 - only add city ruins improvements if they exist in the ruleset
Some checks failed
Conflict marking / main (push) Failing after 7s
Detekt / detekt (ubuntu-latest) (push) Failing after 35s
Generate mkdocs from docs folder / deploy (push) Failing after 20s
Build and test / Check code and run unit tests (push) Failing after 39m11s
Close stale issues and PRs / stale (push) Successful in 53s
Docker / build (push) Failing after 53s
2024-11-26 14:06:08 +02:00
45e86fef5d Version rollout (#12525)
* Bump version and create initial changelog entry

* Update Latin translation (#12520)

* Update translation

* Update translation

* Fix translation

* Update translation

* Update Brazilian_Portuguese.properties (#12518)

* Update German translation (#12515)

* Update Croatian.properties (#12513)

* Update Croatian.properties

* fix invalid placeholder

* Update Croatian translation

* revisited existing translation

* Update 2 Croatian translation

* Update 3 Croatian translation

* check grammar and consistency of existing translation

* Update 4 Croatian translation

* Update 5 Croatian translation

* fix invalid placeholders

* fix missing placeholder

* Update 6 Croatian translation

* Update 7 Croatian translation

* fix invalid placeholders

* Update 8 Croatian translation

* Translate buildings, difficulties and eras

* check word usage consistency of existing translation

* Partial translation of nations

* Partial translation of nations 2

* finish translation of nations

* fix typos and grammar for translation of nations

* Translate policies, quests, ruins and specialists

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: sls1005 <90055573+sls1005@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: mape6 <mape6@posteo.de>
Co-authored-by: metablaster <44481081+metablaster@users.noreply.github.com>
2024-11-26 08:49:10 +02:00
7fbdfd13e5 More #12522 edge case 2024-11-26 08:32:05 +02:00
72329aec94 Revert "Resolved #12467 - Nat wonders land->water conversion no longer causes rivers on water tiles"
This reverts commit 914b9e2f03.
2024-11-26 08:21:25 +02:00
e4025afb4c Resolved #12522 - fixed crash when swapping while retreating 2024-11-26 08:18:15 +02:00
d91319b792 Resolved #12506 - debug option to show tile image locations
Some checks failed
Conflict marking / main (push) Failing after 19s
Detekt / detekt (ubuntu-latest) (push) Failing after 1m0s
Generate mkdocs from docs folder / deploy (push) Failing after 24s
Build and test / Check code and run unit tests (push) Failing after 35m3s
Close stale issues and PRs / stale (push) Successful in 14s
Docker / build (push) Failing after 1m8s
2024-11-25 17:00:48 +02:00
9dc1d5b4f1 console: Don't allow adding cities to spectator/barbarian (will crash)
Some checks failed
Conflict marking / main (push) Failing after 9s
Detekt / detekt (ubuntu-latest) (push) Failing after 2m12s
Build and test / Check code and run unit tests (push) Failing after 7m30s
Generate mkdocs from docs folder / deploy (push) Failing after 1m35s
Close stale issues and PRs / stale (push) Successful in 40s
Docker / build (push) Failing after 2m4s
2024-11-24 11:59:42 +02:00
d816b50cd9 Resolved #12437 - Worker units do not try and swap with non-adjacent tiles 2024-11-24 11:14:24 +02:00
b09b6c92f7 Allow MP updates to catch Throwable, which includes OutOfMemoryError 2024-11-24 10:39:01 +02:00
11fb47484a Resolved MP update task concurrent modification exception 2024-11-24 10:28:32 +02:00
59bd7d200b Resolved crashes due to incorrect music state - no idea what's actually causing it, but the entire music track handling needs a revamp anyway 2024-11-24 10:26:04 +02:00
f303c4f7be Resolved #12516 - console cannot change player type for non-major civs 2024-11-22 10:38:13 +02:00
b18daec354 Version rollout (#12512)
* Bump version and create initial changelog entry

* Add files via upload (#12508)

* Add Croatian language for translation (#12507)

* Add Croatian language

* Update Croatian.properties

* fix invalid placeholder in Croatian.properties

* restore translated placeholder

* update Croatian.properties and full_description.txt

* Update French.properties (#12503)

* Update Indonesian.properties (#12502)

Translation and corrections.

* Update Italian.properties (#12499)

* Update Russian.properties (#12498)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: SHypoleac <michal.wolonciej@interia.pl>
Co-authored-by: metablaster <44481081+metablaster@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: dadadnet <dadadnet38@gmail.com>
2024-11-21 19:42:36 +02:00
c73e78549e resolved #12505 - uniques hidden from users do not show icons in tech tree 2024-11-21 19:30:06 +02:00
862762735a Added more options for UI skin mods (#12501)
* Add fallback skin to skin config

* Add icon and font color to SkinElement

* Use foregroundColor if no icon color is specified

+ Fix fallbackSkinVariants are not used

* Add defaultVariantTint to reduce mod copy pasta

* Add docs for new skin variables
2024-11-21 19:28:09 +02:00
37169ae719 Fix capital indicating uniques ignoring gamestate (#12509)
* Fix capital indicating uniques ignoring gamestate

* Use hasUnique instead of getMatchingUnique.any
2024-11-21 19:27:45 +02:00
98096de9e5 Fix tile defence uniques ignoring unit state (#12510) 2024-11-21 19:27:37 +02:00
c68f1fe0dc resolved #12511 - disallow slashes in mp game names 2024-11-21 19:26:24 +02:00
d28aabaf7c chore: rename canSwap to allowSwap so we don't think it's a precomputed value of something 2024-11-21 19:19:10 +02:00
78d54ac440 perf(cpu): Changed when(string) for performance
- More performant than hash lookup so got rid of nation and improvement filter cache
2024-11-21 08:44:39 +02:00
6bf3de0549 ConsoleLauncher: Add binomial test output (#12496)
* Add binomial test

* Fix Major Civ count
2024-11-20 13:30:17 +02:00