mirror of
https://github.com/xivdev/Penumbra.git
synced 2026-02-23 08:17:59 +01:00
Make line endings explicit in editorconfig and share in sub projects, also apply editorconfig everywhere and move some namespaces.
This commit is contained in:
parent
53adb6fa54
commit
2b4a01df06
155 changed files with 1620 additions and 1614 deletions
|
|
@ -13,8 +13,7 @@ public readonly record struct RgbaPixelData(int Width, int Height, byte[] PixelD
|
|||
|
||||
public RgbaPixelData((int Width, int Height) size, byte[] pixelData)
|
||||
: this(size.Width, size.Height, pixelData)
|
||||
{
|
||||
}
|
||||
{ }
|
||||
|
||||
public Image<Rgba32> ToImage()
|
||||
=> Image.LoadPixelData<Rgba32>(PixelData, Width, Height);
|
||||
|
|
|
|||
|
|
@ -79,8 +79,8 @@ public static class TexFileParser
|
|||
w.Write(header.Width);
|
||||
w.Write(header.Height);
|
||||
w.Write(header.Depth);
|
||||
w.Write((byte) header.MipLevels);
|
||||
w.Write((byte) 0); // TODO Lumina Update
|
||||
w.Write((byte)header.MipLevels);
|
||||
w.Write((byte)0); // TODO Lumina Update
|
||||
unsafe
|
||||
{
|
||||
w.Write(header.LodOffset[0]);
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@ public static class TextureDrawer
|
|||
|
||||
public sealed class PathSelectCombo : FilterComboCache<(string, bool)>
|
||||
{
|
||||
private int _skipPrefix = 0;
|
||||
private int _skipPrefix = 0;
|
||||
|
||||
public PathSelectCombo(TextureManager textures, ModEditor editor)
|
||||
: base(() => CreateFiles(textures, editor))
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
using System.Collections.Concurrent;
|
||||
using Dalamud.Interface;
|
||||
using Dalamud.Plugin.Services;
|
||||
using ImGuiScene;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue