Weapos Rejiggered
Modified weapon scripts to eliminate specialized projectile behavior - allows charged weapons to have projectiles and modify weapon stats when charged Added machine gun weapon & VFX Moved third party code to Plugins folder to improve compile times
This commit is contained in:
parent
2a0fe34611
commit
dbc522a224
2105 changed files with 7033 additions and 1141 deletions
|
|
@ -1,64 +0,0 @@
|
|||
// #if TEST_MSAGL
|
||||
// using System;
|
||||
// using System.Collections.Generic;
|
||||
// using System.IO;
|
||||
// using System.Linq;
|
||||
// using System.Runtime.Serialization;
|
||||
// using System.Runtime.Serialization.Formatters.Binary;
|
||||
//
|
||||
// namespace Microsoft.Msagl.DebugHelpers{
|
||||
// /// <summary>
|
||||
// ///
|
||||
// /// </summary>
|
||||
// [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711:IdentifiersShouldNotHaveIncorrectSuffix"), Serializable]
|
||||
// public class DebugCurveCollection{
|
||||
// /// <summary>
|
||||
// ///
|
||||
// /// </summary>
|
||||
// /// <param name="debugCurves"></param>
|
||||
// DebugCurveCollection(IEnumerable<DebugCurve> debugCurves){
|
||||
// DebugCurvesArray = debugCurves.ToArray();
|
||||
// }
|
||||
// /// <summary>
|
||||
// ///
|
||||
// /// </summary>
|
||||
// [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1051:DoNotDeclareVisibleInstanceFields")]
|
||||
// public DebugCurve[] DebugCurvesArray;
|
||||
//
|
||||
// ///<summary>
|
||||
// ///</summary>
|
||||
// ///<param name="debugCurves"></param>
|
||||
// ///<param name="fileName"></param>
|
||||
// [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Reliability", "CA2000:Dispose objects before losing scope")]
|
||||
// public static void WriteToFile(IEnumerable<DebugCurve> debugCurves, string fileName) {
|
||||
// Stream stream = File.Open(fileName, FileMode.Create);
|
||||
// var bformatter = new BinaryFormatter();
|
||||
// try {
|
||||
// bformatter.Serialize(stream, new DebugCurveCollection(debugCurves));
|
||||
// }
|
||||
// catch (SerializationException e) {
|
||||
// Console.WriteLine(e.ToString());
|
||||
// }
|
||||
// stream.Close();
|
||||
// }
|
||||
//
|
||||
// ///<summary>
|
||||
// ///</summary>
|
||||
// ///<param name="fileName"></param>
|
||||
// [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Reliability", "CA2000:Dispose objects before losing scope")]
|
||||
// public static IEnumerable<DebugCurve> ReadFromFile(string fileName) {
|
||||
// Stream stream = File.Open(fileName, FileMode.Open);
|
||||
// var bformatter = new BinaryFormatter();
|
||||
// DebugCurveCollection dc = null;
|
||||
// try {
|
||||
// dc = bformatter.Deserialize(stream) as DebugCurveCollection;
|
||||
// }
|
||||
// catch (SerializationException e) {
|
||||
// Console.WriteLine(e.ToString());
|
||||
// }
|
||||
// stream.Close();
|
||||
// return new List<DebugCurve>(dc.DebugCurvesArray);
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// #endif
|
||||
Loading…
Reference in a new issue