Commit Graph

8766 Commits

Author SHA1 Message Date
Yair Morgenstern
ac63a6453b Fix tests 2023-04-25 18:02:37 +03:00
Yair Morgenstern
cb626861df docs: better unique parameter documentation 2023-04-25 17:45:40 +03:00
Yair Morgenstern
079c237547 terrainFilter now accommodates nationFilter for owner 2023-04-25 17:45:40 +03:00
SomeTroglodyte
2b57bd44ab
Visual clue a load game from clipboard is underway (#9278) 2023-04-25 17:24:05 +03:00
SomeTroglodyte
a507da9a4a
Fix border case crash with lone AI winning on turn 0 (#9280) 2023-04-25 17:22:29 +03:00
Yair Morgenstern
e427d91850 Remove double icons from airsweep/nuke battle table 2023-04-25 17:20:35 +03:00
Yair Morgenstern
eecccd4542 Fade unit icon in overview if not idle 2023-04-25 17:18:07 +03:00
Chris T
bef8ee9327
Don't return 401 when auth is disabled (#9261) 2023-04-25 09:14:29 +03:00
SomeTroglodyte
dc223f8cab
Allow modders to use culture/faith conversion without providing the icons (#9275) 2023-04-25 09:05:05 +03:00
SomeTroglodyte
42dff5584e
"can be promoted" notification only when it's actually new (#9230)
* "can be promoted" notification only when it's actually new

* Reviews - sumOf instead of fold
2023-04-24 22:27:28 +03:00
SomeTroglodyte
dc5cc6d601
Fix wrapping for promotions in unit overview (#9239) 2023-04-24 22:11:39 +03:00
Yair Morgenstern
ea39fe4713 4.6.6 2023-04-24 17:42:13 +03:00
Yair Morgenstern
c7dde1bc41
Version rollout (#9273)
* Bump version and create initial changelog entry

* Completed German translation and fixed a few mistakes (#9266)

Co-authored-by: Birk Birkner <birkner@bbirkner.de>

* Update Polish.properties (#9264)

* Update Italian.properties (#9260)

* Update French.properties (#9258)

* Update Indonesian.properties (#9257)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Knirps1 <52383078+Knirps1@users.noreply.github.com>
Co-authored-by: Birk Birkner <birkner@bbirkner.de>
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: Newexae <96820363+Newexae@users.noreply.github.com>
Co-authored-by: kensvin <kensvin28@gmail.com>
2023-04-24 17:37:40 +03:00
Yair Morgenstern
c9067df642 Remove 'reset to Dropbox' button since it's deprecated 2023-04-24 17:33:28 +03:00
Yair Morgenstern
0b3614d1df Remove experimental rendering (experiment unsuccessful) 2023-04-24 17:31:42 +03:00
WhoIsJohannes
033957c738
Performance improvements (#9265)
* UnitMovement#getDistanceToTilesWithinTurn hotspots

* Make fog busting less expensive

* Speed up tryHeadTowardsEncampment

* Reorder conditions in isGoodTileToExplore

* Reorder conditions in isGoodTileToExplore

* Revert "Speed up tryHeadTowardsEncampment"

This reverts commit d3841a233b.

* Don't lookup twice.
2023-04-24 17:16:43 +03:00
Yair Morgenstern
95ee35d301 Testing: Damage animations on damaged units 2023-04-24 17:07:55 +03:00
WhoIsJohannes
2f7fa6ba5c
Civs should not go all-out war if they're weaker than barbs (#9267) 2023-04-24 14:58:01 +03:00
SomeTroglodyte
a6f8f57860
Avoid first contact alerts for dead City-States (#9269)
* Avoid first contact alerts for dead City-States

* Clearer simpler (hopefully) updateOurTiles
2023-04-24 14:56:10 +03:00
Yair Morgenstern
e6b3640181 chore: Battle animation readability 2023-04-24 09:35:53 +03:00
WhoIsJohannes
19920ffbae
Don't leak other civs in the game through LineChart colors. (#9263) 2023-04-23 23:26:41 +03:00
Yair Morgenstern
ed3e6f2587 Slightly faster animation 2023-04-23 22:58:25 +03:00
Yair Morgenstern
782863f709 Units sprites move towards the enemy they're attacking 2023-04-23 22:29:02 +03:00
Yair Morgenstern
ce76dee0fa 4.6.5 2023-04-23 10:11:22 +03:00
Yair Morgenstern
717e4befac
Version rollout (#9256)
* Bump version and create initial changelog entry

* Update Indonesian.properties (#9255)

Now, Indonesian translation is complete

* Fixing some typos in the German translation (#9236)

* Fixing some typos in the German translation

* Fixed another typo

* Fixed a huge amount of typos

Ran over it with a hunspell. Found a few other mistakes in the process.

* Fixed mistranslations in quotes

Fixed one translation that seemed to be made with a software translator.
Replaced a translation of a translation with the original quote.

---------

Co-authored-by: Birk Birkner <birkner@bbirkner.de>

* Fix typo in Polish.properties (#9233)

* Update Turkish.properties (#9227)

* Update Turkish.properties

* Add files via upload

* Update Spanish.properties (#9206)

* Update Spanish.properties

* Update Spanish.properties

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: t <73392607+tsaqibfs@users.noreply.github.com>
Co-authored-by: Knirps1 <52383078+Knirps1@users.noreply.github.com>
Co-authored-by: Birk Birkner <birkner@bbirkner.de>
Co-authored-by: bread <77245194+breadtard@users.noreply.github.com>
Co-authored-by: Enesb852 <130827350+Enesb852@users.noreply.github.com>
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com>
2023-04-23 10:05:35 +03:00
Yair Morgenstern
2d21872dde Resolved #9207 - Dockerfile update for new location 2023-04-23 09:51:38 +03:00
Yair Morgenstern
226bd85c84 Resolved #9249 - Solved AI Great Scientist crash 2023-04-23 09:40:33 +03:00
Yair Morgenstern
2b4dbe2ad2 Resolved #9247 #9246 #9248 #9252 #9237 - Great Merchant doesn't try to go to unreachable tiles 2023-04-23 09:31:35 +03:00
letstalkaboutdune
45ac4c2d59
AbsoluteUnits - Sipahi, Hakkapeliitta (#9251) 2023-04-22 21:22:28 +03:00
SomeTroglodyte
cafcbbad4b
Make AI diplomatic marriage safe from concurrent modification issues (#9244) 2023-04-21 17:16:52 +03:00
letstalkaboutdune
a3de63efbe
AbsoluteUnits - Janissary, Tercio, Musketeer, Minuteman (#9228) 2023-04-20 00:21:13 +03:00
SomeTroglodyte
e265e9a71f
Fix Main Menu BG map cycle not stopping on user action (#9229) 2023-04-20 00:21:02 +03:00
Yair Morgenstern
e9296842b6 4.6.4-patch2
Use the same framebuffer / spritebatch for all icon renders
2023-04-19 22:31:29 +03:00
caffidev
4dc6d50cde
fix: fix a typo in Civilization-related-JSON-files.md (#9225) 2023-04-19 19:35:41 +03:00
SomeTroglodyte
8f7db469b9
Little documentation cleanup (#9226) 2023-04-19 19:33:34 +03:00
Yair Morgenstern
a79fe06df3 4.6.4-patch1
Dispose used objects immediately to avoid OutOfMemory
2023-04-19 15:39:22 +03:00
Yair Morgenstern
32191bd57d 4.6.4 2023-04-19 11:52:57 +03:00
Yair Morgenstern
2184c494fc
Version rollout (#9224)
* Bump version and create initial changelog entry

* Updated Brazilian_Portuguese.properties (#9223)

* Updated Brazilian_Portuguese.properties

* Updated Brazilian_Portuguese.properties

* Update Russian localization (#9222)

* Update Russian localization

Just in case, for the "X attacked our unit Y", I have chosen to make it a bit less precise (not directly stating that "Y" is player's unit) because due to language's specifics it's practically impossible with this translation scheme to not make grammar error.

* fix

should have used copy-paste

* Update Polish.properties (#9215)

* Update Italian.properties (#9209)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: Alex <64156241+Alex-1000@users.noreply.github.com>
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
2023-04-19 11:42:09 +03:00
Yair Morgenstern
a10cf3bff2 Use label for chart dropdown - #6131 2023-04-19 11:41:08 +03:00
SomeTroglodyte
52f26ed9d3
Reassign workers when resistance ends or improvement created (#9212) 2023-04-19 11:34:31 +03:00
Yair Morgenstern
85c0f71f2a Removed more double icons 2023-04-19 11:32:00 +03:00
Yair Morgenstern
4d63f0542f Avoid font-related crash 2023-04-19 11:26:11 +03:00
Yair Morgenstern
2f25ed3053 Replaced hardcoded embarked sight with configurable
"Normal vision when embarked" replaced by "[+1] Sight <for [Embarked] units>"
2023-04-19 11:12:21 +03:00
Yair Morgenstern
26a155351e UnitFilter accepts NationFilter of the civ (e.g. "vs [England] units")
chore: Constants for "Embarked" and "Wounded"
2023-04-19 10:51:01 +03:00
SomeTroglodyte
2b1f2513fc
Fix "religions to be founded" expanders accumulating (#9214)
* Fix my own dumb blunder re "Religions to be founded" expander

* Faith required for next Prophet should be visible
2023-04-19 08:19:22 +03:00
Yair Morgenstern
4da4d35a28 Resolved #9194 - Clear frameBuffer before we use it to draw images 2023-04-18 23:09:33 +03:00
Yair Morgenstern
35fbb5f9f3 Resolved #9221 - removed icons from selectboxes 2023-04-18 23:00:16 +03:00
WhoIsJohannes
9ba5497ce4
Show replay after 5 rounds and don't reveal where player is on the map. (#9216) 2023-04-18 01:11:31 +03:00
SomeTroglodyte
92ad0495f2
I'm pretty sure annexed cities in resistance shouldn't be allowed to buy tiles (#9213) 2023-04-17 21:42:37 +03:00
Yair Morgenstern
dbc9b0d0bd 4.6.3-patch1 2023-04-17 21:04:20 +03:00