1
0
mirror of synced 2025-02-17 19:09:25 +01:00

Fix preimage displaying on difficulty select screen

This commit is contained in:
0auBSQ 2023-04-23 18:07:44 +09:00
parent 869775952d
commit 33c8660f40
2 changed files with 7 additions and 3 deletions

View File

@ -10,6 +10,7 @@ using FDK;
using Rectangle = System.Drawing.Rectangle;
using Point = System.Drawing.Point;
using static TJAPlayer3.C曲リストード;
namespace TJAPlayer3
{
@ -65,7 +66,7 @@ namespace TJAPlayer3
this.txセンサ = TJAPlayer3.tテクスチャの生成( CSkin.Path( @"Graphics\5_sensor.png" ), false );
//this.txセンサ光 = CDTXMania.tテクスチャの生成( CSkin.Path( @"Graphics\5_sensor light.png" ), false );
this.txプレビュー画像 = null;
this.txプレビュー画像がないときの画像 = TJAPlayer3.tテクスチャの生成( CSkin.Path( @"Graphics\5_preimage default.png" ), false );
this.txプレビュー画像がないときの画像 = TJAPlayer3.tテクスチャの生成( CSkin.Path(@"Graphics\3_SongSelect\PreImageDefault.png"), false );
this.sfAVI画像 = Surface.CreateOffscreenPlain( TJAPlayer3.app.Device, 0xcc, 0x10d, TJAPlayer3.app.GraphicsDeviceManager.CurrentSettings.BackBufferFormat, Pool.SystemMemory );
this.nAVI再生開始時刻 = -1;
this.n前回描画したフレーム番号 = -1;
@ -248,7 +249,7 @@ namespace TJAPlayer3
Cスコア cスコア = TJAPlayer3.stage選曲.r現在選択中のスコア;
if( ( cスコア == null ) || string.IsNullOrEmpty( cスコア..Preimage ) )
{
return false;
return false;
}
string str = cスコア.. + cスコア..Preimage;
if( !str.Equals( this.str現在のファイル名 ) )

View File

@ -603,7 +603,10 @@ namespace TJAPlayer3
#endregion
this.actPreimageパネル.On進行描画();
if (this.r現在選択中の曲 != null
&& this.r現在選択中の曲.eード種別 == C曲リストード.Eード種別.SCORE
&& (this.act難易度選択画面.bIsDifficltSelect == false || this.act曲リスト.ctDifficultyIn.n現在の値 < 1000))
this.actPreimageパネル.On進行描画();
this.actPresound.On進行描画();