Added 4-way tile images (base,feature,improvement,resource) by The Bucketeer

Fixed some issues with existing tile images
This commit is contained in:
Yair Morgenstern
2020-01-21 21:02:11 +02:00
parent fb51f89f6d
commit 7ea6fc2551
13 changed files with 211 additions and 162 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1003 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 815 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 336 KiB

After

Width:  |  Height:  |  Size: 339 KiB

View File

@ -160,6 +160,13 @@ open class TileGroup(var tileInfo: TileInfo, var tileSetStrings:TileSetStrings)
if (tileInfo.terrainFeature != null) {
// e.g. Grassland+Forest
val baseTerrainAndFeatureTileLocation = "$baseTerrainTileLocation+${tileInfo.terrainFeature}"
if(shouldShowImprovement && shouldShowResource){
// e.g. Grassland+Forest+Deer+Camp
val baseFeatureImprovementAndResourceLocation =
"$baseTerrainAndFeatureTileLocation+${tileInfo.improvement}+${tileInfo.resource}"
if (ImageGetter.imageExists(baseFeatureImprovementAndResourceLocation))
return listOf(baseFeatureImprovementAndResourceLocation)
}
if(shouldShowImprovement){
// e.g. Grassland+Forest+Lumber mill
val baseFeatureAndImprovementTileLocation = "$baseTerrainAndFeatureTileLocation+${tileInfo.improvement}"