Removed unused files

master
1987kostya 4 years ago
parent 2326131e3e
commit 6ec7b77d17

@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16 # Visual Studio Version 16
VisualStudioVersion = 16.0.30517.126 VisualStudioVersion = 16.0.30517.126
MinimumVisualStudioVersion = 10.0.40219.1 MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotNetCTFDumper", "NetMFAPatcher\DotNetCTFDumper.csproj", "{86D99F9E-98FB-4E50-AB68-F5C115850C33}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotNetCTFDumper", "DotNetCTFDumper\DotNetCTFDumper.csproj", "{86D99F9E-98FB-4E50-AB68-F5C115850C33}"
EndProject EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution

@ -1,5 +1,6 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Drawing;
using System.Linq; using System.Linq;
using System.Web.UI.WebControls.Expressions; using System.Web.UI.WebControls.Expressions;
using System.Xml.Schema; using System.Xml.Schema;
@ -101,7 +102,7 @@ namespace DotNetCTFDumper.MMFParser.Translation
var newLoader = new Active(null); var newLoader = new Active(null);
newLoader.ObjectFlags = (int) itemLoader.Flags.flag; newLoader.ObjectFlags = (int) itemLoader.Flags.flag;
newLoader.NewObjectFlags = (int) itemLoader.NewFlags.flag; newLoader.NewObjectFlags = (int) itemLoader.NewFlags.flag;
newLoader.BackgroundColor = itemLoader.BackColor; newLoader.BackgroundColor = Color.FromArgb(itemLoader.BackColor.R,itemLoader.BackColor.G,itemLoader.BackColor.B);
//newLoader.Qualifiers; //newLoader.Qualifiers;
newLoader.Strings = ConvertStrings(itemLoader.Strings); newLoader.Strings = ConvertStrings(itemLoader.Strings);
newLoader.Values = ConvertValue(itemLoader.Values); newLoader.Values = ConvertValue(itemLoader.Values);
@ -232,20 +233,23 @@ namespace DotNetCTFDumper.MMFParser.Translation
frameItem = FrameItems[instance.ObjectInfo]; frameItem = FrameItems[instance.ObjectInfo];
} }
catch{} catch{}
if(frameItem!=null) newFrameItems.Add(frameItem);
if (frameItem != null)
{
newFrameItems.Add(frameItem);
var newInstance = new FrameInstance((ByteReader) null); var newInstance = new FrameInstance((ByteReader) null);
newInstance.X = instance.X; newInstance.X = instance.X;
newInstance.Y = instance.Y; newInstance.Y = instance.Y;
newInstance.Handle = i; newInstance.Handle = i;
newInstance.Flags = 8; newInstance.Flags = 0;
newInstance.ParentType = (uint) instance.ParentType; newInstance.ParentType = (uint) instance.ParentType;
newInstance.ItemHandle = instance.ObjectInfo; newInstance.ItemHandle = instance.ObjectInfo;
newInstance.ParentHandle = (uint) instance.ParentHandle; newInstance.ParentHandle = (uint) instance.ParentHandle;
newInstance.Layer = (uint)instance.Layer; newInstance.Layer = (uint) instance.Layer;
newInstances.Add(newInstance); newInstances.Add(newInstance);
} }
break;
}
} }
} }

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save