public FLCFile(Stream setStream) { stream = setStream; header = null; ShouldLoop = true; IsPlaying = false; IsPaused = false; PauseAfterFirstFrame = false; currentFrame = null; currentPalette = null; }
public bool Open() { reader = new BinaryReader (stream); header = FLCHeader.ReadFromStream (reader); if (header.type != unchecked((short)0xAF12)) throw new Exception ("Can only open FLC videos (Type 0xAF12)"); currentFrame = new FLCFrameBuffer (this); return true; }