示例#1
0
        public override void Draw()
        {
            holdback.Draw();
            holdeffect.Draw();
            int pressCount = PressingCount;

            if (pressCount > 0)
            {
                bonuses[pressCount - 1].Draw();
                numbers[pressCount - 1].Draw();
            }
            holdnumber.Draw();
            holdplus.Draw();
            if (maxbonus)
            {
                maxback.Draw();
                maxeffect.Draw();
                holdbonus.Draw();
                maxnumber.Draw();
                maxplus.Draw();
            }
            for (int i = 0; i < marks.Length; i++)
            {
                marks[i].Draw();
            }
        }
示例#2
0
 public override void Draw()
 {
     if (Hidden || !Focused)
     {
         return;
     }
     if (Focused)
     {
         black.Draw();
         confirm.Draw();
         songname.Draw();
         difficulty.Draw();
         play.Draw();
     }
 }
示例#3
0
 public override void Draw()
 {
     back.Draw();
     scoreboard.Draw();
     difficulty.Draw();
     top.Draw();
     bottom.Draw();
     if (state >= State.done)
     {
         result[(int)Result].Draw();
         select.Draw();
         for (int i = 0; i < selects.Length; i++)
         {
             if (currentselect == i)
             {
                 continue;
             }
             selects[i].Draw();
         }
     }
     if (state < State.waitfadeforretry)
     {
         songname.Draw();
         difficultstring.Draw();
     }
     if (state == State.done)
     {
         retry.Draw();
         retur.Draw();
         if (highscore)
         {
             high.Draw();
         }
     }
     for (int i = 0; i <= (int)state; i++)
     {
         if (i <= (int)State.combocounting)
         {
             scoresmalls[i].Draw();
         }
         else if (i == (int)State.scorecounting)
         {
             scorebig.Draw();
             break;
         }
     }
     black.Draw();
 }
示例#4
0
 public override void Draw()
 {
     if (Hidden)
     {
         return;
     }
     for (int i = 0; i < dxsts.Length; i++)
     {
         int diff = Math.Abs(selectnum - i);
         if (diff <= 3)
         {
             if (diff == 0)
             {
                 anim.Position = new Vector2(currentx * (float)Math.Pow(4, diff), currenty - 5);
                 if (Focused)
                 {
                     anim.Draw();
                 }
                 else
                 {
                     back.Position = new Vector2(currentx * (float)Math.Pow(4, diff), currenty + (i - selectnum) * (height + 5));
                     back.Alpha    = (float)1 / (diff + 1);
                     back.Draw();
                 }
             }
             else
             {
                 back.Position = new Vector2(currentx * (float)Math.Pow(4, diff), currenty + (i - selectnum) * (height + 5));
                 back.Alpha    = (float)1 / (diff + 1);
                 back.Draw();
             }
             dxsts[i].Position = new Vector2(40 + currentx * (float)Math.Pow(4, diff), currenty + (i - selectnum) * (height + 5) + 5);
             dxsts[i].Alpha    = (float)1 / (diff + 1);
             dxsts[i].Draw();
             if (!infos[i].IsPPDSong)
             {
                 folder.Position = new Vector2(5 + currentx * (float)Math.Pow(4, diff), currenty + (i - selectnum) * (height + 5));
                 folder.Draw();
             }
         }
     }
 }
示例#5
0
 public override void Draw()
 {
     background.Draw();
     if (!PPDSetting.Setting.LightMode)
     {
         wave.Draw();
     }
     if (mb != null)
     {
         mb.Draw();
     }
     if (mt != null)
     {
         mt.Draw();
     }
     if (sic != null)
     {
         sic.Draw();
     }
     if (cc != null)
     {
         cc.Draw();
     }
     if (mss != null)
     {
         mss.Draw();
     }
     foreach (PictureObject po in pictureobjects)
     {
         po.Draw();
     }
     if (!cc.Focused)
     {
         modetext.Draw();
         autotext.Draw();
         speedtext.Draw();
         randomtext.Draw();
     }
 }
示例#6
0
 public override void Draw()
 {
     if (!Hidden)
     {
         conf.Draw();
         top.Draw();
         bottom.Draw();
         for (int i = 0; i < selects.Length; i++)
         {
             if ((int)pausetype == i)
             {
                 select.Draw();
             }
             else
             {
                 selects[i].Draw();
             }
         }
         resume.Draw();
         retry.Draw();
         retur.Draw();
     }
 }
示例#7
0
 public override void Draw()
 {
     if (infos[selectnum].IsPPDSong)
     {
         flare.Draw();
     }
     PictureObject[] temps = new PictureObject[pics.Length];
     float[]         xs    = new float[pics.Length];
     for (int i = 0; i < pics.Length; i++)
     {
         temps[i] = pics[i];
         xs[i]    = pics[i].Scale.X;
     }
     Array.Sort(xs, temps);
     for (int i = 0; i < pics.Length; i++)
     {
         temps[i].Draw();
         refrect.Draw(temps[i]);
     }
     if (infos[selectnum].IsPPDSong)
     {
         gloss.Draw();
     }
 }
示例#8
0
 public override void Draw()
 {
     anim.Draw();
 }
示例#9
0
 public override void Draw()
 {
     if (Hidden)
     {
         return;
     }
     if (state == State.normal)
     {
         infoboards[0].Draw();
         if (exist[0])
         {
             bpm.Draw();
         }
         if (exist[1])
         {
             easy.Draw();
         }
         if (exist[2])
         {
             normal.Draw();
         }
         if (exist[3])
         {
             hard.Draw();
         }
         if (exist[4])
         {
             extreme.Draw();
         }
         if (songinfo != null && songinfo.IsPPDSong)
         {
             SA.Draw();
         }
         for (int i = 0; i < infos.Length; i++)
         {
             if (exist[i])
             {
                 infos[i].Draw();
             }
         }
     }
     else if (state == State.focused)
     {
         infoboards[1].Draw();
         focusedbpm.Draw();
         difficulty.Draw();
         hiscore.Draw();
         for (int i = 0; i < pictureobjects.Count; i++)
         {
             if (selectdifficulty != Difficulty.Other)
             {
                 pictureobjects[i].Draw();
             }
         }
         if (selectdifficulty != Difficulty.Other)
         {
             anim.Draw();
         }
         for (int i = 0; i < difficulties.Length; i++)
         {
             difficulties[i].Draw();
         }
     }
     else if (state == State.fadeout)
     {
         focusedbpm.Draw();
         difficulty.Draw();
         hiscore.Draw();
         for (int i = 0; i < pictureobjects.Count; i++)
         {
             pictureobjects[i].Draw();
         }
         for (int i = 0; i < difficulties.Length; i++)
         {
             difficulties[i].Draw();
         }
     }
 }