diff --git a/android/Images/TileSets/FantasyHex/Units/Gatling Gun.png b/android/Images/TileSets/FantasyHex/Units/Gatling Gun.png new file mode 100644 index 0000000000..2ce97e5f5e Binary files /dev/null and b/android/Images/TileSets/FantasyHex/Units/Gatling Gun.png differ diff --git a/android/Images/TileSets/FantasyHex/Units/Knight.png b/android/Images/TileSets/FantasyHex/Units/Knight.png new file mode 100644 index 0000000000..71d21734ad Binary files /dev/null and b/android/Images/TileSets/FantasyHex/Units/Knight.png differ diff --git a/android/Images/TileSets/FantasyHex/Units/LandUnit.png b/android/Images/TileSets/FantasyHex/Units/LandUnit.png index 34516da16b..9b3ff23c34 100644 Binary files a/android/Images/TileSets/FantasyHex/Units/LandUnit.png and b/android/Images/TileSets/FantasyHex/Units/LandUnit.png differ diff --git a/android/Images/TileSets/FantasyHex/Units/Longbowman.png b/android/Images/TileSets/FantasyHex/Units/Longbowman.png new file mode 100644 index 0000000000..b58b798928 Binary files /dev/null and b/android/Images/TileSets/FantasyHex/Units/Longbowman.png differ diff --git a/android/Images/TileSets/FantasyHex/Units/Warrior.png b/android/Images/TileSets/FantasyHex/Units/Warrior.png new file mode 100644 index 0000000000..9b3ff23c34 Binary files /dev/null and b/android/Images/TileSets/FantasyHex/Units/Warrior.png differ diff --git a/android/assets/game.atlas b/android/assets/game.atlas index 2570161de3..62e37b09a2 100644 --- a/android/assets/game.atlas +++ b/android/assets/game.atlas @@ -1,6 +1,6 @@ game.png -size: 2376,1956 +size: 2384,1956 format: RGBA8888 filter: MipMapLinearLinear,MipMapLinearLinear repeat: none @@ -2435,35 +2435,35 @@ TileSets/FantasyHex/Tiles/Desert+Oasis index: -1 TileSets/FantasyHex/Tiles/Grassland rotate: false - xy: 572, 10 + xy: 606, 10 size: 32, 28 orig: 32, 28 offset: 0, 0 index: -1 TileSets/FantasyHex/Tiles/Grassland+Forest rotate: false - xy: 2324, 960 + xy: 2351, 1517 size: 31, 29 orig: 31, 29 offset: 0, 0 index: -1 TileSets/FantasyHex/Tiles/Grassland+Jungle rotate: false - xy: 606, 4 + xy: 640, 4 size: 32, 34 orig: 32, 34 offset: 0, 0 index: -1 TileSets/FantasyHex/Tiles/Grassland+Marsh rotate: false - xy: 640, 9 + xy: 674, 9 size: 32, 29 orig: 32, 29 offset: 0, 0 index: -1 TileSets/FantasyHex/Tiles/Hill rotate: false - xy: 708, 6 + xy: 742, 6 size: 32, 32 orig: 32, 32 offset: 0, 0 @@ -2477,49 +2477,49 @@ TileSets/FantasyHex/Tiles/Hill+Forest index: -1 TileSets/FantasyHex/Tiles/Lakes rotate: false - xy: 2321, 1777 + xy: 810, 10 size: 32, 28 orig: 32, 28 offset: 0, 0 index: -1 TileSets/FantasyHex/Tiles/Mountain rotate: false - xy: 810, 2 + xy: 878, 2 size: 32, 36 orig: 32, 36 offset: 0, 0 index: -1 TileSets/FantasyHex/Tiles/Ocean rotate: false - xy: 2321, 1717 + xy: 2321, 1687 size: 32, 28 orig: 32, 28 offset: 0, 0 index: -1 TileSets/FantasyHex/Tiles/Plains rotate: false - xy: 844, 10 + xy: 912, 10 size: 32, 28 orig: 32, 28 offset: 0, 0 index: -1 TileSets/FantasyHex/Tiles/Plains+City rotate: false - xy: 2321, 1680 + xy: 2321, 1650 size: 32, 35 orig: 32, 35 offset: 0, 0 index: -1 TileSets/FantasyHex/Tiles/Plains+Forest rotate: false - xy: 2321, 1645 + xy: 2321, 1615 size: 32, 33 orig: 32, 33 offset: 0, 0 index: -1 TileSets/FantasyHex/Tiles/Plains+Jungle rotate: false - xy: 2321, 1608 + xy: 2321, 1578 size: 32, 35 orig: 32, 35 offset: 0, 0 @@ -2573,13 +2573,6 @@ TileSets/FantasyHex/Units/CivilianLandUnit orig: 32, 28 offset: 0, 0 index: -1 -TileSets/FantasyHex/Units/LandUnit - rotate: false - xy: 406, 1234 - size: 32, 28 - orig: 32, 28 - offset: 0, 0 - index: -1 TileSets/FantasyHex/Units/Pikeman rotate: false xy: 406, 1234 @@ -2587,65 +2580,100 @@ TileSets/FantasyHex/Units/Pikeman orig: 32, 28 offset: 0, 0 index: -1 -TileSets/FantasyHex/Units/Great War Infantry +TileSets/FantasyHex/Units/Gatling Gun rotate: false - xy: 674, 10 - size: 32, 28 - orig: 32, 28 - offset: 0, 0 - index: -1 -TileSets/FantasyHex/Units/Infantry - rotate: false - xy: 674, 10 - size: 32, 28 - orig: 32, 28 - offset: 0, 0 - index: -1 -TileSets/FantasyHex/Units/Horseman - rotate: false - xy: 742, 10 + xy: 572, 10 size: 32, 28 orig: 32, 28 offset: 0, 0 index: -1 TileSets/FantasyHex/Units/Machine Gun + rotate: false + xy: 572, 10 + size: 32, 28 + orig: 32, 28 + offset: 0, 0 + index: -1 +TileSets/FantasyHex/Units/Great War Infantry + rotate: false + xy: 708, 10 + size: 32, 28 + orig: 32, 28 + offset: 0, 0 + index: -1 +TileSets/FantasyHex/Units/Infantry + rotate: false + xy: 708, 10 + size: 32, 28 + orig: 32, 28 + offset: 0, 0 + index: -1 +TileSets/FantasyHex/Units/Horseman rotate: false xy: 776, 10 size: 32, 28 orig: 32, 28 offset: 0, 0 index: -1 -TileSets/FantasyHex/Units/Mechanized Infantry +TileSets/FantasyHex/Units/Knight + rotate: false + xy: 2321, 1777 + size: 32, 28 + orig: 32, 28 + offset: 0, 0 + index: -1 +TileSets/FantasyHex/Units/LandUnit rotate: false xy: 2321, 1747 size: 32, 28 orig: 32, 28 offset: 0, 0 index: -1 +TileSets/FantasyHex/Units/Warrior + rotate: false + xy: 2321, 1747 + size: 32, 28 + orig: 32, 28 + offset: 0, 0 + index: -1 +TileSets/FantasyHex/Units/Longbowman + rotate: false + xy: 844, 10 + size: 32, 28 + orig: 32, 28 + offset: 0, 0 + index: -1 +TileSets/FantasyHex/Units/Mechanized Infantry + rotate: false + xy: 2321, 1717 + size: 32, 28 + orig: 32, 28 + offset: 0, 0 + index: -1 TileSets/FantasyHex/Units/Scout rotate: false - xy: 878, 10 + xy: 2321, 1548 size: 32, 28 orig: 32, 28 offset: 0, 0 index: -1 TileSets/FantasyHex/Units/Settler rotate: false - xy: 2321, 1578 + xy: 2317, 1518 size: 32, 28 orig: 32, 28 offset: 0, 0 index: -1 TileSets/FantasyHex/Units/Spearman rotate: false - xy: 912, 10 + xy: 2317, 1488 size: 32, 28 orig: 32, 28 offset: 0, 0 index: -1 TileSets/FantasyHex/Units/Submarine rotate: false - xy: 2321, 1550 + xy: 2317, 1460 size: 32, 26 orig: 32, 26 offset: 0, 0 diff --git a/android/assets/game.png b/android/assets/game.png index 9b321104de..0ede31ad7d 100644 Binary files a/android/assets/game.png and b/android/assets/game.png differ diff --git a/core/src/com/unciv/ui/tilegroups/TileGroup.kt b/core/src/com/unciv/ui/tilegroups/TileGroup.kt index 9f0d69c418..98f96599a8 100644 --- a/core/src/com/unciv/ui/tilegroups/TileGroup.kt +++ b/core/src/com/unciv/ui/tilegroups/TileGroup.kt @@ -125,7 +125,7 @@ open class TileGroup(var tileInfo: TileInfo, var tileSetStrings:TileSetStrings) fun getTileBaseImageLocation(isRevealed: Boolean): String { if(!isRevealed) return tileSetStrings.hexagon if(tileInfo.isCityCenter()){ - val terrainAndCity = tileSetStrings.getCityTile(baseTerrain) + val terrainAndCity = tileSetStrings.getCityTile(tileInfo.baseTerrain) if(ImageGetter.imageExists(terrainAndCity)) return terrainAndCity if(ImageGetter.imageExists(tileSetStrings.cityTile))