NHSE/NHSE.Core/Structures/Misc/GSaveDateMD.cs
Kurt 801db3e130 Add exterior acre pixel dumper, show exterior acres on Field Item editor
980KB -> 12KB when compressed, seems legit

just an array of tile definitions (32x32 style), sequential acres (undefined acres are all zeroed)

tiles aren't displated as granular as possible, only sets as 16x16 tiles instead of larger 32x32, but it should be a good enough color hint to people for editing

big thanks to ninji for the color mapping in his disassembly and the pbc->tile parse
2020-05-09 16:15:37 -07:00

32 lines
900 B
C#

using System.ComponentModel;
using System.Runtime.InteropServices;
#pragma warning disable CS8618, CA1815, CA1819, IDE1006
namespace NHSE.Core
{
[StructLayout(LayoutKind.Sequential, Pack = 1)]
[TypeConverter(typeof(ValueTypeTypeConverter))]
public struct GSaveDateMD
{
public const int SIZE = 2;
public override string ToString() => $"{Month:00}-{Day:00}";
public byte Month { get; set; }
public byte Day { get; set; }
}
[StructLayout(LayoutKind.Sequential, Pack = 2)]
public struct GSavePlayerHandleName
{
public const int SIZE = 0xA;
public ushort ModifierId { get; set; }
public byte ModifierLevel { get; set; }
public ushort NounId { get; set; }
public byte NounLevel { get; set; }
public byte NounGenderType { get; set; }
public byte _fa0a936b { get; set; }
};
}