コード例 #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
ファイル: NIFObject.cs プロジェクト: kevinbrill/telarafly
 protected void loadExtraData(NIFFile file, BinaryReader ds)
 {
     loadObject(file, ds);
     extraDataString = file.loadString(ds);
 }