Esempio n. 1
0
 public SBlockData(CR2WFile cr2w) :
     base(cr2w)
 {
     rotationMatrix = new CMatrix3x3(cr2w)
     {
         Name = "rotationMatrix"
     };
     position = new CVector3D(cr2w)
     {
         Name = "position"
     };
     streamingRadius = new CUInt16(cr2w)
     {
         Name = "streamingRadius"
     };
     flags = new CUInt16(cr2w)
     {
         Name = "flags"
     };
     occlusionSystemID = new CUInt32(cr2w)
     {
         Name = "occlusionSystemID"
     };
     resourceIndex = new CUInt32(cr2w)
     {
         Name = "resourceIndex"
     };
     tail = new CBytes(cr2w)
     {
         Name = "tail"
     };
 }
Esempio n. 2
0
 public CSwarmCellMap(CR2WFile cr2w) : base(cr2w)
 {
     data = new CByteArray(cr2w)
     {
         Name = "Data"
     };
     cornerPosition = new CVector3D(cr2w)
     {
         Name = "Corner position"
     };
     dataSizeX = new CInt32(cr2w)
     {
         Name = "Data size X"
     };
     dataSizeY = new CInt32(cr2w)
     {
         Name = "Data size Y"
     };
     dataSizeZ = new CInt32(cr2w)
     {
         Name = "Data size Z"
     };
     dataSize = new CInt32(cr2w)
     {
         Name = "Data size in bits"
     };
     sizeInKbytes = new CFloat(cr2w)
     {
         Name = "Data size in Kilobytes"
     };
 }
Esempio n. 3
0
 public SFoliageInstance(CR2WFile cr2w) : base(cr2w)
 {
     position = new CVector3D(cr2w)
     {
         Name = "Position"
     };
     Yaw        = new CFloat(cr2w);
     Yaw.Name   = "Yaw";
     Pitch      = new CFloat(cr2w);
     Pitch.Name = "Pitch";
     Roll       = new CFloat(cr2w);
     Roll.Name  = "Roll";
 }