More unit icons
BIN
android/Images/TileSets/FantasyHex/Units/Gatling Gun.png
Normal file
After Width: | Height: | Size: 395 B |
BIN
android/Images/TileSets/FantasyHex/Units/Knight.png
Normal file
After Width: | Height: | Size: 336 B |
Before Width: | Height: | Size: 368 B After Width: | Height: | Size: 387 B |
BIN
android/Images/TileSets/FantasyHex/Units/Longbowman.png
Normal file
After Width: | Height: | Size: 378 B |
BIN
android/Images/TileSets/FantasyHex/Units/Warrior.png
Normal file
After Width: | Height: | Size: 387 B |
@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
game.png
|
game.png
|
||||||
size: 2376,1956
|
size: 2384,1956
|
||||||
format: RGBA8888
|
format: RGBA8888
|
||||||
filter: MipMapLinearLinear,MipMapLinearLinear
|
filter: MipMapLinearLinear,MipMapLinearLinear
|
||||||
repeat: none
|
repeat: none
|
||||||
@ -2435,35 +2435,35 @@ TileSets/FantasyHex/Tiles/Desert+Oasis
|
|||||||
index: -1
|
index: -1
|
||||||
TileSets/FantasyHex/Tiles/Grassland
|
TileSets/FantasyHex/Tiles/Grassland
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 572, 10
|
xy: 606, 10
|
||||||
size: 32, 28
|
size: 32, 28
|
||||||
orig: 32, 28
|
orig: 32, 28
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
TileSets/FantasyHex/Tiles/Grassland+Forest
|
TileSets/FantasyHex/Tiles/Grassland+Forest
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 2324, 960
|
xy: 2351, 1517
|
||||||
size: 31, 29
|
size: 31, 29
|
||||||
orig: 31, 29
|
orig: 31, 29
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
TileSets/FantasyHex/Tiles/Grassland+Jungle
|
TileSets/FantasyHex/Tiles/Grassland+Jungle
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 606, 4
|
xy: 640, 4
|
||||||
size: 32, 34
|
size: 32, 34
|
||||||
orig: 32, 34
|
orig: 32, 34
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
TileSets/FantasyHex/Tiles/Grassland+Marsh
|
TileSets/FantasyHex/Tiles/Grassland+Marsh
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 640, 9
|
xy: 674, 9
|
||||||
size: 32, 29
|
size: 32, 29
|
||||||
orig: 32, 29
|
orig: 32, 29
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
TileSets/FantasyHex/Tiles/Hill
|
TileSets/FantasyHex/Tiles/Hill
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 708, 6
|
xy: 742, 6
|
||||||
size: 32, 32
|
size: 32, 32
|
||||||
orig: 32, 32
|
orig: 32, 32
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
@ -2477,49 +2477,49 @@ TileSets/FantasyHex/Tiles/Hill+Forest
|
|||||||
index: -1
|
index: -1
|
||||||
TileSets/FantasyHex/Tiles/Lakes
|
TileSets/FantasyHex/Tiles/Lakes
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 2321, 1777
|
xy: 810, 10
|
||||||
size: 32, 28
|
size: 32, 28
|
||||||
orig: 32, 28
|
orig: 32, 28
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
TileSets/FantasyHex/Tiles/Mountain
|
TileSets/FantasyHex/Tiles/Mountain
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 810, 2
|
xy: 878, 2
|
||||||
size: 32, 36
|
size: 32, 36
|
||||||
orig: 32, 36
|
orig: 32, 36
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
TileSets/FantasyHex/Tiles/Ocean
|
TileSets/FantasyHex/Tiles/Ocean
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 2321, 1717
|
xy: 2321, 1687
|
||||||
size: 32, 28
|
size: 32, 28
|
||||||
orig: 32, 28
|
orig: 32, 28
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
TileSets/FantasyHex/Tiles/Plains
|
TileSets/FantasyHex/Tiles/Plains
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 844, 10
|
xy: 912, 10
|
||||||
size: 32, 28
|
size: 32, 28
|
||||||
orig: 32, 28
|
orig: 32, 28
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
TileSets/FantasyHex/Tiles/Plains+City
|
TileSets/FantasyHex/Tiles/Plains+City
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 2321, 1680
|
xy: 2321, 1650
|
||||||
size: 32, 35
|
size: 32, 35
|
||||||
orig: 32, 35
|
orig: 32, 35
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
TileSets/FantasyHex/Tiles/Plains+Forest
|
TileSets/FantasyHex/Tiles/Plains+Forest
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 2321, 1645
|
xy: 2321, 1615
|
||||||
size: 32, 33
|
size: 32, 33
|
||||||
orig: 32, 33
|
orig: 32, 33
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
TileSets/FantasyHex/Tiles/Plains+Jungle
|
TileSets/FantasyHex/Tiles/Plains+Jungle
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 2321, 1608
|
xy: 2321, 1578
|
||||||
size: 32, 35
|
size: 32, 35
|
||||||
orig: 32, 35
|
orig: 32, 35
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
@ -2573,13 +2573,6 @@ TileSets/FantasyHex/Units/CivilianLandUnit
|
|||||||
orig: 32, 28
|
orig: 32, 28
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
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
|
TileSets/FantasyHex/Units/Pikeman
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 406, 1234
|
xy: 406, 1234
|
||||||
@ -2587,65 +2580,100 @@ TileSets/FantasyHex/Units/Pikeman
|
|||||||
orig: 32, 28
|
orig: 32, 28
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
TileSets/FantasyHex/Units/Great War Infantry
|
TileSets/FantasyHex/Units/Gatling Gun
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 674, 10
|
xy: 572, 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
|
|
||||||
size: 32, 28
|
size: 32, 28
|
||||||
orig: 32, 28
|
orig: 32, 28
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
TileSets/FantasyHex/Units/Machine Gun
|
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
|
rotate: false
|
||||||
xy: 776, 10
|
xy: 776, 10
|
||||||
size: 32, 28
|
size: 32, 28
|
||||||
orig: 32, 28
|
orig: 32, 28
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
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
|
rotate: false
|
||||||
xy: 2321, 1747
|
xy: 2321, 1747
|
||||||
size: 32, 28
|
size: 32, 28
|
||||||
orig: 32, 28
|
orig: 32, 28
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
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
|
TileSets/FantasyHex/Units/Scout
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 878, 10
|
xy: 2321, 1548
|
||||||
size: 32, 28
|
size: 32, 28
|
||||||
orig: 32, 28
|
orig: 32, 28
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
TileSets/FantasyHex/Units/Settler
|
TileSets/FantasyHex/Units/Settler
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 2321, 1578
|
xy: 2317, 1518
|
||||||
size: 32, 28
|
size: 32, 28
|
||||||
orig: 32, 28
|
orig: 32, 28
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
TileSets/FantasyHex/Units/Spearman
|
TileSets/FantasyHex/Units/Spearman
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 912, 10
|
xy: 2317, 1488
|
||||||
size: 32, 28
|
size: 32, 28
|
||||||
orig: 32, 28
|
orig: 32, 28
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
TileSets/FantasyHex/Units/Submarine
|
TileSets/FantasyHex/Units/Submarine
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 2321, 1550
|
xy: 2317, 1460
|
||||||
size: 32, 26
|
size: 32, 26
|
||||||
orig: 32, 26
|
orig: 32, 26
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
|
Before Width: | Height: | Size: 1.0 MiB After Width: | Height: | Size: 1.0 MiB |
@ -125,7 +125,7 @@ open class TileGroup(var tileInfo: TileInfo, var tileSetStrings:TileSetStrings)
|
|||||||
fun getTileBaseImageLocation(isRevealed: Boolean): String {
|
fun getTileBaseImageLocation(isRevealed: Boolean): String {
|
||||||
if(!isRevealed) return tileSetStrings.hexagon
|
if(!isRevealed) return tileSetStrings.hexagon
|
||||||
if(tileInfo.isCityCenter()){
|
if(tileInfo.isCityCenter()){
|
||||||
val terrainAndCity = tileSetStrings.getCityTile(baseTerrain)
|
val terrainAndCity = tileSetStrings.getCityTile(tileInfo.baseTerrain)
|
||||||
if(ImageGetter.imageExists(terrainAndCity))
|
if(ImageGetter.imageExists(terrainAndCity))
|
||||||
return terrainAndCity
|
return terrainAndCity
|
||||||
if(ImageGetter.imageExists(tileSetStrings.cityTile))
|
if(ImageGetter.imageExists(tileSetStrings.cityTile))
|
||||||
|