예제 #1
0
 public ExteriorChunkPerson(ExteriorChunkArea area, int index, BinaryReader reader)
     : base(area, index, reader)
 {
     TextureIndex = new TextureIndex(reader.ReadUInt16());
     FactionIndex = new FactionIndex(reader.ReadUInt16());
     Unknowns.Add(reader.ReadByte());
 }
예제 #2
0
 public ExteriorChunkDoor(ExteriorChunkArea area, int index, BinaryReader reader)
     : base(area, index, reader)
 {
     Unknowns.Add(reader.ReadUInt16());
     Rotation = Angle.Daggerfall(reader.ReadInt16());
     Unknowns.Add(reader.ReadUInt16());
     reader.ReadZeroes(1);
 }
예제 #3
0
 internal Record(TextureArchive archive, BinaryReader reader, uint offsetBase)
     : base(archive, 0, null)
 {
     Unknowns = new Unknowns();
     Unknowns.AddUInt16("a", reader);
     Offset = reader.ReadUInt32() + offsetBase;
     Unknowns.AddUInt16("b", reader);
     Unknowns.AddInt32("c", reader);
     reader.ReadZeroes(8);
 }
예제 #4
0
        internal ExteriorChunk(ExteriorBlock block, BinaryReader reader, int index)
            : base(block.State)
        {
            this.Index           = index;
            Unknowns.Add("g", u1 = reader.ReadInt32());
            Unknowns.Add("h", u2 = reader.ReadInt32());
            this.X     = reader.ReadInt32();
            this.Z     = reader.ReadInt32();
            this.Angle = Angle.Daggerfall(reader.ReadInt32());
            this.Block = block;

            var b1 = State.Models.RecordMap.ContainsKey(u1);
            var b2 = State.Models.RecordMap.ContainsKey(u2);
        }
예제 #5
0
 public ExteriorChunkSection(ExteriorChunkArea area, int index, BinaryReader reader)
     : base(area, index, reader)
 {
     Unknowns.Add(reader.ReadUInt16());
     Unknowns.Add(reader.ReadUInt16());
 }