Пример #1
0
        public override void parse(NIFFile file, NIFObject baseo, BinaryReader ds)
        {
            base.parse(file, baseo, ds);

            loadExtraData(file, ds);
            stringExtraData = file.loadString(ds);
        }
Пример #2
0
        public override void parse(NIFFile file, NIFObject baseo, BinaryReader ds)
        {
            base.parse(file, baseo, ds);
            this.seqName = file.loadString(ds);
            var numEval = ds.readUInt();

            this.seqEvalIDList = new List <uint>();
            for (int i = 0; i < numEval; i++)
            {
                this.seqEvalIDList.Add(ds.readUInt());
            }
            file.addSequence(this);
        }
Пример #3
0
        public override void parse(NIFFile file, NIFObject baseo, BinaryReader ds)
        {
            base.parse(file, baseo, ds);

            loadObjectNET(file, ds);

            externalTex = ds.readUnsignedByte() > 0;
            texFilename = file.loadString(ds);
            pixLinkID   = ds.readInt();
            mipMapped   = ds.readInt();
            alphaFormat = ds.readInt();
            texStatic   = ds.readUnsignedByte() > 0;

            int unk1 = ds.readUnsignedByte();
            int unk2 = ds.readUnsignedByte();

            texIndex = -1;
            file.addTexture(this);
        }
Пример #4
0
 protected virtual void loadObjectNET(NIFFile file, BinaryReader ds)
 {
     name         = file.loadString(ds);
     extraDataIDs = loadLinkIDs(ds);
     loadLinkID(ds);
 }
Пример #5
0
 protected void loadExtraData(NIFFile file, BinaryReader ds)
 {
     loadObject(file, ds);
     extraDataString = file.loadString(ds);
 }