OSDN Git Service

#xxxxx 選曲画面の曲名バーのテクスチャのリファクタ。テクスチャサイズを小さくし、VRAMを節約するようにした。
authoryyagi <yyagi@16f42ceb-6dc6-49c8-ba94-f2d53467949d>
Wed, 6 Aug 2014 17:09:58 +0000 (17:09 +0000)
committeryyagi <yyagi@16f42ceb-6dc6-49c8-ba94-f2d53467949d>
Wed, 6 Aug 2014 17:09:58 +0000 (17:09 +0000)
git-svn-id: http://svn.osdn.jp/svnroot/dtxmania/trunk@763 16f42ceb-6dc6-49c8-ba94-f2d53467949d

14 files changed:
DTXManiaプロジェクト/コード/ステージ/05.選曲/CActSelect曲リスト.cs
DTXManiaプロジェクト/作成資料/ScreenSelect bar box selected.psd
DTXManiaプロジェクト/作成資料/ScreenSelect bar box.psd
DTXManiaプロジェクト/作成資料/ScreenSelect bar other selected.PSD
DTXManiaプロジェクト/作成資料/ScreenSelect bar other.psd
DTXManiaプロジェクト/作成資料/ScreenSelect bar score selected.psd
DTXManiaプロジェクト/作成資料/ScreenSelect bar score.psd
実行時フォルダ/DTXManiaGR.exe
実行時フォルダ/System/Default/Graphics/ScreenSelect bar box selected.png
実行時フォルダ/System/Default/Graphics/ScreenSelect bar box.png
実行時フォルダ/System/Default/Graphics/ScreenSelect bar other selected.png
実行時フォルダ/System/Default/Graphics/ScreenSelect bar other.png
実行時フォルダ/System/Default/Graphics/ScreenSelect bar score selected.png
実行時フォルダ/System/Default/Graphics/ScreenSelect bar score.png

index 23f3ac1..3d29eb9 100644 (file)
@@ -465,9 +465,11 @@ namespace DTXMania
                        this.tx曲名バー.Score = CDTXMania.tテクスチャの生成( CSkin.Path( @"Graphics\ScreenSelect bar score.png" ), false );\r
                        this.tx曲名バー.Box = CDTXMania.tテクスチャの生成( CSkin.Path( @"Graphics\ScreenSelect bar box.png" ), false );\r
                        this.tx曲名バー.Other = CDTXMania.tテクスチャの生成( CSkin.Path( @"Graphics\ScreenSelect bar other.png" ), false );\r
+\r
                        this.tx選曲バー.Score = CDTXMania.tテクスチャの生成( CSkin.Path( @"Graphics\ScreenSelect bar score selected.png" ), false );\r
                        this.tx選曲バー.Box = CDTXMania.tテクスチャの生成( CSkin.Path( @"Graphics\ScreenSelect bar box selected.png" ), false );\r
                        this.tx選曲バー.Other = CDTXMania.tテクスチャの生成( CSkin.Path( @"Graphics\ScreenSelect bar other selected.png" ), false );\r
+\r
                        this.txスキル数字 = CDTXMania.tテクスチャの生成( CSkin.Path( @"Graphics\ScreenSelect skill number on list.png" ), false );\r
                        for( int i = 0; i < 13; i++ )\r
                                this.t曲名バーの生成( i, this.stバー情報[ i ].strタイトル文字列, this.stバー情報[ i ].col文字色 );\r
@@ -1283,17 +1285,17 @@ namespace DTXMania
                                                new Rectangle(\r
                                                        0,\r
                                                        0,\r
-                                                       (int)(128 * Scale.X),\r
-                                                       (int)(64 * Scale.Y)\r
+                                                       256,            //(int)(128 * Scale.X),\r
+                                                       128                     //(int)(64 * Scale.Y)\r
                                                )\r
                                        );      // ヘサキ\r
                                x += this.tx選曲バー[(int)type].sz画像サイズ.Width;\r
 \r
                                var rc = new Rectangle(\r
-                                       (int)(64 * Scale.X),\r
+                                       128,                            //(int)(64 * Scale.X),\r
                                        0,\r
-                                       (int)(64 * Scale.X),\r
-                                       (int)(64 * Scale.Y)\r
+                                       128,                            //(int)(64 * Scale.X),\r
+                                       128                                     //(int)(64 * Scale.Y)\r
                                );\r
                                while( x < SampleFramework.GameWindowSize.Width )\r
                                {\r
@@ -1304,7 +1306,7 @@ namespace DTXMania
                                                        y,\r
                                                        rc\r
                                                );      // 胴体;64pxずつ横につなげていく。\r
-                                       x += (int)(64 * Scale.Y);\r
+                                       x += 128;               //(int)(64 * Scale.Y);\r
                                }\r
                                //-----------------\r
                                #endregion\r
