OSDN Git Service

develop マージ時の不整合を修正。
authorくまかみ工房 <kumakamikoubou@gmail.com>
Wed, 19 Oct 2016 05:05:45 +0000 (14:05 +0900)
committerくまかみ工房 <kumakamikoubou@gmail.com>
Wed, 19 Oct 2016 05:05:45 +0000 (14:05 +0900)
StrokeStyleT/StrokeStyleT.cs
StrokeStyleT/ステージ/演奏/スクロール譜面.cs

index f90f721..ccbecfc 100644 (file)
@@ -239,26 +239,13 @@ namespace SST
                                        switch( this.現在のステージ.GetType().Name )
                                        {
                                                case nameof( ステージ.ステージ ):
-                                                       #region " ã\83\93ã\83¥ã\82¢ã\83¼ã\83¢ã\83¼ã\83\89 â\86\92 AutoPlayerã\81§ã\83­ã\82°ã\82¤ã\83³ã\81\97ã\81¦æ\9b²èª­è¾¼ステージ(ビュアーモード)へ。"
+                                                       #region " ã\83\93ã\83¥ã\82¢ã\83¼ã\83¢ã\83¼ã\83\89 â\86\92 AutoPlayerã\81§ã\83­ã\82°ã\82¤ã\83³ã\81\97ã\81¦æ¼\94å¥\8fステージ(ビュアーモード)へ。"
                                                        //----------------
                                                        if( StrokeStyleT.ビュアーモードである )
                                                        {
                                                                this.ログインする( Properties.Resources.AUTOPLAYER );
-
-                                                               // 演奏開始のビュアーメッセージが存在すれば、ファイルを読み込む。
-                                                               if( 0 < StrokeStyleT.ビュアーメッセージキュー.メッセージ数 )
-                                                               {
-                                                                       var msg = StrokeStyleT.ビュアーメッセージキュー.取り出す();
-                                                                       if( msg.種別 == ステージ.演奏.ビュアーメッセージ.E種別.演奏開始 )
-                                                                       {
-                                                                               StrokeStyleT.曲ツリー管理.現在選択されているノード = new SST.曲.MusicNode( msg.曲ファイルパス ) {
-                                                                                       親ノード = null,
-                                                                               };
-                                                                       }
-                                                               }
-
-                                                               this.曲読込ステージ.活性化する( this.デバイスリソース );
-                                                               this.現在のステージ = this.曲読込ステージ;
+                                                               this.演奏ステージ.活性化する( this.デバイスリソース );
+                                                               this.現在のステージ = this.演奏ステージ;
                                                        }
                                                        //----------------
                                                        #endregion
@@ -314,13 +301,13 @@ namespace SST
                                                        //---------------
                                                        if( this.ログインステージ.現在のフェーズ == ステージ.ログイン.ログインステージ.フェーズ.確定 )
                                                        {
-                                                               StrokeStyleT.ユーザ管理.ユーザを選択する( this.ログインステージ.ユーザインデックス );
+                                                               this.ログインする( this.ログインステージ.ユーザインデックス );
 
                                                                var user = StrokeStyleT.ユーザ管理.現在選択されているユーザ;
-                                                               FDK.Log.Info( $"ユーザが選択されました。[{user.名前}]" );
 
                                                                foreach( var path in user.曲の検索元フォルダパスのリスト )
                                                                        SST.曲.曲ツリー管理.フォルダから曲を再帰的に検索して子ノードリストに追加する( user.曲ツリーのルートノード, path );
+
                                                                StrokeStyleT.曲ツリー管理.現在の管理対象ツリー = StrokeStyleT.ユーザ管理.現在選択されているユーザ.曲ツリーのルートノード;
 
                                                                this.現在のステージ.非活性化する( this.デバイスリソース );
@@ -603,11 +590,6 @@ namespace SST
                        StrokeStyleT.ユーザ管理.ユーザを選択する( ユーザリストのインデックス番号 );
                        FDK.Log.Info( $"ユーザが選択されました。[{StrokeStyleT.ユーザ管理.現在選択されているユーザ.名前}]" );
                }
-               private void 現在ログインしているユーザの曲ツリーを構築する()
-               {
-                       StrokeStyleT.ユーザ管理.現在選択されているユーザ.曲を検索して曲ツリーを構築する();
-                       StrokeStyleT.曲ツリー管理.現在の管理対象ツリー = StrokeStyleT.ユーザ管理.現在選択されているユーザ.曲ツリーのルートノード;
-               }
 
                #region " Win32 API "
                //-----------------
index f853f02..a563288 100644 (file)
@@ -127,7 +127,7 @@ namespace SST.ステージ.演奏
                                                        #region " AutoPlay チップなら、自動ヒット判定を行う。"
                                                        //----------------
                                                        if( ( チップ.ヒットされていない ) &&    // チップが未ヒット、かつ、
-                                                               ( StrokeStyleT.ユーザ管理.現在選択されているユーザ.チップ種別に対応するAutoPlayを返す( チップ.チップ種別 ) ) &&    // チップの AutoPlay が ON、かつ、
+                                                               ( StrokeStyleT.ユーザ管理.現在選択されているユーザ.チップが自動演奏である( チップ.チップ種別 ) ) &&    // チップの AutoPlay が ON、かつ、
                                                                ( 0 <= 描画距離dpx ) )  // バーを通過した。
                                                        {
                                                                チップ.ヒット済みである = true;