OSDN Git Service

#34099 シャッターを表示するクラスを追加。
authorkairera0467 <gennsou76573@gmail.com>
Sun, 26 Mar 2017 04:24:33 +0000 (13:24 +0900)
committerkairera0467 <gennsou76573@gmail.com>
Sun, 26 Mar 2017 04:24:33 +0000 (13:24 +0900)
#xxxxx リザルト画面のフォントを自由に変更できるようにするための準備
#xxxxx StageEffect画像の自動拡大縮小を追加

DTXManiaプロジェクト/DTXManiaプロジェクト.csproj
DTXManiaプロジェクト/コード/ステージ/07.演奏/CAct演奏AVI.cs
DTXManiaプロジェクト/コード/ステージ/07.演奏/CStage演奏画面共通.cs
DTXManiaプロジェクト/コード/ステージ/07.演奏/ドラム画面/CStage演奏ドラム画面.cs
DTXManiaプロジェクト/コード/全体/CConfigIni.cs
DTXManiaプロジェクト/コード/全体/CSkin.cs
実行時フォルダ/DTXManiaGR.exe
実行時フォルダ/dll/FDK.dll

index c4715b0..b17caea 100644 (file)
     <Compile Include="コード\ステージ\07.演奏\CAct演奏ステージ失敗.cs" />
     <Compile Include="コード\ステージ\07.演奏\CAct演奏ステータスパネル共通.cs" />
     <Compile Include="コード\ステージ\07.演奏\CAct演奏チップファイアGB.cs" />
+    <Compile Include="コード\ステージ\07.演奏\CAct演奏シャッター.cs" />
     <Compile Include="コード\ステージ\07.演奏\CAct演奏パネル文字列.cs" />
     <Compile Include="コード\ステージ\07.演奏\CAct演奏レーンフラッシュGB共通.cs" />
     <Compile Include="コード\ステージ\07.演奏\CAct演奏判定文字列共通.cs" />
index 6393866..9e75c35 100644 (file)
@@ -384,7 +384,15 @@ namespace DTXMania
                             if( CDTXMania.ConfigIni.bDrums有効 )
                             {
                                 if( this.txArフィルインエフェクト[ this.ctStageEffect進行.n現在の値 ] != null )
+                                {
+                                    float fWidth = 1280.0f / this.txArフィルインエフェクト[ this.ctStageEffect進行.n現在の値 ].sz画像サイズ.Width;
+                                    float fHeight = 720.0f / this.txArフィルインエフェクト[ this.ctStageEffect進行.n現在の値 ].sz画像サイズ.Height;
+
+                                    Vector3 vcRatio = new Vector3( fWidth, fHeight, 1.0f );
+
+                                    this.txArフィルインエフェクト[ this.ctStageEffect進行.n現在の値 ].vc拡大縮小倍率 = vcRatio;
                                     this.txArフィルインエフェクト[ this.ctStageEffect進行.n現在の値 ].t2D描画( CDTXMania.app.Device, 0, 0 );
+                                }
                             }
                     }
                 }
index 04ee64b..bed1f66 100644 (file)
@@ -668,6 +668,7 @@ namespace DTXMania
                protected CAct演奏演奏情報 actPlayInfo;
                protected CAct演奏RGB共通 actRGB;
                public CAct演奏スコア共通 actScore;
+        protected CAct演奏シャッター actShutter;
                protected CAct演奏ステージ失敗 actStageFailed;
                protected CAct演奏ステータスパネル共通 actStatusPanels;
                protected CAct演奏WailingBonus共通 actWailingBonus;
index 38a700f..c1b0c6f 100644 (file)
@@ -45,6 +45,7 @@ namespace DTXMania
                        base.list子Activities.Add( this.actPanel = new CAct演奏パネル文字列() );
                        base.list子Activities.Add( this.actStageFailed = new CAct演奏ステージ失敗() );
                        base.list子Activities.Add( this.actPlayInfo = new CAct演奏演奏情報() );
+            base.list子Activities.Add( this.actShutter = new CAct演奏シャッター() );
                        base.list子Activities.Add( this.actFI = new CActFIFOBlack() );
                        base.list子Activities.Add( this.actFO = new CActFIFOBlack() );
                        base.list子Activities.Add( this.actFOClear = new CActFIFOWhite() );
@@ -225,6 +226,7 @@ namespace DTXMania
                                this.t進行描画_チップアニメ();
                 this.t進行描画_チップ_模様( E楽器パート.DRUMS );
                                bIsFinishedPlaying = this.t進行描画_チップ(E楽器パート.DRUMS);
+                this.actShutter.On進行描画();
                                this.t進行描画_演奏情報();
                                this.t進行描画_ドラムパッド();
                 this.actAVI.tウィンドウクリップを表示する();
index 00ceae1..ecb9401 100644 (file)
@@ -559,6 +559,7 @@ namespace DTXMania
         public STDGBVALUE<int> nShutterOutSide;
         public STDGBVALUE<string> strCardName;
         public STDGBVALUE<string> strGroupName;
+        public string ResultSongNameFont;
         #endregion
 
         public bool bConfigIniがないかDTXManiaのバージョンが異なる
@@ -1334,14 +1335,19 @@ namespace DTXMania
             this.nJudgeWidgh = 250;
             this.nJudgeHeight = 170;
             this.nNameColor = new STDGBVALUE<int>();
+            this.nShutterInSide = new STDGBVALUE<int>();
+            this.nShutterOutSide = new STDGBVALUE<int>();
             this.strCardName = new STDGBVALUE<string>();
             this.strGroupName = new STDGBVALUE<string>();
+            this.ResultSongNameFont = "MS PGothic";
 
             for( int i = 0; i < 3; i++ )
             {
                 this.bJudgeLineDisp[ i ] = true;
                 this.bLaneFlush[ i ] = true;
                 this.nLaneDispType[ i ] = 0;
+                this.nShutterInSide[ i ] = 0;
+                this.nShutterOutSide[ i ] = 0;
             }
             #endregion
 
index 1839bd7..a80e97d 100644 (file)
@@ -940,8 +940,24 @@ namespace DTXMania
             }
         }
 
+        //2017.03.05 kairera0467 テストメソッド
+        public string[] strGetShutterList()
+        {
+            //変数の用意
+            string[] arNameList = new string[] { "BLACK" }; //csvファイルが存在しなかった時用
+            bool bFileFound = false;
+
+            //csvを読み込む
+
+            //
+
+
+            return new string[] { "" };
+        }
+
                // その他
         public bool b曲決定後に背景画像を変更する;
+        public string strShutterImgPath; //シャッター画像の相対パス
                #region [ private ]
                //-----------------
                private bool bDisposed済み;
index 0714ee7..92e3e73 100644 (file)
Binary files a/実行時フォルダ/DTXManiaGR.exe and b/実行時フォルダ/DTXManiaGR.exe differ
index f421033..42ea0c5 100644 (file)
Binary files a/実行時フォルダ/dll/FDK.dll and b/実行時フォルダ/dll/FDK.dll differ