48bd416347
Multi-server preparations: Save server info in game, save server functionality in specific class ( #9379 )
...
* Save server info in game
* Moved server functionality into server class
* Fix Android multiplayer update
2023-05-13 21:51:44 +03:00
97769b89b6
Combat java.util.star-import ( #9382 )
2023-05-13 21:50:55 +03:00
d2eaae0922
4.6.11-patch1 ( #9375 )
...
* Convert 'camps' vectorhashmap to 'encampments' arraylist
* Solve camps For Real This Time
Previous solution was only taking the first item of the class, not all of it
* 4.6.11-patch1
4.6.11-patch1
2023-05-11 16:54:37 +03:00
dde3732383
Convert 'camps' vectorhashmap to 'encampments' arraylist ( #9374 )
2023-05-11 16:51:29 +03:00
9a0ba7dcd8
4.6.11
4.6.11
2023-05-11 13:53:12 +03:00
3f2dd3614f
Version rollout ( #9372 )
...
* Bump version and create initial changelog entry
* Update Indonesian.properties (#9371 )
* Update Brazilian_Portuguese.properties (#9352 )
* Update Russian.properties (#9351 )
There was a letter missing in the word
---------
Co-authored-by: yairm210 <yairm210@users.noreply.github.com >
Co-authored-by: t <73392607+tsaqibfs@users.noreply.github.com >
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com >
Co-authored-by: iliademid21 <132929464+iliademid21@users.noreply.github.com >
2023-05-11 13:50:21 +03:00
2ef5ed14e1
Fix 4.6.10 no longer loading older games ( #9370 )
...
* Fix 4.6.10 no longer loading older games
* Save games with correct current version info
2023-05-11 13:01:00 +03:00
3e4ba83bcc
Added a fix for #7380 to complete a game turn and set upToDate for last human player ( #9366 )
2023-05-10 22:18:26 +03:00
d4af4e1053
Policy images in red text, policy branch icons in pedia ( #9365 )
2023-05-10 14:36:50 +03:00
0d05a658df
ci: added Detekt code analysis ( #9322 )
...
* ci: added Detetk code analysis
* ci: made some configs, removed report generation and renamed yml file
2023-05-10 11:46:16 +03:00
f3e80a4021
Fixed a couple warnings reported by code analysis ( #9364 )
...
* fix: resolve EmptyCatchBlock warnings
* fix: resolve PrintStackTrace warnings
* fix: resolve SwallowedException warnings
* fix: resolve ThrowingExceptionsWithoutMessageOrCause warnings
* fix: resolve ConstructorParameterNaming warnings
* fix: resolve FunctionParameterNaming warnings
* fix: resolve InvalidPackageDeclaration warnings
* fix: resolve ForEachOnRange warnings
* fix: resolve ImplicitDefaultLocale warnings
* fix: resolve MayBeConst warnings
* fix: resolve NewLineAtEndOfFile warnings
* fix: resolve UnusedParameter warnings
* fix: resolve UtilityClassWithPublicConstructor warnings
* fix: resolve WildcardImport warnings
2023-05-10 11:43:53 +03:00
1df7ee46ac
Prevent some state changing actions during next-turn ( #9327 )
...
* Prevent some state changing actions during next-turn
* Direct canChangeState
2023-05-10 11:39:48 +03:00
a858e45ec4
Update README.md - per-OS installation instructions
2023-05-10 10:54:15 +03:00
341c290ce4
Resolved #9357 - update UI after founding city when breaking promise
2023-05-10 10:34:44 +03:00
be20c917cc
4.6.10-patch2
...
Resolved #9363 #9356 - solved font crash exception
4.6.10-patch2
2023-05-10 10:28:44 +03:00
a3ef6fa314
Add May not annex cities
unique ( #9314 )
...
* Add `May not annex cities` unique, following same behaviour as Civ5 Venice. Hopefully this time I won't need to re-install windows.
* Add `May not annex cities` unique, following same behaviour as Civ5 Venice. Hopefully this time I won't need to re-install windows.
* Fix raze button being unavailable in city screen
* Fixed raze button being available in city screen, as per civ5
* Corrected indentation
* mayAnnex instead of canAnnex, hasUnique rather than getMatchingUniques
* AI will follow rules
* Replaced getMatchingUniques with hasUnique, for real this time
2023-05-09 23:02:19 +03:00
203477eca1
4.6.10-patch1
4.6.10-patch1
2023-05-08 21:01:23 +03:00
d00b06bad4
4.6.10
4.6.10
2023-05-08 18:57:30 +03:00
ed2c294c6f
Version rollout ( #9350 )
...
* Bump version and create initial changelog entry
* Update Italian.properties (#9347 )
* Update Italian.properties
* Update Italian.properties
* Update German translation (#9345 )
* Update German translation
* Update German translation
* Update Spanish.properties (#9344 )
* update Simplified_Chinese (#9339 )
* Update French.properties (#9336 )
* Update French.properties
* Update French.properties
Better translation for the Kremlin quote.
* Update Polish.properties (#9335 )
---------
Co-authored-by: yairm210 <yairm210@users.noreply.github.com >
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com >
Co-authored-by: mape6 <mape6@posteo.de >
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com >
Co-authored-by: chr_56 <30681738+chr56@users.noreply.github.com >
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com >
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com >
2023-05-08 18:45:27 +03:00
02e6785969
Resolved #9332 - Solved rare concurrency bug for explored tiles
2023-05-08 18:37:44 +03:00
f8b4b202e7
Automated workers no longer stay on unimprovable tile if another tile is improvable
2023-05-08 18:29:34 +03:00
e0505d1eb7
Songhai Civilian units no longer gain Amphibious promotion
2023-05-08 18:06:01 +03:00
ea64f941a6
Resolved #9340 - fixed 'enhance religion' crash
2023-05-08 18:02:11 +03:00
ade3af7729
4.6.9-patch2
4.6.9-patch2
2023-05-07 09:57:19 +03:00
7b5ed07805
Resolved #9333 - Improperly configured mod conditionals do not cause crash
2023-05-07 09:52:59 +03:00
32041d5b49
4.6.9-patch1
2023-05-07 09:43:25 +03:00
bd3081f276
Changes to landing page FIXED ( #9337 )
...
* Updated Building-Locally.md
While the underlying steps haven't changed, some of the options now have slightly different names in Android studio.
* Update index.md
* Revert "Updated Building-Locally.md"
This reverts commit e3772dad78
.
* Revert "Revert "Updated Building-Locally.md""
This reverts commit e1f5960a2e
.
* Update Building-Locally.md
2023-05-07 08:09:14 +03:00
5f92b88a08
4.6.9
4.6.9
2023-05-06 21:35:48 +03:00
cf4419912d
4.6.9
2023-05-06 21:25:13 +03:00
c895771b3a
Bump version and create initial changelog entry ( #9334 )
...
Co-authored-by: yairm210 <yairm210@users.noreply.github.com >
2023-05-06 21:21:50 +03:00
52e8623f08
AbsoluteUnits - Hussar, Cossack, Panzer ( #9331 )
2023-05-06 21:13:33 +03:00
299aa06d94
Close the friend selection popup in NewGameScreen by click outside or ESC/BACK key ( #9329 )
2023-05-06 21:13:19 +03:00
100f4ede64
Fix memory leak from repeatedly resetting the font ( #9326 )
...
* Fix memory leak from repeatedly resetting the font
* Reduce ruleset recompilation by MainMenuScreen background changes
2023-05-05 15:20:30 +03:00
940fa9a551
Slimming a locally built jar ( #9321 )
2023-05-04 14:21:00 +03:00
4b9c7171d3
Resolved #9242 - Hide buildings requiring multiple cities in one city challenge
2023-05-04 11:22:03 +03:00
fab32e8c8a
Resolved #9304 - Added Policy icons and solved 'icons from Image' reflection :)
2023-05-04 11:07:54 +03:00
ec65b7e189
Resolved #9211 - Show Strategic resources you have by trade even if you have not researched tech for it yet
2023-05-04 10:49:40 +03:00
a370117301
Resolved #9036 - New Kremlin quote
2023-05-04 10:47:00 +03:00
13a530ba11
Resolved #9294 - solved "get vanilla ruleset" errors after downloading mods
2023-05-04 10:39:42 +03:00
f6f0c7a050
Resolve #9262 - scale down unit overlays on zoom in to allow selecting bombard target above city
2023-05-04 10:28:30 +03:00
a40e8c31b9
Limit saved window size to available desktop ( #9052 )
...
* Limit saved window size to available desktop
* Defense against corrupted settings file
* LimitDesktopWindowSize - revert unnecessary stuff
* LimitDesktopWindowSize - fix
2023-05-04 09:38:56 +03:00
b0876935f5
Show a preview of custom maps on new game screen ( #9234 )
...
* Show a preview of custom maps on new game screen
* Show a preview of custom maps on new game screen - step 2
* Show a preview of custom maps on new game screen V2
2023-05-04 09:31:43 +03:00
43b044740c
Allow closing a Popup by clicking outside its area ( #9306 )
...
* Allow closing a Popup by clicking outside its area
* Allow closing a Popup by clicking outside its area - upd1
2023-05-04 09:25:14 +03:00
817764ec38
Probably resolved #9320 - AI 'found religion' crash
2023-05-04 09:20:00 +03:00
044b67d709
4.6.8
4.6.8
2023-05-03 00:11:43 +03:00
0252416e23
Version rollout ( #9313 )
...
* Bump version and create initial changelog entry
* Update Ukrainian.properties (#9311 )
* Update Polish.properties (#9309 )
* Update Indonesian.properties (#9307 )
Improve some translations
* Update French.properties (#9303 )
* Update Catalan.properties (#9299 )
* Update German.properties (#9297 )
Fixed mistakes from the last pull request and made a few corrections.
Co-authored-by: Birk Birkner <birkner@bbirkner.de >
---------
Co-authored-by: yairm210 <yairm210@users.noreply.github.com >
Co-authored-by: Gualdimar <Gualdimar@users.noreply.github.com >
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com >
Co-authored-by: kensvin <kensvin28@gmail.com >
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com >
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.com >
Co-authored-by: Knirps1 <52383078+Knirps1@users.noreply.github.com >
Co-authored-by: Birk Birkner <birkner@bbirkner.de >
2023-05-03 00:06:53 +03:00
159ae86960
Reduce a few memory allocations ( #9312 )
2023-05-02 23:26:39 +03:00
fd67a3520e
AbsoluteUnits - Norwegian Ski Infantry, Mehal Sefari, Carolean, Foreign Legion ( #9305 )
2023-05-02 00:25:07 +03:00
0fb32d8f3f
Bump gradle/gradle-build-action in /.github/workflows ( #9302 )
...
Bumps [gradle/gradle-build-action](https://github.com/gradle/gradle-build-action ) from 2.3.3 to 2.4.2.
- [Release notes](https://github.com/gradle/gradle-build-action/releases )
- [Commits](https://github.com/gradle/gradle-build-action/compare/v2.3.3...v2.4.2 )
---
updated-dependencies:
- dependency-name: gradle/gradle-build-action
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-01 19:01:29 +03:00
fadeaafc75
Various performance improvements ( #9296 )
...
* Move caches for passThrough and movementCost into the parent method.
* Reuse path calculated for reaching enemy city if still far away instead of recalculating it for the "landing tile".
* Cache getDistanceToTilesWithinTurn by removing tilesToIgnore from the call and doing that filtering later. Also simplify caller side with some transformations around differences for the first iteration and subsequent iterations.
* Check whether a player is spectator by comparing their civName directly with the Constant rather than going through the lazily initialized property of the nation. This is significantly faster (10x ?) and we're calling this method a lot (tens of millions of times).
Also check whether a tile is explored directly on the tile, not the other way round.
* Revert "Cache getDistanceToTilesWithinTurn by removing tilesToIgnore from the call and doing that filtering later. Also simplify caller side with some transformations around differences for the first iteration and subsequent iterations."
This reverts commit f75ce00d83
.
* Simplify UnitMovement.getShortestPath
2023-05-01 07:35:41 +03:00