internal override bool Reconstruct(BlamLib.Blam.CacheFile c) { Invert_Value(ref power_transition_time.Value); Invert_Value(ref power_acceleration_time.Value); Invert_Value(ref position_transition_time.Value); Invert_Value(ref position_acceleration_time.Value); Invert_Value(ref depowered_position_transition_time.Value); Invert_Value(ref depowered_position_acceleration_time.Value); PredictedResources.DeleteAll(); return(true); }
internal override bool Reconstruct(BlamLib.Blam.CacheFile c) { PredictedResources.DeleteAll(); bool result = true; // recreate the section data if (ClusterData.Count != 1) { structure_bsp_cluster_data_block_new cdata; ClusterData.Add(out cdata); result = cdata.Section.Value.Reconstruct(c, SectionInfo.Value, GeometryBlockInfo.Value); } GeometryBlockInfo.Value.ClearPostReconstruction(); return(result); }
internal override bool Reconstruct(BlamLib.Blam.CacheFile c) { PredictedResources.DeleteAll(); EditorScenarioData.Delete(); LevelData.DeleteAll(); SharedReferences.DeleteAll(); SimulationDefinitionTable.DeleteAll(); DeleteCompiledScripts(); if (ScenarioResources.Count >= 1) { var scenario_resources = ScenarioResources[0]; scenario_resources.references.DeleteAll(); scenario_resources.ai_resources.DeleteAll(); } return(true); }
internal override bool Reconstruct(BlamLib.Blam.CacheFile c) { PredictedResources.DeleteAll(); return(true); }