예제 #1
0
        public void ShowInformation()
        {
            string source = LocaleManager.instance.GetLocaleText("information_body");
            string final  = source.Replace("?", Application.version).Replace("#", GlobalTheme.Platform());

            MessageBox.Show(LocaleManager.instance.GetLocaleText("information_head"), final, MessageBoxButton.OK);
        }
예제 #2
0
        public void ShowGameInfo()
        {
            string BodyText = "";

            string tsl, tff, tsa; // tsl, tff는 쓰이지 않음
            bool   tap, trw, tmi;

            DataSender.ResultPopOut(out tsl, out tff, out tap, out trw, out tmi, out tsa);
            float speed, sync;
            bool  hit, tpst;
            int   flick;

            data.ResultPopOut(out speed, out sync, out hit, out tpst, out flick);

            BodyText += (LocaleManager.instance.GetLocaleText("result_platform") + ": ");
            BodyText += GlobalTheme.Platform();
            BodyText += Environment.NewLine;
            BodyText += (LocaleManager.instance.GetLocaleText("selectsong_autoplay") + ": ");
            if (tap.Equals(true))
            {
                BodyText += LocaleManager.instance.GetLocaleText("result_on");
            }
            else
            {
                BodyText += LocaleManager.instance.GetLocaleText("result_off");
            }
            BodyText += Environment.NewLine;
            BodyText += (LocaleManager.instance.GetLocaleText("selectsong_mirror") + ": ");
            if (tmi.Equals(true))
            {
                BodyText += LocaleManager.instance.GetLocaleText("result_on");
            }
            else
            {
                BodyText += LocaleManager.instance.GetLocaleText("result_off");
            }
            BodyText += Environment.NewLine;
            BodyText += (LocaleManager.instance.GetLocaleText("selectsong_scrollamp") + ": x" + tsa);
            BodyText += Environment.NewLine;
            BodyText += (LocaleManager.instance.GetLocaleText("result_notespeed") + ": " + speed.ToString());
            BodyText += Environment.NewLine;
            BodyText += (LocaleManager.instance.GetLocaleText("result_gamesync") + ": " + sync.ToString());
            BodyText += Environment.NewLine;
            BodyText += (LocaleManager.instance.GetLocaleText("selectsong_randwave") + ": ");
            if (trw.Equals(true))
            {
                BodyText += LocaleManager.instance.GetLocaleText("result_on");
            }
            else
            {
                BodyText += LocaleManager.instance.GetLocaleText("result_off");
            }
            BodyText += Environment.NewLine;
            BodyText += (LocaleManager.instance.GetLocaleText("setting_tempesticset") + ": ");
            if (tpst)
            {
                BodyText += LocaleManager.instance.GetLocaleText("result_activated");
            }
            else
            {
                BodyText += LocaleManager.instance.GetLocaleText("result_notactivated");
            }
            BodyText += Environment.NewLine;
            BodyText += (LocaleManager.instance.GetLocaleText("setting_flicksensitiveset") + ": ");
            if (flick.Equals(0))
            {
                BodyText += LocaleManager.instance.GetLocaleText("result_flickloose");
            }
            else if (flick.Equals(1))
            {
                BodyText += LocaleManager.instance.GetLocaleText("result_flicknormal");
            }
            else if (flick.Equals(2))
            {
                BodyText += LocaleManager.instance.GetLocaleText("result_flickstrict");
            }
            else if (flick.Equals(3))
            {
                BodyText += LocaleManager.instance.GetLocaleText("result_flickdynamic");
            }

            MessageBox.Show(LocaleManager.instance.GetLocaleText("result_gameinfo"), BodyText, MessageBoxButton.OK);
        }