Pressing esc ingame now launches the pause menu instead of quitting directly the level (Feature voted on discord)
This commit is contained in:
parent
c2ee5e7066
commit
094bcd5f0b
@ -344,7 +344,7 @@ namespace TJAPlayer3
|
||||
case CStage.Eフェーズ.共通_フェードイン:
|
||||
//if( this.actFI.On進行描画() != 0 ) // #27787 2012.3.10 yyagi 曲読み込み画面のフェードインの省略
|
||||
// 必ず一度「CStaeg.Eフェーズ.共通_フェードイン」フェーズを経由させること。
|
||||
// さもないと、曲読み込みが完了するまで、曲読み込み画面が描画されない。
|
||||
// さもないと、曲読み込みが完了するまで、曲読み込み画面が描画されない。
|
||||
base.eフェーズID = CStage.Eフェーズ.NOWLOADING_DTXファイルを読み込む;
|
||||
return (int) E曲読込画面の戻り値.継続;
|
||||
|
||||
|
@ -2891,7 +2891,19 @@ namespace TJAPlayer3
|
||||
}
|
||||
else if ( ( base.eフェーズID == CStage.Eフェーズ.共通_通常状態 ) && ( keyboard.bキーが押された( (int)SlimDXKeys.Key.Escape ) || TJAPlayer3.Pad.b押されたGB( Eパッド.FT ) ) && !this.actPauseMenu.bIsActivePopupMenu )
|
||||
{ // escape (exit)
|
||||
this.t演奏中止();
|
||||
if (!this.actPauseMenu.bIsActivePopupMenu && this.bPAUSE == false)
|
||||
{
|
||||
TJAPlayer3.Skin.sound変更音.t再生する();
|
||||
|
||||
CSound管理.rc演奏用タイマ.t一時停止();
|
||||
TJAPlayer3.Timer.t一時停止();
|
||||
TJAPlayer3.DTX.t全チップの再生一時停止();
|
||||
this.actAVI.tPauseControl();
|
||||
|
||||
this.bPAUSE = true;
|
||||
this.actPauseMenu.tActivatePopupMenu(0);
|
||||
}
|
||||
// this.t演奏中止();
|
||||
}
|
||||
else if ( keyboard.bキーが押された( (int)SlimDXKeys.Key.D1 ) )
|
||||
{
|
||||
|
@ -2206,6 +2206,7 @@ namespace TJAPlayer3
|
||||
#endregion
|
||||
|
||||
string strNull = "Found";
|
||||
|
||||
if (TJAPlayer3.Input管理.Keyboard.bキーが押された((int)SlimDX.DirectInput.Key.F1))
|
||||
{
|
||||
if (!this.actPauseMenu.bIsActivePopupMenu && this.bPAUSE == false)
|
||||
|
Loading…
x
Reference in New Issue
Block a user