示例#1
0
    // Token: 0x06000269 RID: 617 RVA: 0x00013B7C File Offset: 0x00011D7C
    private static void gmGmkStopperLockWait(OBS_OBJECT_WORK obj_work)
    {
        AppMain.GMS_GMK_STOPPER_WORK gms_GMK_STOPPER_WORK = (AppMain.GMS_GMK_STOPPER_WORK)obj_work;
        if (gms_GMK_STOPPER_WORK.ply_work != AppMain.g_gm_main_system.ply_work[(int)((UIntPtr)0)] ||
            gms_GMK_STOPPER_WORK.ply_work.gmk_obj != obj_work || gms_GMK_STOPPER_WORK.ply_work.seq_state != 40)
        {
            AppMain.gmGmkStopperReset(obj_work);
            return;
        }

        GMS_PLAYER_WORK ply_work = gms_GMK_STOPPER_WORK.ply_work;

        if (obj_work.pos.x == ply_work.obj_work.pos.x && obj_work.pos.y == ply_work.obj_work.pos.y)
        {
            if (gms_GMK_STOPPER_WORK.call_slot_id >= 0)
            {
                AppMain.GmGmkSlotStartRequest(gms_GMK_STOPPER_WORK.call_slot_id, ply_work);
                obj_work.ppFunc = AppMain.gmGmkStopperStay_Slot;
                GmSound.PlaySE("Casino3");
                return;
            }

            obj_work.ppFunc = AppMain.gmGmkStopperStay_Norm;
            if (gms_GMK_STOPPER_WORK.se_handle != null)
            {
                GsSound.StopSE(gms_GMK_STOPPER_WORK.se_handle);
                GsSound.FreeSeHandle(gms_GMK_STOPPER_WORK.se_handle);
            }

            gms_GMK_STOPPER_WORK.se_handle       = GsSound.AllocSeHandle();
            gms_GMK_STOPPER_WORK.se_handle.flag |= 2147483648U;
            GmSound.PlaySE("Casino3", gms_GMK_STOPPER_WORK.se_handle);
        }
    }
示例#2
0
 // Token: 0x06000275 RID: 629 RVA: 0x000145A0 File Offset: 0x000127A0
 private static void gmGmkSpCtpltSeStop(OBS_OBJECT_WORK obj_work)
 {
     AppMain.GMS_GMK_SPCTPLT_WORK gms_GMK_SPCTPLT_WORK = (AppMain.GMS_GMK_SPCTPLT_WORK)obj_work;
     if (gms_GMK_SPCTPLT_WORK.se_handle != null)
     {
         GsSound.StopSeHandle(gms_GMK_SPCTPLT_WORK.se_handle);
         GsSound.FreeSeHandle(gms_GMK_SPCTPLT_WORK.se_handle);
         gms_GMK_SPCTPLT_WORK.se_handle = null;
     }
 }
示例#3
0
 // Token: 0x06001B26 RID: 6950 RVA: 0x000F7D84 File Offset: 0x000F5F84
 private static void gmGmkPressWallSeStop(OBS_OBJECT_WORK obj_work)
 {
     AppMain.GMS_GMK_PWALL_WORK gms_GMK_PWALL_WORK = (AppMain.GMS_GMK_PWALL_WORK)obj_work;
     if (gms_GMK_PWALL_WORK.se_handle != null)
     {
         GsSound.StopSeHandle(gms_GMK_PWALL_WORK.se_handle);
         GsSound.FreeSeHandle(gms_GMK_PWALL_WORK.se_handle);
         gms_GMK_PWALL_WORK.se_handle = null;
     }
 }
示例#4
0
 // Token: 0x0600066E RID: 1646 RVA: 0x000391BC File Offset: 0x000373BC
 public static void gmGmkTruckDest(MTS_TASK_TCB tcb)
 {
     AppMain.GMS_GMK_TRUCK_WORK gms_GMK_TRUCK_WORK = (AppMain.GMS_GMK_TRUCK_WORK)AppMain.mtTaskGetTcbWork(tcb);
     if (gms_GMK_TRUCK_WORK.h_snd_lorry != null)
     {
         GsSound.StopSE(gms_GMK_TRUCK_WORK.h_snd_lorry);
         GsSound.FreeSeHandle(gms_GMK_TRUCK_WORK.h_snd_lorry);
         gms_GMK_TRUCK_WORK.h_snd_lorry = null;
     }
     AppMain.GmEnemyDefaultExit(tcb);
 }
示例#5
0
 // Token: 0x06000FE6 RID: 4070 RVA: 0x0008AAC8 File Offset: 0x00088CC8
 private static void gmGmkRockChaseTcbDest(MTS_TASK_TCB tcb)
 {
     AppMain.GMS_GMK_ROCK_CHASE_WORK gms_GMK_ROCK_CHASE_WORK = (AppMain.GMS_GMK_ROCK_CHASE_WORK)AppMain.mtTaskGetTcbWork(tcb);
     if (gms_GMK_ROCK_CHASE_WORK.se_handle != null)
     {
         GsSound.StopSE(gms_GMK_ROCK_CHASE_WORK.se_handle);
         GsSound.FreeSeHandle(gms_GMK_ROCK_CHASE_WORK.se_handle);
         gms_GMK_ROCK_CHASE_WORK.se_handle = null;
     }
     AppMain.GmEnemyDefaultExit(tcb);
 }
