<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Debug\</OutputPath>
- <DefineConstants>TRACE;_TEST_ENGLISH TEST_Direct3D9Ex_ WindowedFullscreen animetest</DefineConstants>
+ <DefineConstants>DEBUG;TRACE;_TEST_ENGLISH TEST_Direct3D9Ex_ WindowedFullscreen animetest</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
this.pfSongTitleFont = new CPrivateFastFont( new FontFamily( CDTXMania.ConfigIni.str選曲リストフォント ), 20, FontStyle.Regular );
this.pfNameFont = new CPrivateFastFont( new FontFamily( "Arial" ), 24, FontStyle.Bold );
this.ftGroupFont = new Font( "DFG平成ゴシック体W5", 16f, FontStyle.Regular, GraphicsUnit.Pixel );
- this.ftDisplayFont = new Font( "DFG平成ゴシック体W5", 20f, FontStyle.Regular, GraphicsUnit.Pixel );
this.ftLevelFont = new Font( "Impact", 26f, FontStyle.Regular );
this.ftDifficultyL = new Font( "Arial", 30f, FontStyle.Bold );
this.ftDifficultyS = new Font( "Arial", 20f, FontStyle.Bold );
private CPrivateFastFont pfNameFont;
private Font ftDifficultyL;
private Font ftDifficultyS;
- private Font ftDisplayFont;
private Font ftGroupFont;
private Font ftLevelFont;
private string[] strGroupName;
{
Rectangle bgrect = new Rectangle( 640 - ( 278 / 2 ), 0, 278, 355 );
string DefaultBgFilename = @"Graphics\7_background Guitar.png";
- string DefaultLaneFilename = "";
string BgFilename = "";
string BACKGROUND = null;
if ( ( CDTXMania.DTX.BACKGROUND_GR != null ) && ( CDTXMania.DTX.BACKGROUND_GR.Length > 0 ) )
{
CActLVLNFont.EFontColor efc = this.IsDanger( E楽器パート.DRUMS ) ?
CActLVLNFont.EFontColor.Red : CActLVLNFont.EFontColor.Yellow;
- actLVLNFont.t文字列描画( (int) ( 12 * Scale.X ), (int) ( 408 * Scale.Y ), nRiskyTimes.ToString(), efc, CActLVLNFont.EFontAlign.Right );
+ actLVLNFont.t文字列描画( 262, 668, nRiskyTimes.ToString(), efc, CActLVLNFont.EFontAlign.Right );
}
#endregion
}
// CActivity 実装(共通クラスからの差分のみ)
public override unsafe int On進行描画()
- {
- if (!base.b活性化してない)
{
- if (base.b初めての進行描画)
+ if (!base.b活性化してない)
{
- base.n進行用タイマ = FDK.CSound管理.rc演奏用タイマ.n現在時刻;
- base.b初めての進行描画 = false;
- }
- long num = FDK.CSound管理.rc演奏用タイマ.n現在時刻;
- if (num < base.n進行用タイマ)
- {
- base.n進行用タイマ = num;
- }
- while ((num - base.n進行用タイマ) >= 10)
- {
- for (int j = 0; j < 3; j++)
+ if (base.b初めての進行描画)
+ {
+ base.n進行用タイマ = FDK.CSound管理.rc演奏用タイマ.n現在時刻;
+ base.b初めての進行描画 = false;
+ }
+ long num = FDK.CSound管理.rc演奏用タイマ.n現在時刻;
+ if (num < base.n進行用タイマ)
+ {
+ base.n進行用タイマ = num;
+ }
+ while ((num - base.n進行用タイマ) >= 10)
{
- this.n現在表示中のスコア[j] += this.nスコアの増分[j];
+ for (int j = 0; j < 3; j++)
+ {
+ this.n現在表示中のスコア[j] += this.nスコアの増分[j];
- if (this.n現在表示中のスコア[j] > (long) this.n現在の本当のスコア[j])
- this.n現在表示中のスコア[j] = (long) this.n現在の本当のスコア[j];
+ if (this.n現在表示中のスコア[j] > (long) this.n現在の本当のスコア[j])
+ this.n現在表示中のスコア[j] = (long) this.n現在の本当のスコア[j];
+ }
+ base.n進行用タイマ += 10;
}
- base.n進行用タイマ += 10;
}
+ return 0;
}
- return 0;
- }
}
}
//if( true )
// return;
- this.ftDisplayFont = new Font( "DFG平成ゴシック体W5" , 22f, FontStyle.Regular, GraphicsUnit.Pixel );
- this.ftGroupFont = new Font( "DFG平成ゴシック体W5" , 16f, FontStyle.Regular, GraphicsUnit.Pixel );
+ this.ftGroupFont = new Font( CDTXMania.ConfigIni.str選曲リストフォント, 16f, FontStyle.Regular, GraphicsUnit.Pixel );
this.ftLevelFont = new Font( "Impact", 26f, FontStyle.Regular );
this.ftDifficultyL = new Font( "Arial", 30f, FontStyle.Bold );
this.ftDifficultyS = new Font( "Arial", 20f, FontStyle.Bold );
this.strPlayerName = string.IsNullOrEmpty( CDTXMania.ConfigIni.strCardName[0] ) ? "GUEST" : CDTXMania.ConfigIni.strCardName[0];
this.strGroupName = string.IsNullOrEmpty( CDTXMania.ConfigIni.strGroupName[0] ) ? "" : CDTXMania.ConfigIni.strGroupName[0];
- this.nStrlengthbydot = (int)gNamePlate.MeasureString(this.strPanelString, this.ftDisplayFont).Width;
gNamePlate.Dispose();
this.bNamePlate = new Bitmap( 0x170, 0x103 );
CDTXMania.t安全にDisposeする( ref this.iPart );
//ここで使用したフォント3つはここで開放。
- this.ftLevelFont.Dispose();
- this.ftDisplayFont.Dispose();
- this.pfNameFont.Dispose();
- this.pfSongTitleFont.Dispose();
+ CDTXMania.t安全にDisposeする( ref this.ftLevelFont );
+ CDTXMania.t安全にDisposeする( ref this.pfNameFont );
+ CDTXMania.t安全にDisposeする( ref this.pfSongTitleFont );
+
base.OnManagedリソースの作成();
}
}
CDTXMania.t安全にDisposeする( ref this.iRisky );
CDTXMania.t安全にDisposeする( ref this.iDrumspeed );
- this.ftDifficultyS.Dispose();
- this.ftDifficultyL.Dispose();
- this.ftDisplayFont.Dispose();
- this.ftLevelFont.Dispose();
- this.pfNameFont.Dispose();
- pfSongTitleFont.Dispose();
+ CDTXMania.t安全にDisposeする( ref this.ftDifficultyS );
+ CDTXMania.t安全にDisposeする( ref this.ftDifficultyL );
+ CDTXMania.t安全にDisposeする( ref this.ftLevelFont );
+ CDTXMania.t安全にDisposeする( ref this.pfNameFont );
+ CDTXMania.t安全にDisposeする( ref this.pfSongTitleFont );
+
base.OnManagedリソースの解放();
}
}
private Bitmap bNamePlate;
private Font ftDifficultyL;
private Font ftDifficultyS;
- private Font ftDisplayFont;
private Font ftGroupFont;
private Font ftLevelFont;
private Image iAlbum;
private Image iNamePlate;
private Image iDifficulty;
private Image iPart;
- private int nDifficulty;
private int nCurrentDrumspeed;
- private int nStrlengthbydot;
private string strGroupName;
private string strPanelString;
private string strPlayerName;
}
// 新記録スコアチェック
- if( this.st演奏記録[ i ].nスコア > ini.stセクション[ i * 2 ].nスコア )
+ if( ( this.st演奏記録[ i ].nスコア > ini.stセクション[ i * 2 ].nスコア ) && this.bオート[ i ] == false )
{
this.b新記録スコア[ i ] = true;
ini.stセクション[ i * 2 ] = this.st演奏記録[ i ];