OSDN Git Service

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

21 files changed:
DTXManiaプロジェクト/コード/ステージ/07.演奏/ドラム画面/CAct演奏DrumsレーンフラッシュD.cs
DTXManiaプロジェクト/作成資料/ScreenPlayDrums lane flush cymbal.psd
DTXManiaプロジェクト/作成資料/ScreenPlayDrums lane flush hihat.psd
DTXManiaプロジェクト/作成資料/ScreenPlayDrums lane flush hitom.psd
DTXManiaプロジェクト/作成資料/ScreenPlayDrums lane flush lowtom.psd
DTXManiaプロジェクト/作成資料/ScreenPlayDrums lane flush snare.psd
実行時フォルダ/DTXManiaGR.exe
実行時フォルダ/System/Default/Graphics/ScreenPlayDrums lane flush bass reverse.png
実行時フォルダ/System/Default/Graphics/ScreenPlayDrums lane flush bass.png
実行時フォルダ/System/Default/Graphics/ScreenPlayDrums lane flush cymbal reverse.png
実行時フォルダ/System/Default/Graphics/ScreenPlayDrums lane flush cymbal.png
実行時フォルダ/System/Default/Graphics/ScreenPlayDrums lane flush floortom reverse.png
実行時フォルダ/System/Default/Graphics/ScreenPlayDrums lane flush floortom.png
実行時フォルダ/System/Default/Graphics/ScreenPlayDrums lane flush hihat reverse.png
実行時フォルダ/System/Default/Graphics/ScreenPlayDrums lane flush hihat.png
実行時フォルダ/System/Default/Graphics/ScreenPlayDrums lane flush hitom reverse.png
実行時フォルダ/System/Default/Graphics/ScreenPlayDrums lane flush hitom.png
実行時フォルダ/System/Default/Graphics/ScreenPlayDrums lane flush lowtom reverse.png
実行時フォルダ/System/Default/Graphics/ScreenPlayDrums lane flush lowtom.png
実行時フォルダ/System/Default/Graphics/ScreenPlayDrums lane flush snare reverse.png
実行時フォルダ/System/Default/Graphics/ScreenPlayDrums lane flush snare.png

index dd93a1f..e025d9f 100644 (file)
@@ -47,7 +47,24 @@ namespace DTXMania
                        stレーンサイズ8.w = 0x24;\r
                        stレーンサイズArray[ 7 ] = stレーンサイズ8;\r
                        this.stレーンサイズ = stレーンサイズArray;\r
-                       this.strファイル名 = new string[] { @"Graphics\ScreenPlayDrums lane flush cymbal.png", @"Graphics\ScreenPlayDrums lane flush hihat.png", @"Graphics\ScreenPlayDrums lane flush snare.png", @"Graphics\ScreenPlayDrums lane flush bass.png", @"Graphics\ScreenPlayDrums lane flush hitom.png", @"Graphics\ScreenPlayDrums lane flush lowtom.png", @"Graphics\ScreenPlayDrums lane flush floortom.png", @"Graphics\ScreenPlayDrums lane flush cymbal.png", @"Graphics\ScreenPlayDrums lane flush cymbal reverse.png", @"Graphics\ScreenPlayDrums lane flush hihat reverse.png", @"Graphics\ScreenPlayDrums lane flush snare reverse.png", @"Graphics\ScreenPlayDrums lane flush bass reverse.png", @"Graphics\ScreenPlayDrums lane flush hitom reverse.png", @"Graphics\ScreenPlayDrums lane flush lowtom reverse.png", @"Graphics\ScreenPlayDrums lane flush floortom reverse.png", @"Graphics\ScreenPlayDrums lane flush cymbal reverse.png" };\r
+                       this.strファイル名 = new string[] {\r
+                               @"Graphics\ScreenPlayDrums lane flush cymbal.png",\r
+                               @"Graphics\ScreenPlayDrums lane flush hihat.png",\r
+                               @"Graphics\ScreenPlayDrums lane flush snare.png",\r
+                               @"Graphics\ScreenPlayDrums lane flush bass.png",\r
+                               @"Graphics\ScreenPlayDrums lane flush hitom.png",\r
+                               @"Graphics\ScreenPlayDrums lane flush lowtom.png",\r
+                               @"Graphics\ScreenPlayDrums lane flush floortom.png",\r
+                               @"Graphics\ScreenPlayDrums lane flush cymbal.png",\r
+                               @"Graphics\ScreenPlayDrums lane flush cymbal reverse.png",\r
+                               @"Graphics\ScreenPlayDrums lane flush hihat reverse.png",\r
+                               @"Graphics\ScreenPlayDrums lane flush snare reverse.png",\r
+                               @"Graphics\ScreenPlayDrums lane flush bass reverse.png",\r
+                               @"Graphics\ScreenPlayDrums lane flush hitom reverse.png",\r
+                               @"Graphics\ScreenPlayDrums lane flush lowtom reverse.png",\r
+                               @"Graphics\ScreenPlayDrums lane flush floortom reverse.png",\r
+                               @"Graphics\ScreenPlayDrums lane flush cymbal reverse.png"\r
+                       };\r
                        base.b活性化してない = true;\r
                }\r
 \r
