Changed icons to the new and non-suable version!
This commit is contained in:
parent
e078590933
commit
4932c627aa
7 changed files with 2 additions and 7 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
<application
|
||||
android:allowBackup="true"
|
||||
android:icon="@drawable/uncivicon"
|
||||
android:icon="@drawable/uncivicon2"
|
||||
android:label="@string/app_name"
|
||||
android:theme="@style/GdxTheme" >
|
||||
<activity
|
||||
|
|
BIN
android/res/drawable-hdpi/uncivicon2.png
Normal file
BIN
android/res/drawable-hdpi/uncivicon2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
BIN
android/res/drawable-mdpi/uncivicon2.png
Normal file
BIN
android/res/drawable-mdpi/uncivicon2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.7 KiB |
BIN
android/res/drawable-xhdpi/uncivicon2.png
Normal file
BIN
android/res/drawable-xhdpi/uncivicon2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.9 KiB |
BIN
android/res/drawable-xxhdpi/uncivicon2.png
Normal file
BIN
android/res/drawable-xxhdpi/uncivicon2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.6 KiB |
BIN
android/res/drawable-xxxhdpi/uncivicon2.png
Normal file
BIN
android/res/drawable-xxxhdpi/uncivicon2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 366 KiB |
|
@ -49,7 +49,6 @@ class CityExpansionManager {
|
|||
for(tile in cityInfo.tiles.map { cityInfo.tileMap[it] })
|
||||
relinquishOwnership(tile)
|
||||
|
||||
// cityInfo.tiles.clear() // this should be deleted after we change systems
|
||||
cityInfo.getCenterTile().getTilesInDistance(1).forEach { takeOwnership(it) }
|
||||
}
|
||||
|
||||
|
@ -69,13 +68,9 @@ class CityExpansionManager {
|
|||
tileInfo.owningCity=null
|
||||
}
|
||||
|
||||
fun takeOwnership(tileInfo: TileInfo){
|
||||
private fun takeOwnership(tileInfo: TileInfo){
|
||||
if(tileInfo.getCity()!=null) tileInfo.getCity()!!.expansion.relinquishOwnership(tileInfo)
|
||||
|
||||
// this shuold be deleted ater we move to the new caching system
|
||||
// for(city in cityInfo.civInfo.gameInfo.civilizations.flatMap { it.cities }) // Remove this tile from any other cities - should stop SO many problems!
|
||||
// cityInfo.tiles.remove(tileInfo.position)
|
||||
|
||||
cityInfo.tiles.add(tileInfo.position)
|
||||
tileInfo.owningCity = cityInfo
|
||||
cityInfo.population.autoAssignPopulation()
|
||||
|
|
Loading…
Reference in a new issue