1
0
mirror of synced 2024-12-11 07:16:05 +01:00
Switch-Toolbox/File_Format_Library/PluginRuntime.cs
KillzXGaming 4e63b2f5a4 Some fixes
Fixed some byaml editor issues with applying changes.
Fixed some editors updating within iarchives if files are switched.
Fixed l8 textures displaying wrong.
2019-09-07 21:16:16 -04:00

35 lines
1.2 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Bfres.Structs;
namespace FirstPlugin
{
public class PluginRuntime
{
public static List<SARC> SarcArchives = new List<SARC>();
public class MaterialReplace
{
public static bool SwapShaderParams = true;
public static bool SwapTextures = false;
public static bool SwapShaderOptions = true;
public static bool SwapRenderInfos = true;
public static bool SwapUserData = true;
}
public static bool UseSimpleBfresEditor = false;
public static Dictionary<string, BFLIM> bflimTextures = new Dictionary<string, BFLIM>();
public static List<BNTX> bntxContainers = new List<BNTX>();
public static List<BFRESGroupNode> ftexContainers = new List<BFRESGroupNode>();
public static List<BCRESGroupNode> bcresTexContainers = new List<BCRESGroupNode>();
public static string ExternalFMATPath = "";
public static string OdysseyGamePath = "";
public static string Mk8GamePath = "";
public static List<string> SarcHashes = new List<string>(); //Each sarc has their own hash
}
}