public Blp(string path) { var handle = MPQ.OpenFile(path); if (handle == IntPtr.Zero) throw new FileNotFoundException(); Data = new BlpData(new MPQStream(handle)); _cache = new Image[Data.MipCount]; }
public Blp(string path) { var handle = MPQ.OpenFile(path); if (handle == IntPtr.Zero) { throw new FileNotFoundException(); } Data = new BlpData(new MPQStream(handle)); _cache = new Image[Data.MipCount]; }