using Microsoft.Xna.Framework;
using System.Collections.Generic;
namespace OpenVIII
{
public abstract partial class SP2
{
#region Classes
public class TexProps
{
#region Fields
///
/// For big textures.
///
public List Big;
///
/// Override palette of texture to this and don't load other palettes. If null ignore.
///
public Color[] Colors;
///
/// Number of Textures
///
public uint Count;
/// Filename. To match more than one number use {0:00} or {00:00} for ones with leading
/// zeros.
public string Filename;
#endregion Fields
#region Properties
///
/// Position in Filename of texture
///
public uint Offset { get; set; }
#endregion Properties
//public TexProps(string filename, uint Count, params BigTexProps[] big)
//{
// Filename = filename;
// Count = Count;
// if (big != null && Count != big.Length && big.Length > 0)
// throw new Exception($"Count of big textures should match small ones {Count} != {big.Length}");
// Big = big.ToList();
// Colors = null;
//}
//public TexProps(string filename, uint Count, Color[] colors, params BigTexProps[] big)
//{
// Filename = filename;
// Count = Count;
// if (big != null && Count != big.Length && big.Length > 0)
// throw new Exception($"Count of big textures should match small ones {Count} != {big.Length}");
// Big = big.ToList();
// Colors = colors;
//}
//Texture_Base.TextureType TextureType;
}
#endregion Classes
}
}