mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-30 09:31:25 +07:00
4.6.3
This commit is contained in:
parent
699a6bf12a
commit
844b0a15d1
12
changelog.md
12
changelog.md
@ -1,12 +1,16 @@
|
|||||||
## 4.6.3
|
## 4.6.3
|
||||||
|
|
||||||
|
Hopefully solved RAM-related crashes
|
||||||
|
|
||||||
|
Removed more double icons from many places
|
||||||
|
|
||||||
Aircraft attack/move range colors entire tile
|
Aircraft attack/move range colors entire tile
|
||||||
|
|
||||||
By WhoIsJohannes:
|
By WhoIsJohannes:
|
||||||
- Show garrison in city screen, so that it's easier to decide whether one should produce a military unit.
|
- Show garrison in city screen
|
||||||
- Great people automation
|
- Great people automation
|
||||||
- Order defeated civs after alive civs even if the alive civs score is negative (e.g. for happiness)
|
- Order defeated civs after alive civs even if the alive civs score is negative (e.g. for happiness)
|
||||||
- Fix golden age length action text
|
- Fix golden age length action text
|
||||||
|
|
||||||
Notifications can be "selected" - By SomeTroglodyte
|
Notifications can be "selected" - By SomeTroglodyte
|
||||||
|
|
||||||
|
@ -295,8 +295,12 @@ object Fonts {
|
|||||||
Gdx.gl.glReadPixels(0, 0, w, h, GL20.GL_RGBA, GL20.GL_UNSIGNED_BYTE, pixmap.pixels)
|
Gdx.gl.glReadPixels(0, 0, w, h, GL20.GL_RGBA, GL20.GL_UNSIGNED_BYTE, pixmap.pixels)
|
||||||
frameBuffer.end()
|
frameBuffer.end()
|
||||||
|
|
||||||
spriteBatch.dispose()
|
// These need to be disposed so they don't clog up the RAM *but not right now*
|
||||||
frameBuffer.dispose()
|
Gdx.app.postRunnable {
|
||||||
|
spriteBatch.dispose()
|
||||||
|
frameBuffer.dispose()
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// Pixmap is now *upside down* so we need to flip it around the y axis
|
// Pixmap is now *upside down* so we need to flip it around the y axis
|
||||||
for (i in 0..w)
|
for (i in 0..w)
|
||||||
|
@ -123,7 +123,7 @@ class DetailedStatsPopup(
|
|||||||
if (onlyWithStat != null && finalStats[onlyWithStat!!] == 0f)
|
if (onlyWithStat != null && finalStats[onlyWithStat!!] == 0f)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
val label = source.toLabel().apply {
|
val label = source.toLabel(hideIcons = true).apply {
|
||||||
setAlignment(Align.left)
|
setAlignment(Align.left)
|
||||||
onClick {
|
onClick {
|
||||||
sourceHighlighted = if (sourceHighlighted == source) null else source
|
sourceHighlighted = if (sourceHighlighted == source) null else source
|
||||||
@ -224,7 +224,7 @@ class DetailedStatsPopup(
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
val label = text.toLabel().apply {
|
val label = text.toLabel(hideIcons = true).apply {
|
||||||
setAlignment(Align.left)
|
setAlignment(Align.left)
|
||||||
onClick {
|
onClick {
|
||||||
sourceHighlighted = if (sourceHighlighted == text) null else text
|
sourceHighlighted = if (sourceHighlighted == text) null else text
|
||||||
|
Loading…
Reference in New Issue
Block a user