Skip to content

Commit

Permalink
Merge pull request #33 from burninrubber0/language-refactor
Browse files Browse the repository at this point in the history
Language editor refactor
  • Loading branch information
burninrubber0 committed May 6, 2023
2 parents efdb614 + 03a75f5 commit 4350aaa
Show file tree
Hide file tree
Showing 36 changed files with 1,614 additions and 320 deletions.
3 changes: 1 addition & 2 deletions BaseHandlers/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Reflection;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
Expand Down
3 changes: 1 addition & 2 deletions BundleFormat/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Reflection;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
Expand Down
5 changes: 2 additions & 3 deletions BundleManager/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,8 @@ private void UpdateDisplay()
lstEntries.BeginUpdate();
lstEntries.ListViewItemSorter = null; // Disable sorting while adding

for (int i = 0; i < CurrentArchive.Entries.Count; i++)
foreach (BundleEntry entry in CurrentArchive.Entries)
{
BundleEntry entry = CurrentArchive.Entries[i];
if (entry.EntryBlocks[0].Data == null) // Exception occurred
{
lstEntries.Items.Clear();
Expand All @@ -173,7 +172,7 @@ private void UpdateDisplay()
}
string[] values = new string[]
{
i.ToString("d3"),
entry.Index.ToString("d3"),
entry.DetectName(),
"0x" + entry.ID.ToString("X8"),
entry.Type.ToString(),
Expand Down
3 changes: 1 addition & 2 deletions BundleManager/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Resources;
using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
Expand Down
3 changes: 1 addition & 2 deletions BundleUtilities/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Reflection;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
Expand Down
3 changes: 1 addition & 2 deletions BurnoutImage/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Reflection;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
Expand Down
3 changes: 1 addition & 2 deletions ComponentTester/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Reflection;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
Expand Down
3 changes: 1 addition & 2 deletions HexEditor/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Reflection;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
Expand Down
3 changes: 1 addition & 2 deletions IconLibrary/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Reflection;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
Expand Down
224 changes: 108 additions & 116 deletions LangEditor/LangEdit.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 4350aaa

Please sign in to comment.