Unciv/android
letstalkaboutdune 035b6528a7
New Demographics Scoreboard (#6645)
* Healing parity

Adjusted healing values for parity with CV

* New Demographics system for victory screen rankings

Added a new game setup checkbox option to use a ranking system on the victory screen which is more in line with the Civ V Demographics window. Created the UI element and game parameter but the demographics screen still needs to be implemented.

Also removed unnecessary comments from adjustments to healing values in a previous update.

* Demographics table init

Beginning to build structure of Demographics rankings table.

* Update VictoryScreen.kt

Attempt at getting more of the Demographics table implemented

* Update VictoryScreen.kt

Continued building the structure of the Demographics table

* Demographics first implementation

Finished first pass of Demographics screen.

* Minor text formatting

Improved some text formatting in code and comments.

* Update MapUnit.kt

Minor comment cleanup.

* SomeTroglodyte's Feedback, pt. 1

Implemented feedback given by SomeTroglodyte in PR #6645.

* Organized into functions

Split up Rankings table creation and Demographics table creation into new functions

* Update template.properties

Fixed missing space.

* Implementing more PR #6645 feedback

Added needed translation templates, used enum class instead of array for headers, moved checkbox to Options -> Display instead of new game

* Implemented rest of PR #6645 feedback

Simplified logic for finding player's rank, value, best/worst civ value, and filtered out defeated civs from the display and calculations

* Dead Civs get 0 in all categories

Added simple check if a civ is dead when computing score. If they are dead then they get 0 and go to the bottom of the scoreboard.

* Update VictoryScreen.kt

Further cleaned up code for better reuse and simpler logic with fewer loops.

* Update CivilizationInfo.kt

Simplified implementation of return 0 for stats when civ is defeated.

* Update CivilizationInfo.kt

Removed commented-out line of code.

* Fixed duplicate rank bug

Adjusted method of determining best and worst civs so that duplicates don't occur.

* Update VictoryScreen.kt

One-lined the handling of logic in buildDemographicsTable()

* Update VictoryScreen.kt

Moved static header row to new function.
2022-05-05 14:42:35 +02:00
..
assets New Demographics Scoreboard (#6645) 2022-05-05 14:42:35 +02:00
Images Empire overview resources (#6442) 2022-03-28 17:31:19 +03:00
Images.Construction WLTK decorations (#6253) 2022-03-05 20:10:03 +02:00
Images.Flags/FlagIcons Add Filipino.png since the Translation file is already there (#6343) 2022-03-12 22:36:23 +02:00
Images.Skin
Images.Tech/TechIcons Added an icon for the telegraph tech (#5765) 2021-12-06 11:53:29 +02:00
ImagesToNotAddToGame Show arrows on map for unit actions: Asset files. (#5825) 2021-12-25 22:29:19 +02:00
res Unciv Adaptive Android Icon (#6672) 2022-05-03 07:55:55 +03:00
src/com/unciv/app Unciv Adaptive Android Icon (#6672) 2022-05-03 07:55:55 +03:00
AndroidManifest.xml Unciv Adaptive Android Icon (#6672) 2022-05-03 07:55:55 +03:00
build.gradle.kts Gradle build tools upgrade (#6085) 2022-01-31 15:05:42 +02:00
ic_launcher-web.png
proguard-rules.pro
project.properties
uncivicon-playstore.png Unciv Adaptive Android Icon (#6672) 2022-05-03 07:55:55 +03:00