示例#1
0
 public PsxTim(KaitaiStream p__io, KaitaiStruct p__parent = null, PsxTim p__root = null) : base(p__io)
 {
     m_parent  = p__parent;
     m_root    = p__root ?? this;
     f_hasClut = false;
     f_bpp     = false;
     _read();
 }
示例#2
0
 private void _read()
 {
     _magic    = m_io.EnsureFixedContents(new byte[] { 32, 0, 0, 0 });
     _tim1Size = m_io.ReadU4le();
     _tim1     = new PsxTim(m_io);
     _tim2Size = m_io.ReadU4le();
     _tim2     = new PsxTim(m_io);
 }
示例#3
0
 public Bitmap(KaitaiStream p__io, PsxTim p__parent = null, PsxTim p__root = null) : base(p__io)
 {
     m_parent = p__parent;
     m_root   = p__root;
     _read();
 }