示例#6
0
 // Token: 0x06000077 RID: 119 RVA: 0x00006310 File Offset: 0x00004510
 private static void gmGmkBumperDestFunc(MTS_TASK_TCB tcb)
 {
     AppMain.GMS_GMK_BUMPER_WORK gms_GMK_BUMPER_WORK = (tcb.work is AppMain.GMS_GMK_BUMPER_WORK) ? ((AppMain.GMS_GMK_BUMPER_WORK)tcb.work) : ((AppMain.GMS_GMK_BUMPER_WORK)AppMain.mtTaskGetTcbWork(tcb));
     if (gms_GMK_BUMPER_WORK.se_handle != null)
     {
         GsSound.StopSE(gms_GMK_BUMPER_WORK.se_handle);
         GsSound.FreeSeHandle(gms_GMK_BUMPER_WORK.se_handle);
         gms_GMK_BUMPER_WORK.se_handle = null;
     }
     AppMain.GmEnemyDefaultExit(tcb);
 }
示例#7
0
 // Token: 0x06000653 RID: 1619 RVA: 0x000382F8 File Offset: 0x000364F8
 private static void gmGmkWaterSliderEffectDestFunc(MTS_TASK_TCB tcb)
 {
     if (AppMain.g_gm_gmk_water_slider_se_handle != null)
     {
         GsSound.StopSE(AppMain.g_gm_gmk_water_slider_se_handle);
         GsSound.FreeSeHandle(AppMain.g_gm_gmk_water_slider_se_handle);
         AppMain.g_gm_gmk_water_slider_se_handle = null;
     }
     AppMain.GMM_PAD_VIB_STOP();
     AppMain.GmEffectDefaultExit(tcb);
     AppMain.g_gm_gmk_water_slider_effct_player = null;
 }
示例#8
0
 // Token: 0x060017C0 RID: 6080 RVA: 0x000D2A71 File Offset: 0x000D0C71
 private static void dmManualProcFadeOut(AppMain.DMS_MANUAL_MAIN_WORK main_work)
 {
     if (AppMain.IzFadeIsEnd())
     {
         main_work.proc_update = AppMain.dmManualProcStopDraw;
         main_work.proc_draw   = null;
         if (main_work.se_handle != null)
         {
             GsSound.FreeSeHandle(main_work.se_handle);
             main_work.se_handle = null;
         }
     }
 }
示例#9
0
    // Token: 0x06001B09 RID: 6921 RVA: 0x000F6198 File Offset: 0x000F4398
    private static void gmGmkPulleyBaseExit(MTS_TASK_TCB tcb)
    {
        OBS_OBJECT_WORK p = AppMain.mtTaskGetTcbWork(tcb);

        AppMain.GMS_GMK_PULLEY_WORK gms_GMK_PULLEY_WORK = (AppMain.GMS_GMK_PULLEY_WORK)p;
        if (gms_GMK_PULLEY_WORK.se_handle != null)
        {
            GsSound.StopSeHandle(gms_GMK_PULLEY_WORK.se_handle);
            GsSound.FreeSeHandle(gms_GMK_PULLEY_WORK.se_handle);
            gms_GMK_PULLEY_WORK.se_handle = null;
        }
        AppMain.GmEnemyDefaultExit(tcb);
    }
 // Token: 0x060007AD RID: 1965 RVA: 0x00043EA4 File Offset: 0x000420A4
 private void dmLogoSegaEnd(AppMain.DMS_LOGO_SEGA_WORK logo_work)
 {
     this.dmLogoSegaActionDelete(logo_work);
     AppMain.g_obj.ppPre = null;
     AppMain.ObjObjectClearAllObject();
     AppMain.ObjPreExit();
     AppMain.ObjDrawESEffectSystemExit();
     AppMain.ObjExit();
     GsSound.StopSeHandle(logo_work.h_se);
     GsSound.FreeSeHandle(logo_work.h_se);
     GsSound.Halt();
     GsSound.End();
     GsSound.Reset();
 }
示例#11
0
 // Token: 0x06000750 RID: 1872 RVA: 0x00040430 File Offset: 0x0003E630
 public static void gmGmkSwWallDest(MTS_TASK_TCB tcb)
 {
     AppMain.GMS_GMK_SWWALL_WORK gms_GMK_SWWALL_WORK = (AppMain.GMS_GMK_SWWALL_WORK)AppMain.mtTaskGetTcbWork(tcb);
     if ((gms_GMK_SWWALL_WORK.gmk_work.ene_com.enemy_flag & 2U) != 0U)
     {
         AppMain.ObjAction3dNNMotionRelease(gms_GMK_SWWALL_WORK.obj_3d_opt[1]);
     }
     if (gms_GMK_SWWALL_WORK.h_snd != null)
     {
         GsSound.StopSE(gms_GMK_SWWALL_WORK.h_snd);
         GsSound.FreeSeHandle(gms_GMK_SWWALL_WORK.h_snd);
         gms_GMK_SWWALL_WORK.h_snd = null;
     }
     AppMain.GmEnemyDefaultExit(tcb);
 }
