// Token: 0x060007B7 RID: 1975 RVA: 0x000442D8 File Offset: 0x000424D8
 private void dmLogoSegaRunRightFunc(AppMain.DMS_LOGO_SEGA_WORK logo_work)
 {
     logo_work.timer++;
     if (logo_work.timer > 10)
     {
         logo_work.timer = 0;
         logo_work.func  = this.dmLogoSegaDispWaitFunc;
         GsSound.PlaySe("Sega_Logo", logo_work.h_se);
         if (AppMain.GsSystemBgmIsPlay())
         {
             logo_work.h_se.snd_ctrl_param.volume = 0f;
         }
     }
 }
Пример #2
0
    // Token: 0x060017BF RID: 6079 RVA: 0x000D285C File Offset: 0x000D0A5C
    private static void dmManualProcWaitInput(AppMain.DMS_MANUAL_MAIN_WORK main_work)
    {
        if (main_work.proc_input != null)
        {
            main_work.proc_input(main_work);
        }
        int[] array = new int[]
        {
            12,
            13,
            119
        };
        int i   = 0;
        int num = array.Length;

        while (i < num)
        {
            AppMain.AOS_ACTION aos_ACTION = main_work.act[array[i]];
            float frame;
            if (main_work.trg_return.GetState(0U)[10] && main_work.trg_return.GetState(0U)[1])
            {
                frame = 2f;
            }
            else if (main_work.trg_return.GetState(0U)[0])
            {
                frame = 1f;
            }
            else if (2f <= aos_ACTION.frame)
            {
                frame = aos_ACTION.frame;
            }
            else
            {
                frame = 0f;
            }
            AppMain.AoActSetFrame(aos_ACTION, frame);
            i++;
        }
        if ((main_work.flag & 2U) != 0U)
        {
            main_work.proc_update = AppMain.dmManualProcFadeOut;
            if (AppMain.dm_manual_is_pause_maingame)
            {
                AppMain.IzFadeInitEasyColor(0, 32767, 61439, 18U, 0U, 1U, 32f, true);
            }
            else
            {
                AppMain.IzFadeInitEasy(0U, 1U, 32f);
            }
            if (!AppMain.dm_manual_is_pause_maingame)
            {
                AppMain.DmSoundPlaySE("Cancel");
            }
            else
            {
                GsSound.PlaySe("Cancel", main_work.se_handle);
            }
            main_work.flag &= 4294967291U;
            main_work.flag &= 4294967293U;
            return;
        }
        if ((main_work.flag & 8U) != 0U)
        {
            main_work.cur_disp_page++;
            if (main_work.cur_disp_page > 14)
            {
                main_work.cur_disp_page = 14;
            }
            else if (!AppMain.dm_manual_is_pause_maingame)
            {
                AppMain.DmSoundPlaySE("Cursol");
            }
            else
            {
                GsSound.PlaySe("Cursol", main_work.se_handle);
            }
            main_work.flag &= 4294967287U;
            return;
        }
        if ((main_work.flag & 16U) != 0U)
        {
            main_work.cur_disp_page--;
            if (main_work.cur_disp_page < 0)
            {
                main_work.cur_disp_page = 0;
            }
            else if (!AppMain.dm_manual_is_pause_maingame)
            {
                AppMain.DmSoundPlaySE("Cursol");
            }
            else
            {
                GsSound.PlaySe("Cursol", main_work.se_handle);
            }
            main_work.flag &= 4294967279U;
        }
    }
 // Token: 0x06000EE9 RID: 3817 RVA: 0x00084014 File Offset: 0x00082214
 private static void DmSoundPlaySE(string cue_name)
 {
     GsSound.PlaySe(cue_name);
 }