Ejemplo n.º 1
0
        public void Load(BinaryReader reader, int size)
        {
            var startPos = reader.BaseStream.Position;

            while (reader.BaseStream.Position < startPos + size)
            {
                var ptc = new TwinsPTC();
                ptc.Load(reader, 0);
                PTCs.Add(ptc);
            }
        }
Ejemplo n.º 2
0
        public void Load(BinaryReader reader, int size)
        {
            var pages = reader.ReadInt32();

            for (var i = 0; i < pages; ++i)
            {
                var page = new TwinsPTC();
                page.Load(reader, 0);
                FontPages.Add(page);
            }
            var vecAmt = reader.ReadInt32();

            UnkInt = reader.ReadInt32();
            for (var i = 0; i < vecAmt; ++i)
            {
                var vec = new TwinsVector4();
                vec.Load(reader, 16);
                Vectors.Add(vec);
            }
        }