示例#12
0
        // Token: 0x06002562 RID: 9570 RVA: 0x0014D0C4 File Offset: 0x0014B2C4
        private void fadeOut()
        {
            float num = 1f - this.m_procCount.GetCount() / 8U;

            this.m_act[0].scale = new Vector2(num, num);
            if (8U < this.m_procCount.GetCount())
            {
                foreach (AppMain.CMain_PauseMenu.SAction saction in this.m_act)
                {
                    AppMain.AoActDelete(saction.act);
                }
                GsSound.FreeSeHandle(this.m_se_handle);
                this.m_flag[7] = false;
                base.DetachTask();
            }
        }
示例#13
0
 // Token: 0x06000268 RID: 616 RVA: 0x00013AD4 File Offset: 0x00011CD4
 private static void gmGmkStopperReset(OBS_OBJECT_WORK obj_work)
 {
     AppMain.GMS_GMK_STOPPER_WORK gms_GMK_STOPPER_WORK = (AppMain.GMS_GMK_STOPPER_WORK)obj_work;
     gms_GMK_STOPPER_WORK.gmk_work.ene_com.col_work.obj_col.obj = obj_work;
     obj_work.flag &= 4294967293U;
     gms_GMK_STOPPER_WORK.player_pass_timer         = 0;
     gms_GMK_STOPPER_WORK.ply_work                  = null;
     gms_GMK_STOPPER_WORK.gmk_work.obj_3d.mat_frame = 0f;
     obj_work.disp_flag |= 16U;
     obj_work.ppFunc     = AppMain.gmGmkStopperStay;
     if (gms_GMK_STOPPER_WORK.se_handle != null)
     {
         GsSound.StopSE(gms_GMK_STOPPER_WORK.se_handle);
         GsSound.FreeSeHandle(gms_GMK_STOPPER_WORK.se_handle);
         gms_GMK_STOPPER_WORK.se_handle = null;
     }
 }
示例#14
0
    // Token: 0x06000D9B RID: 3483 RVA: 0x00077E68 File Offset: 0x00076068
    public static void gmRingDest(MTS_TASK_TCB tcb)
    {
        for (AppMain.GMS_RING_WORK gms_RING_WORK = AppMain.gm_ring_sys_work.ring_list_start; gms_RING_WORK != null; gms_RING_WORK = gms_RING_WORK.post_ring)
        {
            if (gms_RING_WORK.eve_rec != null)
            {
                gms_RING_WORK.eve_rec.pos_x = (byte)(gms_RING_WORK.pos.x >> 12 & 255);
            }
        }
#if !NICE_PHYSICS
        for (int i = 0; i < 2; i++)
        {
            if (AppMain.gm_ring_sys_work.h_snd_ring[i] != null)
            {
                GsSound.StopSE(AppMain.gm_ring_sys_work.h_snd_ring[i]);
                GsSound.FreeSeHandle(AppMain.gm_ring_sys_work.h_snd_ring[i]);
                AppMain.gm_ring_sys_work.h_snd_ring[i] = null;
            }
        }
#endif
        AppMain.gm_ring_tcb      = null;
        AppMain.gm_ring_sys_work = null;
    }
示例#15
0
 // Token: 0x06001B0D RID: 6925 RVA: 0x000F68E8 File Offset: 0x000F4AE8
 private static void gmGmkPulleySecedeSet(OBS_OBJECT_WORK obj_work, int pos_x)
 {
     AppMain.GMS_ENEMY_3D_WORK gms_ENEMY_3D_WORK = (AppMain.GMS_ENEMY_3D_WORK)obj_work;
     if (pos_x != 0)
     {
         obj_work.pos.x = pos_x;
     }
     obj_work.spd.x = 0;
     obj_work.spd.y = 0;
     obj_work.spd_m = 0;
     obj_work.dir.z = 0;
     gms_ENEMY_3D_WORK.ene_com.target_dp_dir.z = obj_work.dir.z;
     AppMain.ObjDrawObjectActionSet3DNN(obj_work, 5, 0);
     obj_work.ppFunc = AppMain.gmGmkPulleySecede;
     AppMain.ObjRectWorkSet(gms_ENEMY_3D_WORK.ene_com.rect_work[2], -4, 9, 4, 24);
     AppMain.gmGmkPulleySparkKill(obj_work);
     AppMain.GMS_GMK_PULLEY_WORK gms_GMK_PULLEY_WORK = (AppMain.GMS_GMK_PULLEY_WORK)obj_work;
     if (gms_GMK_PULLEY_WORK.se_handle != null)
     {
         GsSound.StopSeHandle(gms_GMK_PULLEY_WORK.se_handle);
         GsSound.FreeSeHandle(gms_GMK_PULLEY_WORK.se_handle);
         gms_GMK_PULLEY_WORK.se_handle = null;
     }
 }