1
0
mirror of https://github.com/soarqin/DSP_Mods.git synced 2026-02-05 04:22:21 +08:00
This commit is contained in:
2024-09-23 21:11:51 +08:00
parent 98a8c94518
commit daaf7b4901
5 changed files with 408 additions and 120 deletions

View File

@@ -147,7 +147,7 @@ public static class UIConfigWindow
*/
y += 36f;
wnd.AddCheckBox(x, y, tab1, GamePatch.ConvertSavesFromPeaceEnabled, "Convert old saves to Combat Mode on loading");
if (GamePatch.ProfileName != null)
if (WindowFunctions.ProfileName != null)
{
y += 36f;
checkBoxForMeasureTipsPos = wnd.AddCheckBox(x, y, tab1, GamePatch.ProfileBasedSaveFolderEnabled, "Profile-based save folder");
@@ -162,6 +162,10 @@ public static class UIConfigWindow
y += 18f;
}
x = 400f;
y = 10f;
wnd.AddButton(x, y, tab1, "Show CPU Info", 16, "button-show-cpu-info", WindowFunctions.ShowCPUInfo);
if (!ModsCompat.BulletTimeWrapper.HasBulletTime)
{
y += 36f;
@@ -351,6 +355,7 @@ public static class UIConfigWindow
cb1.gameObject.SetActive(true);
return;
}
var on = !ModsCompat.AuxilaryfunctionWrapper.ShowStationInfo.Value;
cb0.gameObject.SetActive(on);
cb1.gameObject.SetActive(on);