// Token: 0x06001425 RID: 5157 RVA: 0x000B29C0 File Offset: 0x000B0BC0 private static void GmEffect3DESAddDispRotation(AppMain.GMS_EFFECT_3DES_WORK efct_3des, short rot_add_x, short rot_add_y, short rot_add_z) { AppMain.OBS_ACTION3D_ES_WORK obj_3des = efct_3des.efct_com.obj_work.obj_3des; obj_3des.disp_rot.x = ( ushort )(( short )(65535L & ( long )(obj_3des.disp_rot.x + ( ushort )rot_add_x))); obj_3des.disp_rot.y = ( ushort )(( short )(65535L & ( long )(obj_3des.disp_rot.y + ( ushort )rot_add_y))); obj_3des.disp_rot.z = ( ushort )(( short )(65535L & ( long )(obj_3des.disp_rot.z + ( ushort )rot_add_z))); }
private static bool ObjAction3dESTextureReleaseCheck(AppMain.OBS_ACTION3D_ES_WORK obj_3des) { if (((int)obj_3des.flag & 1073741824) == 0) { return(true); } if (obj_3des.texlist_data_work != null) { if (AppMain.ObjAction3dESTextureReleaseDworkCheck(obj_3des.texlist_data_work, obj_3des.tex_reg_index)) { obj_3des.texlist_data_work = (AppMain.OBS_DATA_WORK)null; obj_3des.texlist = (AppMain.NNS_TEXLIST)null; obj_3des.texlistbuf = (object)null; obj_3des.tex_reg_index = -1; obj_3des.flag &= 3221225471U; return(true); } } else if (AppMain.amDrawIsRegistComplete(obj_3des.tex_reg_index)) { obj_3des.texlist = (AppMain.NNS_TEXLIST)null; obj_3des.texlistbuf = (object)null; obj_3des.tex_reg_index = -1; obj_3des.flag &= 3221225471U; return(true); } return(false); }
private static bool ObjAction3dESModelReleaseCheck(AppMain.OBS_ACTION3D_ES_WORK obj_3des) { if (((int)obj_3des.flag & int.MinValue) == 0) { return(true); } if (obj_3des.object_data_work != null) { if (AppMain.ObjAction3dESModelReleaseDworkCheck(obj_3des.object_data_work, obj_3des.model_reg_index)) { obj_3des.object_data_work = (AppMain.OBS_DATA_WORK)null; obj_3des._object = (AppMain.NNS_OBJECT)null; obj_3des.model_reg_index = -1; obj_3des.flag &= (uint)int.MaxValue; return(true); } } else if (AppMain.amDrawIsRegistComplete(obj_3des.model_reg_index)) { obj_3des._object = (AppMain.NNS_OBJECT)null; obj_3des.model_reg_index = -1; obj_3des.flag &= (uint)int.MaxValue; return(true); } return(false); }
// Token: 0x06001426 RID: 5158 RVA: 0x000B2A44 File Offset: 0x000B0C44 private static void GmEffect3DESSetDuplicateDraw(AppMain.GMS_EFFECT_3DES_WORK efct_3des, float ofst_x, float ofst_y, float ofst_z) { AppMain.OBS_ACTION3D_ES_WORK obj_3des = efct_3des.efct_com.obj_work.obj_3des; AppMain.amVectorSet(obj_3des.dup_draw_ofst, ofst_x, ofst_y, ofst_z); obj_3des.flag |= 64U; }
// Token: 0x06001964 RID: 6500 RVA: 0x000E5A68 File Offset: 0x000E3C68 public static bool ObjAction3dESTextureReleaseCheck(AppMain.OBS_ACTION3D_ES_WORK obj_3des) { if ((obj_3des.flag & 1073741824U) == 0U) { return(true); } if (obj_3des.texlist_data_work != null) { if (AppMain.ObjAction3dESTextureReleaseDworkCheck(obj_3des.texlist_data_work, obj_3des.tex_reg_index)) { obj_3des.texlist_data_work = null; obj_3des.texlist = null; obj_3des.texlistbuf = null; obj_3des.tex_reg_index = -1; obj_3des.flag &= 3221225471U; return(true); } } else if (AppMain.amDrawIsRegistComplete(obj_3des.tex_reg_index)) { obj_3des.texlist = null; obj_3des.texlistbuf = null; obj_3des.tex_reg_index = -1; obj_3des.flag &= 3221225471U; return(true); } return(false); }
// Token: 0x0600196C RID: 6508 RVA: 0x000E5D7C File Offset: 0x000E3F7C public static bool ObjAction3dESModelReleaseCheck(AppMain.OBS_ACTION3D_ES_WORK obj_3des) { if ((obj_3des.flag & 2147483648U) == 0U) { return(true); } if (obj_3des.object_data_work != null) { if (AppMain.ObjAction3dESModelReleaseDworkCheck(obj_3des.object_data_work, obj_3des.model_reg_index)) { obj_3des.object_data_work = null; obj_3des._object = null; obj_3des.model_reg_index = -1; obj_3des.flag &= 2147483647U; return(true); } } else if (AppMain.amDrawIsRegistComplete(obj_3des.model_reg_index)) { obj_3des._object = null; obj_3des.model_reg_index = -1; obj_3des.flag &= 2147483647U; return(true); } return(false); }
private static bool ObjAction3dESEffectLoadCheck(AppMain.OBS_ACTION3D_ES_WORK obj_3des) { bool flag = true; if (((int)obj_3des.flag & 1073741824) != 0) { if (AppMain.amDrawIsRegistComplete(obj_3des.tex_reg_index)) { obj_3des.flag &= 3221225471U; obj_3des.tex_reg_index = -1; } else { flag = false; } } if (((int)obj_3des.flag & int.MinValue) != 0) { if (AppMain.amDrawIsRegistComplete(obj_3des.model_reg_index)) { obj_3des.flag &= (uint)int.MaxValue; obj_3des.tex_reg_index = -1; } else { flag = false; } } return(flag); }
// Token: 0x06001424 RID: 5156 RVA: 0x000B2978 File Offset: 0x000B0B78 private static void GmEffect3DESSetDispRotation(AppMain.GMS_EFFECT_3DES_WORK efct_3des, short rot_x, short rot_y, short rot_z) { AppMain.OBS_ACTION3D_ES_WORK obj_3des = efct_3des.efct_com.obj_work.obj_3des; obj_3des.disp_rot.x = ( ushort )rot_x; obj_3des.disp_rot.y = ( ushort )rot_y; obj_3des.disp_rot.z = ( ushort )rot_z; }
// Token: 0x06001971 RID: 6513 RVA: 0x000E5F00 File Offset: 0x000E4100 public static bool ObjAction3dESEffectLoadCheck(AppMain.OBS_ACTION3D_ES_WORK obj_3des) { bool result = true; if ((obj_3des.flag & 1073741824U) != 0U) { if (AppMain.amDrawIsRegistComplete(obj_3des.tex_reg_index)) { obj_3des.flag &= 3221225471U; obj_3des.tex_reg_index = -1; } else { result = false; } } if ((obj_3des.flag & 2147483648U) != 0U) { if (AppMain.amDrawIsRegistComplete(obj_3des.model_reg_index)) { obj_3des.flag &= 2147483647U; obj_3des.tex_reg_index = -1; } else { result = false; } } return(result); }
// Token: 0x06001970 RID: 6512 RVA: 0x000E5EB8 File Offset: 0x000E40B8 public static void ObjObjectAction3dESModelSetByDwork(OBS_OBJECT_WORK obj_work, AppMain.OBS_DATA_WORK object_dwork) { AppMain.OBS_ACTION3D_ES_WORK obj_3des = obj_work.obj_3des; AppMain.ObjAction3dESModelLoadToDwork(object_dwork, null, 0U); obj_3des.object_data_work = object_dwork; obj_3des._object = (AppMain.NNS_OBJECT)object_dwork.pData; AppMain.amEffectSetObject(obj_3des.ecb, obj_3des._object, 16); }
// Token: 0x06001961 RID: 6497 RVA: 0x000E5898 File Offset: 0x000E3A98 public static void ObjAction3dESTextureLoad(AppMain.OBS_ACTION3D_ES_WORK obj_3des, AppMain.OBS_DATA_WORK data_work, string filename, int index, AMS_AMB_HEADER archive, bool load_tex) { AMS_AMB_HEADER ams_AMB_HEADER = null; if (archive != null) { obj_3des.flag |= 131072U; } if (filename != null && filename != "") { ams_AMB_HEADER = AmFs.readAMBFile(AppMain.ObjDataLoad(data_work, filename, archive)); if (archive != null && ams_AMB_HEADER == null) { obj_3des.flag &= 4294836223U; ams_AMB_HEADER = AmFs.readAMBFile(AppMain.ObjDataLoad(data_work, filename, null)); } } else if (archive != null) { ams_AMB_HEADER = AmFs.readAMBFile(AppMain.ObjDataLoadAmbIndex(data_work, index, archive)); if (ams_AMB_HEADER == null) { obj_3des.flag &= 4294836223U; } } else if (data_work != null) { ams_AMB_HEADER = AmFs.readAMBFile(AppMain.ObjDataGetInc(data_work)); } if (ams_AMB_HEADER == null) { return; } obj_3des.ambtex = ams_AMB_HEADER; if (data_work != null) { obj_3des.ambtex_data_work = data_work; } if (load_tex) { AppMain.TXB_HEADER txb = AppMain.readTXBfile(AmBind.Get(ams_AMB_HEADER, 0)); uint num = AppMain.amTxbGetCount(txb); obj_3des.texlistbuf = null; AppMain.nnSetUpTexlist(out obj_3des.texlist, ( int )num, ref obj_3des.texlistbuf); if (AppMain.obj_load_initial_set_flag) { AppMain.OBS_LOAD_INITIAL_WORK obs_LOAD_INITIAL_WORK = AppMain.obj_load_initial_work; if (obs_LOAD_INITIAL_WORK.es_num < 255) { obs_LOAD_INITIAL_WORK.obj_3des[obs_LOAD_INITIAL_WORK.es_num] = obj_3des; obs_LOAD_INITIAL_WORK.es_num++; } } obj_3des.tex_reg_index = AppMain.amTextureLoad(obj_3des.texlist, AppMain.amTxbGetTexFileList(txb), filename, ams_AMB_HEADER); obj_3des.flag |= 1073741824U; } }
private static void ObjAction3dESModelLoad( AppMain.OBS_ACTION3D_ES_WORK obj_3des, AppMain.OBS_DATA_WORK data_work, string filename, int index, AppMain.AMS_AMB_HEADER archive, uint drawflag, bool load_model) { object buf = (object)null; if (archive != null) { obj_3des.flag |= 262144U; } if (filename != null && filename != "") { buf = (object)AppMain.ObjDataLoad(data_work, filename, (object)archive); if (archive != null && buf == null) { obj_3des.flag &= 4294705151U; buf = (object)AppMain.ObjDataLoad(data_work, filename, (object)null); } } else if (archive != null) { buf = AppMain.ObjDataLoadAmbIndex(data_work, index, archive); if (buf == null) { obj_3des.flag &= 4294705151U; } } else if (data_work != null) { buf = AppMain.ObjDataGetInc(data_work); } if (buf == null) { return; } obj_3des.model = buf; if (data_work != null) { obj_3des.model_data_work = data_work; } if (!load_model) { return; } AppMain.NNS_TEXLIST texlist = (AppMain.NNS_TEXLIST)null; object texlistbuf = (object)null; obj_3des.model_reg_index = AppMain.amObjectLoad(out obj_3des._object, out texlist, out texlistbuf, buf, drawflag | AppMain.g_obj.load_drawflag, (string)null, (AppMain.AMS_AMB_HEADER)null); obj_3des.flag |= 2147483648U; AppMain.amEffectSetObject(obj_3des.ecb, obj_3des._object, 16); }
public void Clear() { this.prev = this.next = this.draw_prev = this.draw_next = (AppMain.OBS_OBJECT_WORK)null; this.tcb = (AppMain.MTS_TASK_TCB)null; this.pause_level = 0; this.obj_type = (ushort)0; this.vib_timer = this.hitstop_timer = this.invincible_timer = 0; this.view_out_ofst = (short)0; Array.Clear((Array)this.view_out_ofst_plus, 0, this.view_out_ofst_plus.Length); this.user_work_OBJECT = (object)null; this.user_flag_OBJECT = (object)null; this.flag = 0U; this.move_flag = 0U; this.disp_flag = 0U; this.gmk_flag = 0U; this.sys_flag = 0U; this.user_timer = 0; this.dir.Clear(); this.scale.Clear(); this.pos.Clear(); this.ofst.Clear(); this.prev_ofst.Clear(); this.parent_ofst.Clear(); this.lock_obj = (AppMain.OBS_OBJECT_WORK)null; this.prev_pos.Clear(); this.spd.Clear(); this.spd_add.Clear(); this.flow.Clear(); this.move.Clear(); this.spd_m = 0; this.dir_slope = this.dir_fall = (ushort)0; this.spd_slope = this.spd_slope_max = this.spd_fall = this.spd_fall_max = this.push_max = 0; this.col_flag = this.col_flag_prev = 0U; Array.Clear((Array)this.field_rect, 0, this.field_rect.Length); this.field_ajst_w_db_f = this.field_ajst_w_db_b = this.field_ajst_w_dl_f = this.field_ajst_w_dl_b = (sbyte)0; this.field_ajst_w_dt_f = this.field_ajst_w_dt_b = this.field_ajst_w_dr_f = this.field_ajst_w_dr_b = (sbyte)0; this.field_ajst_h_db_r = this.field_ajst_h_db_l = this.field_ajst_h_dl_r = this.field_ajst_h_dl_l = (sbyte)0; this.field_ajst_h_dt_r = this.field_ajst_h_dt_l = this.field_ajst_h_dr_r = this.field_ajst_h_dr_l = (sbyte)0; this.ppFunc = this.ppIn = this.ppOut = this.ppOutSub = this.ppMove = (AppMain.MPP_VOID_OBS_OBJECT_WORK)null; this.ppActCall = (AppMain.OBS_OBJECT_WORK_Delegate2)null; this.ppRec = this.ppLast = this.ppCol = (AppMain.MPP_VOID_OBS_OBJECT_WORK)null; this.ppViewCheck = (AppMain.OBS_OBJECT_WORK_Delegate3)null; this.ppUserRelease = this.ppUserReleaseWait; this.ride_obj = this.touch_obj = this.lock_obj = this.locker_obj = (AppMain.OBS_OBJECT_WORK)null; this.parent_obj = (AppMain.OBS_OBJECT_WORK)null; this.ex_work = (object)null; this.obj_3d = (AppMain.OBS_ACTION3D_NN_WORK)null; this.obj_3des = (AppMain.OBS_ACTION3D_ES_WORK)null; this.obj_2d = (AppMain.OBS_ACTION2D_AMA_WORK)null; this.col_work = (AppMain.OBS_COLLISION_WORK)null; this.tbl_work = (AppMain.OBS_TBL_WORK)null; this.temp_ofst.Clear(); this.prev_temp_ofst.Clear(); this.rect_num = 0U; this.rect_work = (AppMain.ArrayPointer <AppMain.OBS_RECT_WORK>)(AppMain.OBS_RECT_WORK[]) null; }
private static void ObjObjectAction3dESEffectLoad( AppMain.OBS_OBJECT_WORK obj_work, AppMain.OBS_ACTION3D_ES_WORK obj_3des, AppMain.OBS_DATA_WORK data_work, string filename, int index, AppMain.AMS_AMB_HEADER archive) { AppMain.ObjObjectAction3dESEffectLoad(obj_work, obj_3des, data_work, filename, index, archive, 0, 0); }
// Token: 0x06001968 RID: 6504 RVA: 0x000E5BC4 File Offset: 0x000E3DC4 public static void ObjObjectAction3dESTextureSetByDwork(OBS_OBJECT_WORK obj_work, AppMain.OBS_DATA_WORK texlist_dwork) { AppMain.OBS_ACTION3D_ES_WORK obj_3des = obj_work.obj_3des; object obj = null; AppMain.ObjAction3dESTextureLoadToDwork(texlist_dwork, null, ref obj); obj_3des.texlist_data_work = texlist_dwork; obj_3des.texlist = (AppMain.NNS_TEXLIST)texlist_dwork.pData; obj_3des.texlistbuf = texlist_dwork.pData; }
private static void ObjObjectAction3dESTextureLoad( AppMain.OBS_OBJECT_WORK obj_work, AppMain.OBS_ACTION3D_ES_WORK obj_3des, AppMain.OBS_DATA_WORK data_work, string filename, int index, AppMain.AMS_AMB_HEADER archive, bool load_tex) { AppMain.ObjAction3dESTextureLoad(obj_3des, data_work, filename, index, archive, load_tex); }
private static void ObjObjectAction3dESTextureSetByDwork( AppMain.OBS_OBJECT_WORK obj_work, AppMain.OBS_DATA_WORK texlist_dwork) { AppMain.OBS_ACTION3D_ES_WORK obj3des = obj_work.obj_3des; object texlist_buf = (object)null; AppMain.ObjAction3dESTextureLoadToDwork(texlist_dwork, (AppMain.AMS_AMB_HEADER)null, ref texlist_buf); obj3des.texlist_data_work = texlist_dwork; obj3des.texlist = (AppMain.NNS_TEXLIST)texlist_dwork.pData; obj3des.texlistbuf = texlist_dwork.pData; }
private static void ObjObjectAction3dESModelLoad( AppMain.OBS_OBJECT_WORK obj_work, AppMain.OBS_ACTION3D_ES_WORK obj_3des, AppMain.OBS_DATA_WORK data_work, string filename, int index, AppMain.AMS_AMB_HEADER archive, uint drawflag, bool load_model) { AppMain.ObjAction3dESModelLoad(obj_3des, data_work, filename, index, archive, drawflag, load_model); }
private static void ObjAction3dESEffectLoad( AppMain.OBS_ACTION3D_ES_WORK obj_3des, AppMain.OBS_DATA_WORK data_work, string filename, int index, AppMain.AMS_AMB_HEADER archive, int user_attr, int ecb_prio) { object obj = (object)null; obj_3des.command_state = 0U; obj_3des.user_attr = user_attr; obj_3des.speed = 1f; if (archive != null) { obj_3des.flag |= 65536U; } if (filename != null && filename != "") { obj = (object)AppMain.ObjDataLoad(data_work, filename, (object)archive); if (archive != null && obj == null) { obj_3des.flag &= 4294901759U; obj = (object)AppMain.ObjDataLoad(data_work, filename, (object)null); } } else if (archive != null) { obj = AppMain.ObjDataLoadAmbIndex(data_work, index, archive); if (obj == null) { obj_3des.flag &= 4294901759U; } } else if (data_work != null) { obj = AppMain.ObjDataGetInc(data_work); } if (obj == null) { return; } obj_3des.eff = obj; if (data_work != null) { obj_3des.eff_data_work = data_work; } obj_3des.ecb = AppMain._amEffectCreate((AppMain.AMS_AME_HEADER)obj_3des.eff, user_attr, ecb_prio); }
private static void ObjAction3dESModelRelease(AppMain.OBS_ACTION3D_ES_WORK obj_3des) { obj_3des.model_reg_index = obj_3des.object_data_work == null?AppMain.amObjectRelease(obj_3des._object) : AppMain.ObjAction3dESModelReleaseDwork(obj_3des.object_data_work); if (obj_3des.model_reg_index != -1) { obj_3des.flag |= 2147483648U; } else { obj_3des.object_data_work = (AppMain.OBS_DATA_WORK)null; obj_3des._object = (AppMain.NNS_OBJECT)null; } }
private static void ObjAction3dESTextureRelease(AppMain.OBS_ACTION3D_ES_WORK obj_3des) { obj_3des.tex_reg_index = obj_3des.texlist_data_work == null?AppMain.amTextureRelease(obj_3des.texlist) : AppMain.ObjAction3dESTextureReleaseDwork(obj_3des.texlist_data_work); if (obj_3des.tex_reg_index != -1) { obj_3des.flag |= 1073741824U; } else { obj_3des.texlist_data_work = (AppMain.OBS_DATA_WORK)null; obj_3des.texlist = (AppMain.NNS_TEXLIST)null; obj_3des.texlistbuf = (object)null; } }
// Token: 0x06001969 RID: 6505 RVA: 0x000E5C08 File Offset: 0x000E3E08 public static void ObjAction3dESModelLoad(AppMain.OBS_ACTION3D_ES_WORK obj_3des, AppMain.OBS_DATA_WORK data_work, string filename, int index, AMS_AMB_HEADER archive, uint drawflag, bool load_model) { object obj = null; if (archive != null) { obj_3des.flag |= 262144U; } if (filename != null && filename != "") { obj = AppMain.ObjDataLoad(data_work, filename, archive); if (archive != null && obj == null) { obj_3des.flag &= 4294705151U; obj = AppMain.ObjDataLoad(data_work, filename, null); } } else if (archive != null) { obj = AppMain.ObjDataLoadAmbIndex(data_work, index, archive); if (obj == null) { obj_3des.flag &= 4294705151U; } } else if (data_work != null) { obj = AppMain.ObjDataGetInc(data_work); } if (obj == null) { return; } obj_3des.model = obj; if (data_work != null) { obj_3des.model_data_work = data_work; } if (load_model) { AppMain.NNS_TEXLIST nns_TEXLIST = null; object obj2 = null; obj_3des.model_reg_index = AppMain.amObjectLoad(out obj_3des._object, out nns_TEXLIST, out obj2, obj, drawflag | AppMain.g_obj.load_drawflag, null, null); obj2 = null; obj_3des.flag |= 2147483648U; AppMain.amEffectSetObject(obj_3des.ecb, obj_3des._object, 16); } }
// Token: 0x0600196B RID: 6507 RVA: 0x000E5D18 File Offset: 0x000E3F18 public static void ObjAction3dESModelRelease(AppMain.OBS_ACTION3D_ES_WORK obj_3des) { if (obj_3des.object_data_work != null) { obj_3des.model_reg_index = AppMain.ObjAction3dESModelReleaseDwork(obj_3des.object_data_work); } else { obj_3des.model_reg_index = AppMain.amObjectRelease(obj_3des._object); } if (obj_3des.model_reg_index != -1) { obj_3des.flag |= 2147483648U; return; } obj_3des.object_data_work = null; obj_3des._object = null; }
// Token: 0x0600195F RID: 6495 RVA: 0x000E582C File Offset: 0x000E3A2C public static void ObjObjectAction3dESEffectLoad(OBS_OBJECT_WORK obj_work, AppMain.OBS_ACTION3D_ES_WORK obj_3des, AppMain.OBS_DATA_WORK data_work, string filename, int index, AMS_AMB_HEADER archive, int user_attr, int ecb_prio) { if (obj_3des == null) { if (obj_work.obj_3des != null) { obj_3des = obj_work.obj_3des; } else { obj_3des = new AppMain.OBS_ACTION3D_ES_WORK(); } obj_3des.Clear(); obj_work.flag |= 268435456U; } obj_work.obj_3des = obj_3des; AppMain.ObjAction3dESEffectLoad(obj_3des, data_work, filename, index, archive, user_attr, ecb_prio); }
// Token: 0x06001963 RID: 6499 RVA: 0x000E59FC File Offset: 0x000E3BFC public static void ObjAction3dESTextureRelease(AppMain.OBS_ACTION3D_ES_WORK obj_3des) { if (obj_3des.texlist_data_work != null) { obj_3des.tex_reg_index = AppMain.ObjAction3dESTextureReleaseDwork(obj_3des.texlist_data_work); } else { obj_3des.tex_reg_index = AppMain.amTextureRelease(obj_3des.texlist); } if (obj_3des.tex_reg_index != -1) { obj_3des.flag |= 1073741824U; return; } obj_3des.texlist_data_work = null; obj_3des.texlist = null; obj_3des.texlistbuf = null; }
// Token: 0x06001421 RID: 5153 RVA: 0x000B2900 File Offset: 0x000B0B00 private static void GmEffect3DESSetDispOffset(AppMain.GMS_EFFECT_3DES_WORK efct_3des, float ofst_x, float ofst_y, float ofst_z) { AppMain.OBS_ACTION3D_ES_WORK obj_3des = efct_3des.efct_com.obj_work.obj_3des; AppMain.amVectorSet(obj_3des.disp_ofst, ofst_x, ofst_y, ofst_z); }
// Token: 0x06001422 RID: 5154 RVA: 0x000B292C File Offset: 0x000B0B2C public static void GmEffect3DESAddDispOffset(AppMain.GMS_EFFECT_3DES_WORK efct_3des, float ofst_add_x, float ofst_add_y, float ofst_add_z) { AppMain.OBS_ACTION3D_ES_WORK obj_3des = efct_3des.efct_com.obj_work.obj_3des; AppMain.amVectorAdd(obj_3des.disp_ofst, ofst_add_x, ofst_add_y, ofst_add_z); }
// Token: 0x06001427 RID: 5159 RVA: 0x000B2A80 File Offset: 0x000B0C80 private static void GmEffect3DESClearDuplicateDraw(AppMain.GMS_EFFECT_3DES_WORK efct_3des) { AppMain.OBS_ACTION3D_ES_WORK obj_3des = efct_3des.efct_com.obj_work.obj_3des; AppMain.amVectorInit(obj_3des.dup_draw_ofst); obj_3des.flag &= 4294967231U; }
// Token: 0x06001960 RID: 6496 RVA: 0x000E5884 File Offset: 0x000E3A84 public static void ObjAction3dESEffectRelease(AppMain.OBS_ACTION3D_ES_WORK obj_3des) { AppMain.amEffectDelete(obj_3des.ecb); obj_3des.ecb = null; }
// Token: 0x0600141F RID: 5151 RVA: 0x000B2724 File Offset: 0x000B0924 private static void GmEffect3DESSetupBase(AppMain.GMS_EFFECT_3DES_WORK efct_3des, uint pos_type, uint init_flag) { OBS_OBJECT_WORK obs_OBJECT_WORK = (OBS_OBJECT_WORK)efct_3des; AppMain.OBS_ACTION3D_ES_WORK obj_3des = obs_OBJECT_WORK.obj_3des; efct_3des.saved_pos_type = pos_type; efct_3des.saved_init_flag = init_flag; switch (pos_type) { case 0U: obj_3des.flag &= 4294967294U; obj_3des.flag &= 4294967293U; break; case 1U: obj_3des.flag |= 1U; obj_3des.flag &= 4294967293U; break; case 2U: obj_3des.flag |= 1U; obj_3des.flag |= 2U; break; default: AppMain.mppAssertNotImpl(); break; } if ((init_flag & 1U) != 0U) { obs_OBJECT_WORK.disp_flag |= 4194304U; } else { obs_OBJECT_WORK.disp_flag &= 4290772991U; } if ((init_flag & 2U) != 0U) { obs_OBJECT_WORK.flag |= 1024U; } else { obs_OBJECT_WORK.flag &= 4294966271U; } if ((init_flag & 4U) != 0U) { obj_3des.flag |= 8U; } else { obj_3des.flag &= 4294967287U; } if ((init_flag & 16U) != 0U) { obs_OBJECT_WORK.disp_flag &= 4294967039U; } else { obs_OBJECT_WORK.disp_flag |= 256U; } if ((init_flag & 64U) != 0U) { obj_3des.flag |= 16U; } else { obj_3des.flag &= 4294967279U; } if ((init_flag & 32U) != 0U) { obs_OBJECT_WORK.flag &= 4294443007U; } else { obs_OBJECT_WORK.flag |= 524288U; } obs_OBJECT_WORK.ppFunc = AppMain._GmEffectDefaultMainFuncDeleteAtEnd; }