@@ -85,7 +102,7 @@ namespace DTXMania
                        {\r
                                for ( int i = 0; i < 0x10; i++ )\r
                                {\r
-                                       this.txFlush[ i ] = CDTXMania.tテクスチャの生成( CSkin.Path( this.strファイル名[ i ] ) );\r
+                                       this.txFlush[ i ] = CDTXMania.tテクスチャの生成Af( CSkin.Path( this.strファイル名[ i ] ) );\r
                                }\r
                                base.OnManagedリソースの作成();\r
                        }\r
@@ -122,7 +139,8 @@ namespace DTXMania
                                        {\r
                                                int x = this.stレーンサイズ[ j ].x;\r
                                                int w = this.stレーンサイズ[ j ].w;\r
-                                               for ( int k = 0; k < 3; k++ )\r
+                                               //for ( int k = 0; k < 3; k++ )\r
+                                               int k = 0;\r
                                                {\r
                                                        if ( CDTXMania.ConfigIni.bReverse.Drums )\r
                                                        {\r
@@ -139,7 +157,7 @@ namespace DTXMania
                                                                                                (int) ( ( ( k * 0x2a ) + 2 ) * Scale.X ),\r
                                                                                                0,\r
                                                                                                ( ( w - m ) < 0x2a ) ? (int) ( ( w - m ) * Scale.X ) : (int) ( 0x2a * Scale.X ),\r
-                                                                                               (int) ( 0x80 * Scale.Y )\r
+                                                                                               (int) ( 0x80 * 3 * Scale.Y )\r
                                                                                        )\r
                                                                                );\r
                                                                        }\r
@@ -162,7 +180,7 @@ namespace DTXMania
                                                                                                        (int) ( k * 0x2a * Scale.X ),\r
                                                                                                        0,\r
                                                                                                        ( ( w - n ) < 0x2a ) ? (int) ( ( w - n ) * Scale.X ) : (int) ( 0x2a * Scale.X ),\r
-                                                                                                       (int) ( 0x80 * Scale.Y )\r
+                                                                                                       (int) ( 0x80 * 3 * Scale.Y )\r
                                                                                                )\r
                                                                                        );\r
                                                                                }\r
@@ -191,7 +209,7 @@ namespace DTXMania
                private CCounter[] ct進行 = new CCounter[ 8 ];\r
                private readonly string[] strファイル名;\r
                private readonly STレーンサイズ[] stレーンサイズ;\r
-               private CTexture[] txFlush = new CTexture[ 0x10 ];\r
+               private CTextureAf[] txFlush = new CTextureAf[ 0x10 ];\r
                //-----------------\r
                #endregion\r
        }\r
