Unciv/android
WhoIsJohannes f4dca2281e
Add Replay feature in VictoryScreen (#8844)
* Add Replay feature in VictoryScreen.

* Add Replay feature in VictoryScreen.

* Support for i18n

* Extract year to text conversion into common util to be used from VictoryScreen.kt and WorldScreenTopBar.kt

* Remove ReplayMapTile and modify MinimapTile so that it can support both use cases.

* Reuse code for spreading out tiles onto tile layer between Minimap and ReplayMap by factoring it out into a new MinimapTileUtil

* Revert "Reuse code for spreading out tiles onto tile layer between Minimap and ReplayMap by factoring it out into a new MinimapTileUtil"

This reverts commit d4cddb4312.

* Add Replay feature in VictoryScreen.

* Add Replay feature in VictoryScreen.

* Support for i18n

* Extract year to text conversion into common util to be used from VictoryScreen.kt and WorldScreenTopBar.kt

* Remove ReplayMapTile and modify MinimapTile so that it can support both use cases.

* Revert some unintentional indentation changes

* Refactor some common logic of Minimap and ReplayMap into MinimapTileUtil

* Slightly increase ReplayMap size and simplify logic to calculate tile size since input is static.

* Indentation again... :|

* Unify isCityCenter & isCapital into an enum in TileHistory and shorten identifiers

* Use city.getTiles() instead of city.tiles in CityInfoConquestFunctions.kt

* Improve tileSize calculation in ReplayMap.kt

* Remove extra padding in VictoryScreen -> Replay to prevent WorldScreenTopBar from acting up on the next turn.

* Make return value of MinimapTileUtil.spreadOutMinimapTiles more useful to callers

* Cancel Replay timer when VictoryScreen is disposed or when Replay is opened again.

* Cancel replay map timer task whenever tab is switched in VictoryScreen

* Improve serialization for TileHistory by using a custom serializer. This removes the need for holding two copies of the same thing and to use String based keys.

* Add backwards compatibility for replay. The replay will start at the turn where it came into play.

* Remove debugging code :|

* Use gameInfo field rather than going throug the global UncivGame...
2023-03-12 19:59:48 +02:00
..
assets Add Replay feature in VictoryScreen (#8844) 2023-03-12 19:59:48 +02:00
Images Custom key bindings (#8802) 2023-03-11 20:12:00 +02:00
Images.AbsoluteUnits/TileSets/AbsoluteUnits/Units AbsoluteUnits - Great Prophet, Settler (Industrial Era) (#8856) 2023-03-10 10:09:34 +02:00
Images.Construction Enemy indicator, city culture hex outline + misc (#8629) 2023-02-09 18:46:02 +02:00
Images.EasterEggs/TileSets
Images.Flags/FlagIcons 4.5.3 2023-03-04 21:08:02 +02:00
Images.NationIcons/NationIcons
Images.PolicyIcons Resolved #8158 - Fallback images for all major objects 2023-01-24 23:52:34 +02:00
Images.ReligionIcons/ReligionIcons
Images.Skin
Images.Tech/TechIcons
Images.Tilesets/TileSets Add 'neutral' Flood plains (#8721) 2023-02-22 09:15:05 +02:00
Images.UnitPromotionIcons/UnitPromotionIcons
ImagesToNotAddToGame
res
src/com/unciv/app Android: selectable orientation (#8822) 2023-03-06 10:35:14 +02:00
AndroidManifest.xml Android: selectable orientation (#8822) 2023-03-06 10:35:14 +02:00
build.gradle.kts
ic_launcher-web.png
proguard-rules.pro
project.properties
uncivicon-playstore.png