// Token: 0x06001B30 RID: 6960 RVA: 0x000F852C File Offset: 0x000F672C private static void gmGmkPressWallCreateParts(OBS_OBJECT_WORK parent_obj, int pos_y, int height) { OBS_OBJECT_WORK obs_OBJECT_WORK = null; for (int i = 0; i < 3; i++) { obs_OBJECT_WORK = AppMain.GMM_EFFECT_CREATE_WORK(() => new AppMain.GMS_GMK_PRESSWALL_PARTS(), parent_obj, 0, "PresswallZ4Parts"); AppMain.GMS_EFFECT_3DNN_WORK gms_EFFECT_3DNN_WORK = (AppMain.GMS_EFFECT_3DNN_WORK)obs_OBJECT_WORK; AppMain.ObjObjectCopyAction3dNNModel(obs_OBJECT_WORK, AppMain.gm_gmk_presswall_obj_3d_list[( int )(( UIntPtr )AppMain.tbl_gmk_z4PressWall_model[i])], gms_EFFECT_3DNN_WORK.obj_3d); obs_OBJECT_WORK.flag &= 4294966271U; obs_OBJECT_WORK.pos.y = pos_y; obs_OBJECT_WORK.pos.z = parent_obj.pos.z + AppMain.tbl_gmk_z4PressWall_ofst_z[i]; obs_OBJECT_WORK.disp_flag |= 4194304U; obs_OBJECT_WORK.disp_flag |= 256U; obs_OBJECT_WORK.disp_flag |= 134217728U; obs_OBJECT_WORK.ppFunc = AppMain.gmGmkPressWallParts; AppMain.GMS_GMK_PRESSWALL_PARTS gms_GMK_PRESSWALL_PARTS = (AppMain.GMS_GMK_PRESSWALL_PARTS)obs_OBJECT_WORK; gms_GMK_PRESSWALL_PARTS.master_posy = pos_y; if (height == 0) { obs_OBJECT_WORK.ppOut = AppMain.gmGmkPressWallZ4Parts_ppOut; } } AppMain.ObjAction3dNNMaterialMotionLoad(obs_OBJECT_WORK.obj_3d, 0, null, null, 0, ( AMS_AMB_HEADER )AppMain.ObjDataGet(895).pData); AppMain.ObjDrawObjectActionSet3DNNMaterial(obs_OBJECT_WORK, 0); obs_OBJECT_WORK.obj_3d.mat_speed = 1f; obs_OBJECT_WORK.disp_flag |= 4U; }
private static void gmGmkPressWallRail(AppMain.OBS_OBJECT_WORK obj_work) { AppMain.GMS_GMK_PRESSWALL_PARTS gmkPresswallParts = (AppMain.GMS_GMK_PRESSWALL_PARTS)obj_work; AppMain.GMS_GMK_PWALL_WORK parentObj = (AppMain.GMS_GMK_PWALL_WORK)obj_work.parent_obj; obj_work.pos.x = obj_work.parent_obj.pos.x; obj_work.pos.y = parentObj.master_posy; obj_work.pos.y += obj_work.parent_obj.user_timer; obj_work.pos.y += gmkPresswallParts.ofst_y; }
// Token: 0x06001B2D RID: 6957 RVA: 0x000F81F8 File Offset: 0x000F63F8 private static void gmGmkPressWallRail(OBS_OBJECT_WORK obj_work) { AppMain.GMS_GMK_PRESSWALL_PARTS gms_GMK_PRESSWALL_PARTS = (AppMain.GMS_GMK_PRESSWALL_PARTS)obj_work; AppMain.GMS_GMK_PWALL_WORK gms_GMK_PWALL_WORK = (AppMain.GMS_GMK_PWALL_WORK)obj_work.parent_obj; obj_work.pos.x = obj_work.parent_obj.pos.x; obj_work.pos.y = gms_GMK_PWALL_WORK.master_posy; obj_work.pos.y = obj_work.pos.y + obj_work.parent_obj.user_timer; obj_work.pos.y = obj_work.pos.y + gms_GMK_PRESSWALL_PARTS.ofst_y; }
private static void gmGmkPressWallZ4Parts_ppOut(AppMain.OBS_OBJECT_WORK obj_work) { AppMain.GMS_GMK_PRESSWALL_PARTS gmkPresswallParts = (AppMain.GMS_GMK_PRESSWALL_PARTS)obj_work; obj_work.pos.y = gmkPresswallParts.master_posy; while (obj_work.pos.y + 786432 < AppMain.g_obj.camera[0][1]) { obj_work.pos.y += 786432; } while (obj_work.pos.y > AppMain.g_obj.camera[0][1]) { obj_work.pos.y -= 786432; } for (int index = obj_work.pos.y - AppMain.g_obj.camera[0][1]; index < 1048576; index += 786432) { AppMain.ObjDrawActionSummary(obj_work); obj_work.pos.y += 786432; } }