Better civilopedia icons for buildings and units
This commit is contained in:
parent
1020dd217e
commit
bc6ce6e54d
1 changed files with 2 additions and 2 deletions
|
@ -50,7 +50,7 @@ class CivilopediaScreen(ruleset: Ruleset) : CameraStageBaseScreen() {
|
|||
|
||||
categoryToEntries["Buildings"] = ruleset.buildings.values
|
||||
.map { CivilopediaEntry(it.name,it.getDescription(false, null,ruleset),
|
||||
ImageGetter.getConstructionImage(it.name)) }
|
||||
ImageGetter.getConstructionImage(it.name).surroundWithCircle(50f)) }
|
||||
categoryToEntries["Resources"] = ruleset.tileResources.values
|
||||
.map { CivilopediaEntry(it.name,it.getDescription(ruleset),
|
||||
ImageGetter.getResourceImage(it.name,50f)) }
|
||||
|
@ -62,7 +62,7 @@ class CivilopediaScreen(ruleset: Ruleset) : CameraStageBaseScreen() {
|
|||
ImageGetter.getImprovementIcon(it.name,50f)) }
|
||||
categoryToEntries["Units"] = ruleset.units.values
|
||||
.map { CivilopediaEntry(it.name,it.getDescription(false),
|
||||
ImageGetter.getConstructionImage(it.name)) }
|
||||
ImageGetter.getConstructionImage(it.name).surroundWithCircle(50f)) }
|
||||
categoryToEntries["Nations"] = ruleset.nations.values
|
||||
.filter { it.isMajorCiv() }
|
||||
.map { CivilopediaEntry(it.name,it.getUniqueString(ruleset,false),
|
||||
|
|
Loading…
Reference in a new issue