index 3e5094a..be8128c 100644 (file)
Binary files a/DTXManiaプロジェクト/作成資料/ScreenPlayDrums lane flush cymbal.psd and b/DTXManiaプロジェクト/作成資料/ScreenPlayDrums lane flush cymbal.psd differ
index 86f523f..d08ef7e 100644 (file)
Binary files a/DTXManiaプロジェクト/作成資料/ScreenPlayDrums lane flush hihat.psd and b/DTXManiaプロジェクト/作成資料/ScreenPlayDrums lane flush hihat.psd differ
index ee1aa06..8e04cf6 100644 (file)
Binary files a/DTXManiaプロジェクト/作成資料/ScreenPlayDrums lane flush hitom.psd and b/DTXManiaプロジェクト/作成資料/ScreenPlayDrums lane flush hitom.psd differ
index 3a512ba..fee49ae 100644 (file)
Binary files a/DTXManiaプロジェクト/作成資料/ScreenPlayDrums lane flush lowtom.psd and b/DTXManiaプロジェクト/作成資料/ScreenPlayDrums lane flush lowtom.psd differ
index 8eb7710..90d6e8f 100644 (file)
Binary files a/DTXManiaプロジェクト/作成資料/ScreenPlayDrums lane flush snare.psd and b/DTXManiaプロジェクト/作成資料/ScreenPlayDrums lane flush snare.psd differ
index d3c4aae..830d001 100644 (file)
Binary files a/実行時フォルダ/DTXManiaGR.exe and b/実行時フォルダ/DTXManiaGR.exe differ
index dbae5ca..e31e2fa 100644 (file)
Binary files a/実行時フォルダ/System/Default/Graphics/ScreenPlayDrums lane flush bass reverse.png and b/実行時フォルダ/System/Default/Graphics/ScreenPlayDrums lane flush bass reverse.png differ
index 19ee688..9da8a59 100644 (file)
Binary files a/実行時フォルダ/System/Default/Graphics/ScreenPlayDrums lane flush bass.png and b/実行時フォルダ/System/Default/Graphics/ScreenPlayDrums lane flush bass.png differ
index 8c76cd7..59a9ce9 100644 (file)
Binary files a/実行時フォルダ/System/Default/Graphics/ScreenPlayDrums lane flush cymbal reverse.png and b/実行時フォルダ/System/Default/Graphics/ScreenPlayDrums lane flush cymbal reverse.png differ
index 69f189d..f388858 100644 (file)
Binary files a/実行時フォルダ/System/Default/Graphics/ScreenPlayDrums lane flush cymbal.png and b/実行時フォルダ/System/Default/Graphics/ScreenPlayDrums lane flush cymbal.png differ
index cdb99ba..e258edf 100644 (file)
Binary files a/実行時フォルダ/System/Default/Graphics/ScreenPlayDrums lane flush floortom reverse.png and b/実行時フォルダ/System/Default/Graphics/ScreenPlayDrums lane flush floortom reverse.png differ
index bb2dc16..692e980 100644 (file)
Binary files a/実行時フォルダ/System/Default/Graphics/ScreenPlayDrums lane flush floortom.png and b/実行時フォルダ/System/Default/Graphics/ScreenPlayDrums lane flush floortom.png differ
index 8c76cd7..91a98d0 100644 (file)
Binary files a/実行時フォルダ/System/Default/Graphics/ScreenPlayDrums lane flush hihat reverse.png and b/実行時フォルダ/System/Default/Graphics/ScreenPlayDrums lane flush hihat reverse.png differ
index 69f189d..1b68574 100644 (file)
Binary files a/実行時フォルダ/System/Default/Graphics/ScreenPlayDrums lane flush hihat.png and b/実行時フォルダ/System/Default/Graphics/ScreenPlayDrums lane flush hihat.png differ
index e3bb929..46620d1 100644 (file)
Binary files a/実行時フォルダ/System/Default/Graphics/ScreenPlayDrums lane flush hitom reverse.png and b/実行時フォルダ/System/Default/Graphics/ScreenPlayDrums lane flush hitom reverse.png differ
index 8d71022..2e1373a 100644 (file)
Binary files a/実行時フォルダ/System/Default/Graphics/ScreenPlayDrums lane flush hitom.png and b/実行時フォルダ/System/Default/Graphics/ScreenPlayDrums lane flush hitom.png differ
index 3558ab0..710565f 100644 (file)
Binary files a/実行時フォルダ/System/Default/Graphics/ScreenPlayDrums lane flush lowtom reverse.png and b/実行時フォルダ/System/Default/Graphics/ScreenPlayDrums lane flush lowtom reverse.png differ
index fe0ec84..43438b7 100644 (file)
Binary files a/実行時フォルダ/System/Default/Graphics/ScreenPlayDrums lane flush lowtom.png and b/実行時フォルダ/System/Default/Graphics/ScreenPlayDrums lane flush lowtom.png differ
index 438a771..2862c5e 100644 (file)
Binary files a/実行時フォルダ/System/Default/Graphics/ScreenPlayDrums lane flush snare reverse.png and b/実行時フォルダ/System/Default/Graphics/ScreenPlayDrums lane flush snare reverse.png differ
index 9de991e..6a7ec28 100644 (file)
Binary files a/実行時フォルダ/System/Default/Graphics/ScreenPlayDrums lane flush snare.png and b/実行時フォルダ/System/Default/Graphics/ScreenPlayDrums lane flush snare.png differ