Commit Graph

8780 Commits

Author SHA1 Message Date
WhoIsJohannes
8b01498227
Get going with producing military if your ass is about to get kicked. (#9109) 2023-04-03 23:38:04 +03:00
Yair Morgenstern
9e239de6ce Resolved #9103 - invalid conditionals on building uniques no longer lead to crashes 2023-04-03 21:54:52 +03:00
Yair Morgenstern
6953e0341b 4.5.16-patch
Fixed 'construct improvement' crash
2023-04-03 21:34:39 +03:00
SomeTroglodyte
ca36c0e6e6
Prevent MapEditor 'pinch zoom' painting tiles (#9101) 2023-04-03 17:06:11 +03:00
Yair Morgenstern
0dcc15ccc3 Fixed release notes for new versions 2023-04-03 15:16:27 +03:00
Yair Morgenstern
3c595c8952 4.5.16 2023-04-03 14:56:28 +03:00
Yair Morgenstern
35d5b8c43c
Version rollout (#9100)
* Bump version and create initial changelog entry

* Updated Brazilian_Portuguese.properties (#9094)

* Update Ukrainian.properties (#9093)

* Update Catalan.properties (#9090)

* Update Spanish.properties (#9088)

All tutorial page text

* Update Hungarian.properties (#9084)

* Update Hungarian.properties

* Update Hungarian.properties

* Update Hungarian.properties

* Update Hungarian.properties

* Update Hungarian.properties

* Update Hungarian.properties

* Update Hungarian.properties

* Update Hungarian.properties

* Update Hungarian.properties

* Update Hungarian.properties

* Update Hungarian.properties

* Update Hungarian.properties

* Update Hungarian.properties

* Update Hungarian.properties

* Update Simplified_Chinese.properties (#9083)

- add more translation

* Update French.properties (#9082)

* Update Turkish.properties (#9081)

Add and revise translations

* Update Bulgarian.properties (#9080)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: Gualdimar <Gualdimar@users.noreply.github.com>
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.com>
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com>
Co-authored-by: balazsszalab <balazsszalab@freemail.hu>
Co-authored-by: Tim <2884320+tim-hub@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: omerfaruk-cakmak <32402595+omerfaruk-cakmak@users.noreply.github.com>
Co-authored-by: Bogomil Stefanov <101423783+vynaaa@users.noreply.github.com>
2023-04-03 14:53:35 +03:00
Yair Morgenstern
67482f0ebe #9098 - rankStatsForCityWork also uses local unique cache 2023-04-03 14:36:24 +03:00
Yair Morgenstern
d6f5e0badb #9098 - getKnownCivs returns sequence 2023-04-03 14:09:56 +03:00
Yair Morgenstern
a37391781a Fixed tests 2023-04-03 13:56:13 +03:00
Yair Morgenstern
f387de9506 performance: Don't update visible tiles if we've moved within our border 2023-04-03 11:13:29 +03:00
Yair Morgenstern
ad299a8a62 performance: Cache uniques for calculating specialist stats 2023-04-03 11:03:59 +03:00
Yair Morgenstern
9c121086ea Performance: Removed map lookup for getLastTerrain
This was used in isImpassible which was used in canPassThrough, which means it was called A LOT
2023-04-03 10:55:52 +03:00
Yair Morgenstern
f0ee25dcac Performance: Removed map lookup every time we want to get a unit's type 2023-04-03 10:49:50 +03:00
Yair Morgenstern
bfb869f64f Performance: nation type booleans are all lazy vals, to avoid unnecessary string comparisons
These were so numerous that they were popping up in the CPU profiler which is just unacceptable
2023-04-03 10:45:19 +03:00
Yair Morgenstern
f50b88c9a5 Performance: Save civ tiles and neighbors in cache to update visible tiles faster 2023-04-03 10:32:09 +03:00
Yair Morgenstern
3db03a78d2 Performance: Use unique cache for tile percentage stats and auto-assigning population to tiles 2023-04-03 09:27:05 +03:00
SomeTroglodyte
d3ac7c24bd
Declare Era.citySound not TranslationFileWriter-worthy (#9095) 2023-04-03 07:22:58 +03:00
SomeTroglodyte
a4c4c5f93e
Music player controls (#9087)
* Music controls cleanup

* Music controls cleanup - assets

* Music controls cleanup - fix incorrect attribution
2023-04-01 22:06:46 +03:00
Yair Morgenstern
36b90075da 4.5.15 2023-03-31 16:17:52 +03:00
Yair Morgenstern
9f521895aa
Version rollout (#9079)
* Bump version and create initial changelog entry

* Update Simplified_Chinese.properties (#9078)

- for screen orientation part translation
- and a few due-to missed translation
- and borderless

* Update Ukrainian.properties (#9076)

* Update Hungarian.properties (#9074)

* Update Indonesian.properties (#9071)

* Update Indonesian.properties

* Update Indonesian.properties

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Tim <2884320+tim-hub@users.noreply.github.com>
Co-authored-by: Gualdimar <Gualdimar@users.noreply.github.com>
Co-authored-by: balazsszalab <balazsszalab@freemail.hu>
Co-authored-by: kensvin <kensvin28@gmail.com>
2023-03-31 15:52:29 +03:00
SomeTroglodyte
45d66f0580
Civilopedia Welcome, moddable (#8940) 2023-03-31 14:58:07 +03:00
WhoIsJohannes
de7177692f
Make AI buy city tiles. (#9065)
* Make AI buy city tiles.

* Address comments
2023-03-31 14:54:03 +03:00
SomeTroglodyte
ce495d4ff2
Fix ColorMarkupLabel prefSize (#9077) 2023-03-31 14:48:30 +03:00
Yair Morgenstern
2d184655c7 Automated units don't try and conquer the same city twice 2023-03-30 20:51:56 +03:00
SomeTroglodyte
aea988a6bb
Untinted embedded symbols - Notifications and Citystate diplomacy (#9051) 2023-03-30 16:32:43 +03:00
SomeTroglodyte
3d56c1ba5d
Fix disbanding units a civ cannot afford (#9073)
* Fix disbanding units a civ cannot afford

* Avoid performance impact of CityState Afraid evaluation where possible
2023-03-30 10:22:52 +03:00
SomeTroglodyte
c5d0de8144
Main menu cancels background map creation when obsolete (#9072) 2023-03-30 10:22:37 +03:00
Yair Morgenstern
6fa1d61f4f Constructed units that can't be placed are put on hold till the next turn 2023-03-29 23:19:55 +03:00
Yair Morgenstern
c4a0f49af3 Solve 'desktop tries to create window of size 0/0' bug 2023-03-29 22:03:39 +03:00
Yair Morgenstern
375bc884f9 Remove old tag function 2023-03-29 12:45:48 +03:00
Yair Morgenstern
90673a60ea get tag from github actions, the 2022 way 2023-03-29 12:44:26 +03:00
Yair Morgenstern
6a153f61dd 4.5.14 2023-03-29 12:21:57 +03:00
Yair Morgenstern
223494fa52
Version rollout (#9069)
* Bump version and create initial changelog entry

* Update for Russian localization (#9068)

Translation for most of lines of text. There are some left as it's impossible to translate those correctly without context, which is not provided in a nice way, so only way to understand their meaning is finding them in-game (Which I couldn't do, unfortunately.)

* Update Spanish.properties (#9066)

* Update Filipino.properties (#9062)

* Update Filipino.properties

* Update Filipino.properties

* Update Filipino.properties

* Update Filipino.properties

* Update Filipino.properties

* Update Italian.properties (#9061)

* Update Brazilian_Portuguese.properties (#9060)

* Update Bulgarian.properties (#9053)

* Update German translation (#9049)

* Update French.properties (#9046)

* Fixed russian translation errors

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Alex <64156241+Alex-1000@users.noreply.github.com>
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com>
Co-authored-by: Shann Aurelle Ripalda <shannaurelleg@gmail.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: Bogomil Stefanov <101423783+vynaaa@users.noreply.github.com>
Co-authored-by: mape6 <mape6@posteo.de>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
2023-03-29 12:19:57 +03:00
SomeTroglodyte
be69f8b52d
Fix TileSet mods can lock user out (#9023) 2023-03-29 11:42:34 +03:00
SomeTroglodyte
13f4dd0756
Fix obsoleted units replace in construction queues for Nation-unique upgrades (#9044) 2023-03-29 11:34:40 +03:00
Yair Morgenstern
d3305e680a Resolved #9058 - Mods that remove 'repair' improvement no longer cause crashes down the line 2023-03-29 10:17:20 +03:00
Yair Morgenstern
6000232eac Resolved #9054 - Archipelago creates water again 2023-03-29 09:57:37 +03:00
letstalkaboutdune
f32bf4a7a4
AbsoluteUnits - Hwach'a, Camel Archer (#9063) 2023-03-29 07:39:12 +03:00
SomeTroglodyte
bb332637d1
Fix exploit allowing promotion with 0 movement (#9055)
* Close exploit allowing promotion with 0 movement

* PromotionPickerScreen linting
2023-03-28 07:35:56 +03:00
SomeTroglodyte
76705f98e9
Fix notifications for pillage loot (#9047) 2023-03-27 09:17:51 +03:00
SomeTroglodyte
dc4e78f073
A renamed unit shows that new name in can promote notifications (#9043) 2023-03-26 22:29:45 +03:00
Yair Morgenstern
837833e450 4.5.13 2023-03-26 21:55:23 +03:00
Yair Morgenstern
3047335db1
Version rollout (#9041)
* Bump version and create initial changelog entry

* Update Hungarian.properties (#9028)

* Update Hungarian.properties

* Update Hungarian.properties

* Update French.properties (#9024)

* Updated Brazilian_Portuguese.properties (#9022)

* Update Spanish.properties (#9021)

* Update Spanish.properties

Mini update

* Update Spanish.properties

* Update German translation (#9019)

* Update Polish.properties (#9017)

* Update Filipino.properties (#9015)

* Update Filipino.properties

* Update Filipino.properties

* Update Filipino.properties

* Update Filipino.properties

* Update Italian.properties (#9012)

* Update Dutch.properties (#9010)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: balazsszalab <balazsszalab@freemail.hu>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: Hello200000 <98656089+Hello200000@users.noreply.github.com>
Co-authored-by: mape6 <mape6@posteo.de>
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com>
Co-authored-by: Shann Aurelle Ripalda <shannaurelleg@gmail.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: dutchwolfgirl <110766475+dutchwolfgirl@users.noreply.github.com>
2023-03-26 21:50:15 +03:00
Yair Morgenstern
a78e48612f GPT calculation fixed 2 2023-03-26 21:37:17 +03:00
SomeTroglodyte
a56e461595
Prevent duplicate lines from UiElementDocsWriter (#9040) 2023-03-26 16:17:01 +03:00
SomeTroglodyte
2adb4ffdde
Fix MiscLayer not respecting fog of war for spectator (#8992)
* Fix MiscLayer not respecting fog of war for spectator

* Fix MiscLayer not respecting fog of war for spectator - fix1
2023-03-26 12:17:54 +03:00
itanasi
e18a964a28
Automated Civilians don't multi-turn path through Enemy Territory (#9038) 2023-03-26 11:47:45 +03:00
Yair Morgenstern
879cb5ea4a GPT calculation fixed 2023-03-26 00:13:35 +03:00
Yair Morgenstern
e2f2011024 Gold per turn is worth less the more turns 'in the future' we're talking about 2023-03-25 22:11:08 +03:00