Improve Path preprocessing.

This commit is contained in:
Ottermandias 2024-06-18 18:33:37 +02:00
parent f9c45a2f3f
commit cf1dcfcb7c
14 changed files with 209 additions and 246 deletions

View file

@ -179,8 +179,6 @@ public class DebugTab : Window, ITab
ImGui.NewLine();
DrawData();
ImGui.NewLine();
DrawDebugTabMetaLists();
ImGui.NewLine();
DrawResourceProblems();
ImGui.NewLine();
DrawPlayerModelInfo();
@ -788,23 +786,6 @@ public class DebugTab : Window, ITab
}
}
private void DrawDebugTabMetaLists()
{
if (!ImGui.CollapsingHeader("Metadata Changes"))
return;
using var table = Table("##DebugMetaTable", 3, ImGuiTableFlags.SizingFixedFit);
if (!table)
return;
foreach (var list in _characterUtility.Lists)
{
ImGuiUtil.DrawTableColumn(list.GlobalMetaIndex.ToString());
ImGuiUtil.DrawTableColumn(list.Entries.Count.ToString());
ImGuiUtil.DrawTableColumn(string.Join(", ", list.Entries.Select(e => $"0x{e.Data:X}")));
}
}
/// <summary> Draw information about the resident resource files. </summary>
private unsafe void DrawDebugResidentResources()
{