mirror of
https://github.com/MewoLab/AquaDX.git
synced 2025-10-25 20:12:39 +00:00
[+] Skip track start screen
This commit is contained in:
parent
9605264b9a
commit
a2db465825
@ -309,6 +309,7 @@
|
|||||||
<Compile Include="TimeSaving\SkipEventInfo.cs" />
|
<Compile Include="TimeSaving\SkipEventInfo.cs" />
|
||||||
<Compile Include="TimeSaving\SkipGameOverScreen.cs" />
|
<Compile Include="TimeSaving\SkipGameOverScreen.cs" />
|
||||||
<Compile Include="TimeSaving\SkipToMusicSelection.cs" />
|
<Compile Include="TimeSaving\SkipToMusicSelection.cs" />
|
||||||
|
<Compile Include="TimeSaving\SkipTrackStart.cs" />
|
||||||
<Compile Include="TimeSaving\SkipWarningScreen.cs" />
|
<Compile Include="TimeSaving\SkipWarningScreen.cs" />
|
||||||
<Compile Include="TouchSensitivity\Enable.cs" />
|
<Compile Include="TouchSensitivity\Enable.cs" />
|
||||||
<Compile Include="Utils\JudgeAdjust.cs" />
|
<Compile Include="Utils\JudgeAdjust.cs" />
|
||||||
|
|||||||
@ -90,6 +90,8 @@ SkipEventInfo=true
|
|||||||
IWontTapOrSlideVigorously=true
|
IWontTapOrSlideVigorously=true
|
||||||
# Skip the "Goodbye" screen at the end of the game
|
# Skip the "Goodbye" screen at the end of the game
|
||||||
SkipGameOverScreen=true
|
SkipGameOverScreen=true
|
||||||
|
# Skip TrackStart screen
|
||||||
|
SkipTrackStart=true
|
||||||
|
|
||||||
[TouchSensitivity]
|
[TouchSensitivity]
|
||||||
# Enable custom sensitivity
|
# Enable custom sensitivity
|
||||||
|
|||||||
@ -107,6 +107,8 @@ SkipEventInfo=true
|
|||||||
IWontTapOrSlideVigorously=true
|
IWontTapOrSlideVigorously=true
|
||||||
# 跳过游戏结束的“再见”界面
|
# 跳过游戏结束的“再见”界面
|
||||||
SkipGameOverScreen=true
|
SkipGameOverScreen=true
|
||||||
|
# 跳过乐曲开始界面
|
||||||
|
SkipTrackStart=true
|
||||||
|
|
||||||
[TouchSensitivity]
|
[TouchSensitivity]
|
||||||
# 是否启用自定义灵敏度
|
# 是否启用自定义灵敏度
|
||||||
|
|||||||
@ -68,6 +68,7 @@ namespace AquaMai
|
|||||||
public bool SkipEventInfo { get; set; }
|
public bool SkipEventInfo { get; set; }
|
||||||
public bool IWontTapOrSlideVigorously { get; set; }
|
public bool IWontTapOrSlideVigorously { get; set; }
|
||||||
public bool SkipGameOverScreen { get; set; }
|
public bool SkipGameOverScreen { get; set; }
|
||||||
|
public bool SkipTrackStart { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class TouchSensitivityConfig
|
public class TouchSensitivityConfig
|
||||||
|
|||||||
15
AquaMai/TimeSaving/SkipTrackStart.cs
Normal file
15
AquaMai/TimeSaving/SkipTrackStart.cs
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
using HarmonyLib;
|
||||||
|
using Monitor;
|
||||||
|
|
||||||
|
namespace AquaMai.TimeSaving;
|
||||||
|
|
||||||
|
public class SkipTrackStart
|
||||||
|
{
|
||||||
|
[HarmonyPrefix]
|
||||||
|
[HarmonyPatch(typeof (TrackStartMonitor), "IsEnd")]
|
||||||
|
public static bool IsEnd(ref bool __result)
|
||||||
|
{
|
||||||
|
__result = true;
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user