OSDN Git Service

#xxxxx ギターのレーンフラッシュのリファクタ。GR画面でのギターレーンフラッシュ画像を、扱いやすいものにした。(テクスチャサイズの最適化は、プログラム内で自動的に行う。)
authoryyagi <yyagi@16f42ceb-6dc6-49c8-ba94-f2d53467949d>
Tue, 5 Aug 2014 15:30:07 +0000 (15:30 +0000)
committeryyagi <yyagi@16f42ceb-6dc6-49c8-ba94-f2d53467949d>
Tue, 5 Aug 2014 15:30:07 +0000 (15:30 +0000)
git-svn-id: http://svn.osdn.jp/svnroot/dtxmania/trunk@761 16f42ceb-6dc6-49c8-ba94-f2d53467949d

DTXManiaプロジェクト/コード/ステージ/07.演奏/ギター画面/CAct演奏GuitarレーンフラッシュGB.cs
実行時フォルダ/DTXManiaGR.exe

index 918e040..82c0bab 100644 (file)
@@ -27,12 +27,11 @@ namespace DTXMania
                                        if( !base.ct進行[ i ].b停止中 )\r
                                        {\r
                                                E楽器パート e楽器パート = ( i < 3 ) ? E楽器パート.GUITAR : E楽器パート.BASS;\r
-                                               CTexture texture = CDTXMania.ConfigIni.bReverse[ (int) e楽器パート ] ? base.txFlush[ ( i % 3 ) + 3 ] : base.txFlush[ i % 3 ];\r
+                                               CTextureAf texture = CDTXMania.ConfigIni.bReverse[ (int) e楽器パート ] ? base.txFlush[ ( i % 3 ) + 3 ] : base.txFlush[ i % 3 ];\r
                                                int num2 = CDTXMania.ConfigIni.bLeft[ (int) e楽器パート ] ? 1 : 0;\r
-                                               for( int j = 0; j < 3; j++ )\r
                                                {\r
                                                        int x = ( ( ( i < 3 ) ? 0x1a : 480 ) + this.nRGBのX座標[ num2, i ] ) + ( ( 0x10 * base.ct進行[ i ].n現在の値 ) / 100 );\r
-                                                       int y = CDTXMania.ConfigIni.bReverse[ (int) e楽器パート ] ? ( 0x37 + ( j * 0x76 ) ) : ( j * 0x76 );\r
+                                                       int y = CDTXMania.ConfigIni.bReverse[ (int) e楽器パート ] ? 0x37 : 0;\r
                                                        if( texture != null )\r
                                                        {\r
                                                                texture.t2D描画(\r
@@ -40,10 +39,10 @@ namespace DTXMania
                                                                        x * Scale.X,\r
                                                                        y * Scale.Y,\r
                                                                        new Rectangle(\r
-                                                                               (int) ( j * 0x20 * Scale.X ),\r
+                                                                               0,\r
                                                                                0,\r
                                                                                (int) ( ( ( 0x20 * ( 100 - base.ct進行[ i ].n現在の値 ) ) / 100 ) * Scale.X ),\r
-                                                                               (int) ( 0x76 * Scale.Y )\r
+                                                                               (int) ( 0x76 * 3 * Scale.Y )\r
                                                                        )\r
                                                                );\r
                                                        }\r
index 469dad5..d3c4aae 100644 (file)
Binary files a/実行時フォルダ/DTXManiaGR.exe and b/実行時フォルダ/DTXManiaGR.exe differ