Removed legacy tileset code (#7658)

* Removed legacy tileset code

which was only used for the "Default" tileset

* Updated "Default" tileset to support new rendering

* Updated docs

* Fixed fogOfWar coloring bug

* Removed cityImage variable completely

* Renamed variable out to baseHexagon

* Moved color lerp out of for loop

* Renamed "Default" tileset to "Minimal"

* Made "HexaRealm" the games fallback tileset

* Implemented requested changes

* Readded accidentally removed variable

* Reverted updateTileImage back to foreach loop

Since indices are not needed anymore

* Regenerated game.atlas and game.png
This commit is contained in:
Leonard Günther
2022-08-22 13:02:52 +02:00
committed by GitHub
parent 86834de82a
commit 18ef8fc20e
67 changed files with 315 additions and 342 deletions

View File

@ -79,6 +79,8 @@ object Constants {
const val dropboxMultiplayerServer = "Dropbox"
const val defaultTileset = "HexaRealm"
/**
* Use this to determine whether a [MapUnit][com.unciv.logic.map.MapUnit]'s movement is exhausted
* (currentMovement <= this) if and only if a fuzzy comparison is needed to account for Float rounding errors.