@@ -1321,17 +1323,28 @@ namespace DTXMania
                                                new Rectangle(\r
                                                        0,\r
                                                        0,\r
-                                                       (int)(64 * Scale.X),\r
-                                                       (int)(32 * Scale.Y)\r
+                                                       128,    //(int) ( 64 * Scale.X ),\r
+                                                       64              //(int) ( 32 * Scale.Y )\r
+                                                       //(int)(64 * Scale.X),\r
+                                                       //(int)(32 * Scale.Y)\r
                                                )\r
                                        );              // ヘサキ\r
-                               x += (int)(64 * Scale.X);\r
+                               x += 64;                //(int) ( 64 * Scale.X );\r
 \r
                                var rc = new Rectangle(\r
+                                       64,\r
                                        0,\r
-                                       (int)(32 * Scale.Y),\r
-                                       (int)(64 * Scale.X),\r
-                                       (int)(32 * Scale.Y)\r
+                                       64,\r
+                                       64\r
+                                       //0,\r
+                                       //(int)(32 * Scale.Y),\r
+                                       //(int)(64 * Scale.X),\r
+                                       //(int)(32 * Scale.Y)\r
+\r
+                                       //128,          //0,\r
+                                       //0,            //(int)(32 * Scale.Y),\r
+                                       //128,          //(int)(64 * Scale.X),\r
+                                       //128                   //(int)(32 * Scale.Y)\r
                                );\r
                                while( x < SampleFramework.GameWindowSize.Width )\r
                                {\r
@@ -1342,7 +1355,7 @@ namespace DTXMania
                                                        y,\r
                                                        rc\r
                                                );      // 胴体;64pxずつ横につなげていく。\r
-                                       x += (int)(64 * Scale.X);\r
+                                       x += 64;        // (int) ( 64 * Scale.X );\r
                                }\r
                                //-----------------\r
                                #endregion\r
index 0f67194..e57a7a1 100644 (file)
Binary files a/DTXManiaプロジェクト/作成資料/ScreenSelect bar box selected.psd and b/DTXManiaプロジェクト/作成資料/ScreenSelect bar box selected.psd differ
index 414c1ae..3bce683 100644 (file)
Binary files a/DTXManiaプロジェクト/作成資料/ScreenSelect bar box.psd and b/DTXManiaプロジェクト/作成資料/ScreenSelect bar box.psd differ
index 47d9060..0caedbf 100644 (file)
Binary files a/DTXManiaプロジェクト/作成資料/ScreenSelect bar other selected.PSD and b/DTXManiaプロジェクト/作成資料/ScreenSelect bar other selected.PSD differ
index 5335592..e7c4686 100644 (file)
Binary files a/DTXManiaプロジェクト/作成資料/ScreenSelect bar other.psd and b/DTXManiaプロジェクト/作成資料/ScreenSelect bar other.psd differ
index 6d352ba..709dedf 100644 (file)
Binary files a/DTXManiaプロジェクト/作成資料/ScreenSelect bar score selected.psd and b/DTXManiaプロジェクト/作成資料/ScreenSelect bar score selected.psd differ
index 8f9d0a3..be4ee5c 100644 (file)
Binary files a/DTXManiaプロジェクト/作成資料/ScreenSelect bar score.psd and b/DTXManiaプロジェクト/作成資料/ScreenSelect bar score.psd differ
index 830d001..4109f15 100644 (file)
Binary files a/実行時フォルダ/DTXManiaGR.exe and b/実行時フォルダ/DTXManiaGR.exe differ
index 48ebbc3..9a6ad2c 100644 (file)
Binary files a/実行時フォルダ/System/Default/Graphics/ScreenSelect bar box selected.png and b/実行時フォルダ/System/Default/Graphics/ScreenSelect bar box selected.png differ
index 57de973..f608613 100644 (file)
Binary files a/実行時フォルダ/System/Default/Graphics/ScreenSelect bar box.png and b/実行時フォルダ/System/Default/Graphics/ScreenSelect bar box.png differ
index 9101d6f..950a378 100644 (file)
Binary files a/実行時フォルダ/System/Default/Graphics/ScreenSelect bar other selected.png and b/実行時フォルダ/System/Default/Graphics/ScreenSelect bar other selected.png differ
index 2061dab..283fc90 100644 (file)
Binary files a/実行時フォルダ/System/Default/Graphics/ScreenSelect bar other.png and b/実行時フォルダ/System/Default/Graphics/ScreenSelect bar other.png differ
index 4317fbd..4545eb5 100644 (file)
Binary files a/実行時フォルダ/System/Default/Graphics/ScreenSelect bar score selected.png and b/実行時フォルダ/System/Default/Graphics/ScreenSelect bar score selected.png differ
index 095f0b0..e5c4fdb 100644 (file)
Binary files a/実行時フォルダ/System/Default/Graphics/ScreenSelect bar score.png and b/実行時フォルダ/System/Default/Graphics/ScreenSelect bar score.png differ