//

        public void Start(int number)
        {
            NowShowingNumber = number;
            Counter_In       = new CCounter(0, 999, 1, TJAPlayer3.Timer);
            ScreenPoint      = new double[] { TJAPlayer3.Skin.nScrollFieldBGX[0] - TJAPlayer3.Tx.DanC_Screen.szテクスチャサイズ.Width / 2, 1280 };
            TJAPlayer3.stage演奏ドラム画面.ReSetScore(TJAPlayer3.DTX.List_DanSongs[NowShowingNumber].ScoreInit, TJAPlayer3.DTX.List_DanSongs[NowShowingNumber].ScoreDiff);
            IsAnimating = true;
            TJAPlayer3.stage演奏ドラム画面.actPanel.SetPanelString(TJAPlayer3.DTX.List_DanSongs[NowShowingNumber].Title, TJAPlayer3.DTX.List_DanSongs[NowShowingNumber].Genre, 1 + NowShowingNumber + "曲目");
            Sound_Section?.tサウンドを先頭から再生する();
        }
Пример #2
0
        //

        public void Start(int number)
        {
            NowShowingNumber = number;
            Counter_In       = new CCounter(0, 999, 1, TJAPlayer3.Timer);
            ScreenPoint      = new double[] { TJAPlayer3.Skin.nScrollFieldBGX[0] - TJAPlayer3.Tx.DanC_Screen.szテクスチャサイズ.Width / 2, 1280 };
            TJAPlayer3.stage演奏ドラム画面.ReSetScore(TJAPlayer3.DTX.List_DanSongs[NowShowingNumber].ScoreInit, TJAPlayer3.DTX.List_DanSongs[NowShowingNumber].ScoreDiff);
            IsAnimating = true;
            TJAPlayer3.stage演奏ドラム画面.actPanel.SetPanelString(TJAPlayer3.DTX.List_DanSongs[NowShowingNumber].Title, TJAPlayer3.DTX.List_DanSongs[NowShowingNumber].Genre, 1 + NowShowingNumber + "曲目");
            var pfTitle    = new CPrivateFont();
            var pfSubTitle = new CPrivateFont();

            if (!string.IsNullOrEmpty(TJAPlayer3.ConfigIni.FontName))
            {
                pfTitle    = new CPrivateFont(new FontFamily(TJAPlayer3.ConfigIni.FontName), 30);
                pfSubTitle = new CPrivateFont(new FontFamily(TJAPlayer3.ConfigIni.FontName), 22);
            }
            else
            {
                pfTitle    = new CPrivateFont(new FontFamily("MS UI Gothic"), 30);
                pfSubTitle = new CPrivateFont(new FontFamily("MS UI Gothic"), 22);
            }

            if (!string.IsNullOrEmpty(TJAPlayer3.DTX.List_DanSongs[NowShowingNumber].Title))
            {
                using (var bmpSongTitle = pfTitle.DrawPrivateFont(TJAPlayer3.DTX.List_DanSongs[NowShowingNumber].Title, Color.White, Color.Black))
                {
                    TJAPlayer3.DTX.List_DanSongs[NowShowingNumber].TitleTex            = TJAPlayer3.tテクスチャの生成(bmpSongTitle, false);
                    TJAPlayer3.DTX.List_DanSongs[NowShowingNumber].TitleTex.vc拡大縮小倍率.X = TJAPlayer3.GetSongNameXScaling(ref TJAPlayer3.DTX.List_DanSongs[NowShowingNumber].TitleTex, 710);
                }
            }

            if (!string.IsNullOrEmpty(TJAPlayer3.DTX.List_DanSongs[NowShowingNumber].SubTitle))
            {
                using (var bmpSongSubTitle = pfSubTitle.DrawPrivateFont(TJAPlayer3.DTX.List_DanSongs[NowShowingNumber].SubTitle, Color.White, Color.Black))
                {
                    TJAPlayer3.DTX.List_DanSongs[NowShowingNumber].SubTitleTex            = TJAPlayer3.tテクスチャの生成(bmpSongSubTitle, false);
                    TJAPlayer3.DTX.List_DanSongs[NowShowingNumber].SubTitleTex.vc拡大縮小倍率.X = TJAPlayer3.GetSongNameXScaling(ref TJAPlayer3.DTX.List_DanSongs[NowShowingNumber].SubTitleTex, 710);
                }
            }

            pfTitle?.Dispose();
            pfSubTitle?.Dispose();
            Sound_Section?.tサウンドを先頭から再生する();
        }
Пример #3
0
        //

        public void Start(int number)
        {
            if (TJAPlayer4.stage選曲.n確定された曲の難易度[0] != (int)Difficulty.Dan)
            {
                return;
            }
            NowShowingNumber = number;

            nNowCombo     = 0;
            nPerfectCount = TJAPlayer4.stage演奏ドラム画面.nヒット数_Auto含む[0].Drums.Perfect + TJAPlayer4.stage演奏ドラム画面.nヒット数_Auto含まない[0].Drums.Perfect;
            nGoodCount    = TJAPlayer4.stage演奏ドラム画面.nヒット数_Auto含む[0].Drums.Great + TJAPlayer4.stage演奏ドラム画面.nヒット数_Auto含まない[0].Drums.Great;
            nMissCount    = TJAPlayer4.stage演奏ドラム画面.nヒット数_Auto含まない[0].Drums.Miss;
            nRollCount    = TJAPlayer4.stage演奏ドラム画面.GetRoll(0);
            nScoreCount   = (int)TJAPlayer4.stage演奏ドラム画面.actScore.GetScore(0);
            Counter_In    = new CCounter(0, 999, 1, TJAPlayer4.Timer);
            Update(false);
            ScreenPoint = new double[] { TJAPlayer4.Skin.nScrollFieldBGX[0] - TJAPlayer4.Tx.DanC_Screen.szテクスチャサイズ.Width / 2, 1280 };
            TJAPlayer4.stage演奏ドラム画面.ReSetScore(TJAPlayer4.DTX[0].List_DanSongs[NowShowingNumber].ScoreInit, TJAPlayer4.DTX[0].List_DanSongs[NowShowingNumber].ScoreDiff, 0);
            IsAnimating = true;
            TJAPlayer4.stage演奏ドラム画面.actPanel.SetPanelString(TJAPlayer4.DTX[0].List_DanSongs[NowShowingNumber].Title, TJAPlayer4.DTX[0].List_DanSongs[NowShowingNumber].Genre, 1 + NowShowingNumber + "曲目");
            Sound_Section?.tサウンドを先頭から再生する();
        }