OSDN Git Service

#34099 シャッター座標の計算式を変更。本家準拠かも。
authorkairera0467 <gennsou76573@gmail.com>
Sun, 14 May 2017 06:38:10 +0000 (15:38 +0900)
committerkairera0467 <gennsou76573@gmail.com>
Sun, 14 May 2017 06:38:10 +0000 (15:38 +0900)
#xxxxx 判定ラインの描画優先度を間違えていたので修正。

DTXManiaプロジェクト/DTXManiaプロジェクト.csproj
DTXManiaプロジェクト/コード/ステージ/07.演奏/CAct演奏シャッター.cs
DTXManiaプロジェクト/コード/ステージ/07.演奏/ドラム画面/CStage演奏ドラム画面.cs
実行時フォルダ/DTXManiaGR.exe

index b17caea..1481608 100644 (file)
@@ -43,7 +43,7 @@
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
     <DebugSymbols>true</DebugSymbols>
     <OutputPath>bin\x86\Debug\</OutputPath>
-    <DefineConstants>DEBUG;TRACE;_TEST_ENGLISH TEST_Direct3D9Ex_ WindowedFullscreen animetest</DefineConstants>
+    <DefineConstants>TRACE;_TEST_ENGLISH TEST_Direct3D9Ex_ WindowedFullscreen animetest</DefineConstants>
     <DebugType>full</DebugType>
     <PlatformTarget>x86</PlatformTarget>
     <ErrorReport>prompt</ErrorReport>
index 9019552..edf80c9 100644 (file)
@@ -105,12 +105,13 @@ namespace DTXMania
                     if( CDTXMania.ConfigIni.bDrums有効 )
                     {
                         //IN側
-                        this.txShutter.Drums.t2D描画( CDTXMania.app.Device, 295, (int)( ( CDTXMania.ConfigIni.nShutterInSide.Drums / 100.0 ) * 720.0 ) - 720 );
+                        this.txShutter.Drums.t2D描画( CDTXMania.app.Device, 295, (int)Math.Round( ( CDTXMania.ConfigIni.nShutterInSide.Drums / 100.0 ) * 720.0 ) - 720 );
                         if( this.nShutterNumTime != 0 )
                             CDTXMania.act文字コンソール.tPrint( 295, 0, C文字コンソール.Eフォント種別.白, CDTXMania.ConfigIni.nShutterInSide.Drums.ToString() );
+                            
 
                         //OUT側
-                        this.txShutter.Drums.t2D描画( CDTXMania.app.Device, 295, 720 - (int)( ( CDTXMania.ConfigIni.nShutterOutSide.Drums / 100.0 ) * 720.0 ) );
+                        this.txShutter.Drums.t2D描画( CDTXMania.app.Device, 295, 720 - (int)Math.Round( ( CDTXMania.ConfigIni.nShutterOutSide.Drums / 100.0 ) * 720.0 ) );
                         if( this.nShutterNumTime != 0 )
                             CDTXMania.act文字コンソール.tPrint( 295, 550, C文字コンソール.Eフォント種別.白, CDTXMania.ConfigIni.nShutterOutSide.Drums.ToString() );
                     }
index d7f8ad9..ee1934a 100644 (file)
@@ -214,7 +214,6 @@ namespace DTXMania
                                this.t進行描画_ステータスパネル();
                 this.t進行描画_グラフ();   // #24074 2011.01.23 add ikanick
                                this.t進行描画_レーンフラッシュD();
-                               this.t進行描画_判定ライン();
                                if ( this.e判定表示優先度 == E判定表示優先度.Chipより下 )
                                {
                                        this.t進行描画_RGBボタン();
@@ -227,6 +226,7 @@ namespace DTXMania
                 this.t進行描画_チップ_模様( E楽器パート.DRUMS );
                                bIsFinishedPlaying = this.t進行描画_チップ(E楽器パート.DRUMS);
                 this.actShutter.On進行描画();
+                this.t進行描画_判定ライン();
                                this.t進行描画_演奏情報();
                                this.t進行描画_ドラムパッド();
                 this.actAVI.tウィンドウクリップを表示する();
index b04d0f0..d188585 100644 (file)
Binary files a/実行時フォルダ/DTXManiaGR.exe and b/実行時フォルダ/DTXManiaGR.exe differ