mirror of
https://github.com/kwsch/pkNX.git
synced 2026-05-13 07:23:06 -05:00
Thanks @sora10pls for double checking some editors, and @Lusamine for some field identification. Closes #115 -- tested the pokedex after randomization and it no longer crashes when randomizing+saving with the latest code in this pull request. Adds: * Shop editor (SWSH + LGPE) * Move editor * Item editor * Symbol (Overworld Pokemon) Behavior editor * Default Rental team editor
25 lines
890 B
C#
25 lines
890 B
C#
using System;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Forms;
|
|
|
|
namespace pkNX.WinForms
|
|
{
|
|
internal static class Program
|
|
{
|
|
/// <summary>
|
|
/// The main entry point for the application.
|
|
/// </summary>
|
|
[STAThread]
|
|
private static void Main()
|
|
{
|
|
// Make FlatSharp build the serializers for our FlatBuffer objects now and take the startup penalty async
|
|
// Opening a FlatBuffer editor later won't be hit with a >5s delay assuming the user opens the editor no earlier than 10 seconds after program startup.
|
|
_ = Task.Run(() => _ = Structures.FlatBuffers.FlatBufferConverter.SerializeFrom(new Structures.FlatBuffers.Waza8()));
|
|
|
|
Application.EnableVisualStyles();
|
|
Application.SetCompatibleTextRenderingDefault(false);
|
|
Application.Run(new Main());
|
|
}
|
|
}
|
|
}
|