bool LoadGFX(string filename) { try { return(gfx.Open(filename, ref sprite)); } catch (System.Exception ex) { LaunchError(ex.Message); return(false); } }
public void LoadGFX(string filename) { source.Open(filename, ref bmp); count = (byte)(bmp.Width / 16 / source.Resolution); framesCount = (byte)(bmp.Height / 16 / source.Resolution - 1); }