diff --git a/assets/bundles/bundle.properties b/assets/bundles/bundle.properties index 5e10690..4d343ce 100644 --- a/assets/bundles/bundle.properties +++ b/assets/bundles/bundle.properties @@ -26,7 +26,9 @@ setting.coreItemCheckRate.description = set how often the core resources are che setting.wavemax.name = Wave Tap: Wave Amount to Display setting.wavemax.description = set waves limit for wave list tap. setting.infoui.name = Display Info UI -setting.infoui.description = enable left-side tap ui to display.\nwhen inactive, all associated updates will be stopped. +setting.infoui.description = enable left-side tap ui to display.\nwhen disabled, all associated updates will be stopped. +setting.waveui.name = Display Wave UI +setting.waveui.description = enable left-top-side wave ui to display.\nwhen disabled, all associated updates will be stopped. setting.pastwave.name = Wave Tap: Display Previous Wave setting.pastwave.description = display previous wave on wave list tap.\nCurrent wave is highlighted with red color. setting.emptywave.name = Wave Tap: Display Empty Wave @@ -84,7 +86,7 @@ setting.autoShooting.name = Enable Auto Shooting setting.autoShooting.description = no don't do hack setting.shar-title = UnitInfo Setting -setting.shar-wave = InfoTap Setting +setting.shar-ui = OverlayUI Setting setting.shar-range = AutoRange Setting setting.shar-opacity = Opacity Setting setting.shar-draw = Overdrawing Setting diff --git a/assets/bundles/bundle_ko.properties b/assets/bundles/bundle_ko.properties index 25dba1f..aa18a0e 100644 --- a/assets/bundles/bundle_ko.properties +++ b/assets/bundles/bundle_ko.properties @@ -26,6 +26,8 @@ setting.wavemax.name = 표시할 단계 수 setting.wavemax.description = 단계 탭에서 표시할 웨이브 수 제한을 설정합니다. setting.infoui.name = 정보 UI 표시 setting.infoui.description = 좌측 탭 UI를 표시합니다. 비활성 시 관련된 모든 업데이트가 중지됩니다. +setting.waveui.name = 단계 UI 표시 +setting.waveui.description = 좌측 상단 UI를 포시합니다. 비활성 시 관련된 모든 업데이트가 중지됩니다. setting.pastwave.name = 이전 단계 표시 setting.pastwave.description = 단계 탭에서 이전 단계를 표시합니다. 현재 단계는 빨간색으로 강조됩니다. setting.emptywave.name = 빈 단계 표시 @@ -83,7 +85,7 @@ setting.autoShooting.name = 자동 사격 활성화 setting.autoShooting.description = setting.shar-title = UnitInfo 설정 -setting.shar-wave = 정보탭 설정 +setting.shar-ui = 정보UI 설정 setting.shar-range = 자동 사거리 설정 setting.shar-opacity = 투명도 설정 setting.shar-draw = 덧그리기 설정 diff --git a/assets/mod.json b/assets/mod.json index 542c02c..68ad794 100644 --- a/assets/mod.json +++ b/assets/mod.json @@ -3,7 +3,7 @@ "displayName": "Unit Information", "author": "Sharlotte", "description": "The mod displays more information in-game, such as unit/building, wave, core, tile, item/unit total info etc", - "version": "1.4.1", + "version": "1.4.2", "main": "UnitInfo.core.Main", "minGameVersion": "131", "dependencies": [], diff --git a/src/UnitInfo/core/HudUi.java b/src/UnitInfo/core/HudUi.java index 53f416d..ee52047 100644 --- a/src/UnitInfo/core/HudUi.java +++ b/src/UnitInfo/core/HudUi.java @@ -298,7 +298,7 @@ public class HudUi { new Table(tt -> tt.button(Icon.downOpen, Styles.clearToggleTransi, () -> waveShown = !waveShown).size(4 * 8f).checked(b -> { b.getImage().setDrawable(waveShown ? Icon.upOpen : Icon.downOpen); return waveShown; - })).left().top()); + })).left().top()).visible(() -> settings.getBool("waveui")); } public void reset(int index, Seq