load game ui to show human-readable timestamp

This commit is contained in:
minjaesong
2021-09-11 19:14:23 +09:00
parent b4813a1ebe
commit c9753a118d
4 changed files with 29 additions and 10 deletions

View File

@@ -66,7 +66,7 @@ object LightmapRenderer {
const val overscan_open: Int = 40
const val overscan_opaque: Int = 10
const val LIGHTMAP_OVERRENDER = 8
const val LIGHTMAP_OVERRENDER = 40
private var LIGHTMAP_WIDTH: Int = (Terrarum.ingame?.ZOOM_MINIMUM ?: 1f).inv().times(App.scr.width).div(TILE_SIZE).ceilInt() + overscan_open * 2 + 3
private var LIGHTMAP_HEIGHT: Int = (Terrarum.ingame?.ZOOM_MINIMUM ?: 1f).inv().times(App.scr.height).div(TILE_SIZE).ceilInt() + overscan_open * 2 + 3