mirror of
https://github.com/yairm210/Unciv.git
synced 2025-02-22 04:29:17 +07:00
4.6.3-patch1
This commit is contained in:
parent
958318e53b
commit
dbc9b0d0bd
@ -3,8 +3,8 @@ package com.unciv.build
|
||||
object BuildConfig {
|
||||
const val kotlinVersion = "1.8.0"
|
||||
const val appName = "Unciv"
|
||||
const val appCodeNumber = 850
|
||||
const val appVersion = "4.6.3"
|
||||
const val appCodeNumber = 851
|
||||
const val appVersion = "4.6.3-patch1"
|
||||
|
||||
const val gdxVersion = "1.11.0"
|
||||
const val roboVMVersion = "2.3.1"
|
||||
|
@ -531,7 +531,7 @@ open class UncivGame(val isConsoleMode: Boolean = false) : Game(), PlatformSpeci
|
||||
|
||||
companion object {
|
||||
//region AUTOMATICALLY GENERATED VERSION DATA - DO NOT CHANGE THIS REGION, INCLUDING THIS COMMENT
|
||||
val VERSION = Version("4.6.3", 850)
|
||||
val VERSION = Version("4.6.3-patch1", 851)
|
||||
//endregion
|
||||
|
||||
lateinit var Current: UncivGame
|
||||
|
@ -643,16 +643,16 @@ class WorldMapHolder(
|
||||
if (tile.aerialDistanceTo(unit.getTile()) <= unit.getRange()) {
|
||||
// The tile is within attack range
|
||||
group.layerMisc.overlayTerrain(Color.RED)
|
||||
} else if (tile.isExplored(worldScreen.viewingCiv)) {
|
||||
} else if (tile.isExplored(worldScreen.viewingCiv) && tile.aerialDistanceTo(unit.getTile()) <= unit.getRange()*2) {
|
||||
// The tile is within move range
|
||||
group.layerMisc.overlayTerrain(Color.BLUE)
|
||||
group.layerMisc.overlayTerrain(if (unit.movement.canMoveTo(tile)) Color.WHITE else Color.BLUE)
|
||||
}
|
||||
}
|
||||
|
||||
// Highlight tile unit can move to
|
||||
if (unit.movement.canMoveTo(tile) ||
|
||||
unit.movement.isUnknownTileWeShouldAssumeToBePassable(tile) && !unit.baseUnit.movesLikeAirUnits()) {
|
||||
val alpha = if (UncivGame.Current.settings.singleTapMove || isAirUnit) 0.7f else 0.3f
|
||||
val alpha = if (UncivGame.Current.settings.singleTapMove) 0.7f else 0.3f
|
||||
group.layerOverlay.showHighlight(moveTileOverlayColor, alpha)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user