Skip to content

Commit

Permalink
[+] Make it configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
clansty committed Nov 18, 2024
1 parent 4d25b6a commit 786a883
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
3 changes: 0 additions & 3 deletions AquaMai/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,6 @@ public override void OnInitializeMelon()
Patch(typeof(TestProof));
Patch(typeof(PractiseMode));
Patch(typeof(HideSelfMadeCharts));

Patch(typeof(SlideFadeInTweak));
Patch(typeof(JudgeAccuracyInfo));

# if CI
Patch(typeof(CiBuildAlert));
Expand Down
12 changes: 11 additions & 1 deletion AquaMai/UX/Config.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,16 @@ 不能和 HanabiFix 一起使用
""")]
public bool HideHanabi { get; set; }

[ConfigComment(
zh: "取消星星从 50% 透明度直接闪为 100% 的特性,星星会慢慢出现",
en: "Slides will fade in instead of instantly appearing")]
public bool SlideFadeInTweak { get; set; }

[ConfigComment(
zh: "在游戏总结的计分板中显示判定的详细信息(毫秒数)",
en: "Show detailed judgment information (in milliseconds) in the score board")]
public bool JudgeAccuracyInfo { get; set; }

[ConfigComment(
en: "Set the version string displayed at the top-right corner of the screen",
zh: "把右上角的版本更改为自定义文本")]
Expand Down Expand Up @@ -127,4 +137,4 @@ 同时在 SDGA 中会启用店铺名称的显示(但是不会在游戏里有
en: "Execute some command on game start",
zh: "在玩家登录的时候执行指定的命令脚本")]
public string ExecOnEntry { get; set; } = "";
}
}

0 comments on commit 786a883

Please sign in to comment.