Beispiel #1
0
 public SWFlowv(BinaryReader reader)
 {
     Sphere    = new CAaSphere(reader);
     Dir       = new C3Vector(reader);
     Velocity  = reader.ReadSingle();
     Amplitude = reader.ReadSingle();
     Frequency = reader.ReadSingle();
 }
 public SMDoodadDef(BinaryReader reader)
 {
     nameId   = reader.ReadUInt32();
     uniqueId = reader.ReadUInt32();
     pos      = new C3Vector(reader);
     rot      = new C3Vector(reader);
     scale    = reader.ReadUInt16();
     flags    = reader.ReadUInt16();
 }
Beispiel #3
0
 public SMMapObjDef(BinaryReader reader)
 {
     nameID    = reader.ReadUInt32();
     uniqueId  = reader.ReadUInt32();
     pos       = new C3Vector(reader);
     rot       = new C3Vector(reader);
     extents   = new CAaBox(reader);
     flags     = reader.ReadUInt16();
     doodadSet = reader.ReadUInt16();
     nameSet   = reader.ReadUInt16();
     pad       = reader.ReadUInt16();
 }
 public MCSESubChunk(BinaryReader reader)
 {
     soundPointID     = reader.ReadUInt32();
     soundNameID      = reader.ReadUInt32();
     pos              = new C3Vector(reader);
     minDistance      = reader.ReadSingle();
     maxDistance      = reader.ReadSingle();
     cutoffDistance   = reader.ReadSingle();
     startTime        = reader.ReadUInt16();
     endTime          = reader.ReadUInt16();
     mode             = reader.ReadUInt16();
     groupSilenceMin  = reader.ReadUInt16();
     groupSilenceMax  = reader.ReadUInt16();
     playInstancesMin = reader.ReadUInt16();
     playInstancesMax = reader.ReadUInt16();
     loopCountMin     = reader.ReadByte();
     loopCountMax     = reader.ReadByte();
     interSoundGapMin = reader.ReadUInt16();
     interSoundGapMax = reader.ReadUInt16();
 }
Beispiel #5
0
 public CAaBox(BinaryReader reader)
 {
     b = new C3Vector(reader);
     t = new C3Vector(reader);
 }
Beispiel #6
0
 public CAaSphere(BinaryReader reader)
 {
     c = new C3Vector(reader);
     r = reader.ReadSingle();
 }