コード例 #1
0
    public static void gmStartMsgMain(AppMain.MTS_TASK_TCB tcb)
    {
        int language = AppMain.GsEnvGetLanguage();

        AppMain.GMS_SMSG_MGR_WORK work = (AppMain.GMS_SMSG_MGR_WORK)tcb.work;
        if (work.func != null)
        {
            work.func(work);
        }
        if (((int)work.flag & (int)AppMain.GMD_SMSG_FLAG_END) != 0)
        {
            AppMain.GmStartMsgExit();
            AppMain.GmPlySeqChangeFw(AppMain.g_gm_main_system.ply_work[0]);
            AppMain.g_gm_main_system.ply_work[0].no_key_timer = 32768;
            AppMain.ObjObjectPauseOut();
            AppMain.g_gm_main_system.game_flag |= 3072U;
        }
        else
        {
            if (((int)work.flag & (int)AppMain.GMD_SMSG_FLAG_WIN_DISP) == 0)
            {
                return;
            }
            AppMain.ObjDraw3DNNUserFunc(new AppMain.OBF_DRAW_USER_DT_FUNC(AppMain.gmStartMsgDrawWindowPre_DT), (object)null, 0, 13U);
            AppMain.AoWinSysDrawState(0, AppMain.AoTexGetTexList(AppMain.gm_start_msg_aos_tex[1]), 0U, AppMain.gm_start_msg_win_size_tbl[work.msg_type][language][0], AppMain.gm_start_msg_win_size_tbl[work.msg_type][language][1], (AppMain.gm_start_msg_win_size_tbl[work.msg_type][language][2] - 32f) * work.win_per, (float)(((double)AppMain.gm_start_msg_win_size_tbl[work.msg_type][language][3] - 32.0) * (double)work.win_per * 0.899999976158142 - 16.0), 13U);
        }
    }
コード例 #2
0
    // Token: 0x06000A9A RID: 2714 RVA: 0x0005D3C0 File Offset: 0x0005B5C0
    public static void gmStartMsgMain(MTS_TASK_TCB tcb)
    {
        int num = AppMain.GsEnvGetLanguage();

        AppMain.GMS_SMSG_MGR_WORK gms_SMSG_MGR_WORK = (AppMain.GMS_SMSG_MGR_WORK)tcb.work;
        if (gms_SMSG_MGR_WORK.func != null)
        {
            gms_SMSG_MGR_WORK.func(gms_SMSG_MGR_WORK);
        }
        if ((gms_SMSG_MGR_WORK.flag & AppMain.GMD_SMSG_FLAG_END) != 0U)
        {
            AppMain.GmStartMsgExit();
            AppMain.GmPlySeqChangeFw(AppMain.g_gm_main_system.ply_work[( int )(( UIntPtr )0)]);
            AppMain.g_gm_main_system.ply_work[( int )(( UIntPtr )0)].no_key_timer = 32768;
            AppMain.ObjObjectPauseOut();
            AppMain.g_gm_main_system.game_flag |= 3072U;
            return;
        }
        if ((gms_SMSG_MGR_WORK.flag & AppMain.GMD_SMSG_FLAG_WIN_DISP) != 0U)
        {
            AppMain.ObjDraw3DNNUserFunc(AppMain.gmStartMsgDrawWindowPre_DT, null, 0, 13U);
            AppMain.AoWinSysDrawState(0, AppMain.AoTexGetTexList(AppMain.gm_start_msg_aos_tex[1]), 0U, AppMain.gm_start_msg_win_size_tbl[gms_SMSG_MGR_WORK.msg_type][num][0], AppMain.gm_start_msg_win_size_tbl[gms_SMSG_MGR_WORK.msg_type][num][1], (AppMain.gm_start_msg_win_size_tbl[gms_SMSG_MGR_WORK.msg_type][num][2] + -32f) * gms_SMSG_MGR_WORK.win_per, (AppMain.gm_start_msg_win_size_tbl[gms_SMSG_MGR_WORK.msg_type][num][3] + -32f) * gms_SMSG_MGR_WORK.win_per * 0.9f - 16f, 13U);
        }
    }