public CBitmapTexture(CR2WFile cr2w, CVariable parent, string name) : base(cr2w, parent, name)
        {
            MipsCount = new CUInt32(cr2w, this, nameof(MipsCount))
            {
                IsSerialized = true
            };
            Mipdata = new CCompressedBuffer <SMipData>(cr2w, this, nameof(Mipdata))
            {
                IsSerialized = true
            };
            unk1 = new CUInt16(cr2w, this, nameof(unk1))
            {
                IsSerialized = true
            };
            unk2 = new CUInt16(cr2w, this, nameof(unk2))
            {
                IsSerialized = true
            };

            ResidentmipSize = new CUInt32(cr2w, this, nameof(ResidentmipSize))
            {
                IsSerialized = true
            };
            Residentmip = new CBytes(cr2w, this, nameof(Residentmip))
            {
                IsSerialized = true
            };
        }
Exemplo n.º 2
0
 public CTextureArray(IRed3EngineFile cr2w, CVariable parent, string name) : base(cr2w, parent, name)
 {
     rawfile = new CBytes(cr2w, this, nameof(rawfile))
     {
         IsSerialized = true
     };
 }
Exemplo n.º 3
0
 public CCubeTexture(IRed3EngineFile cr2w, CVariable parent, string name) : base(cr2w, parent, name)
 {
     Rawfile = new CBytes(cr2w, this, "Image")
     {
         IsSerialized = true
     };
 }
 public CGenericGrassMask(CR2WFile cr2w, CVariable parent, string name) : base(cr2w, parent, name)
 {
     grassmask = new CBytes(cr2w, this, nameof(grassmask))
     {
         Bytes        = new byte[0],
         IsSerialized = true
     };
 }
Exemplo n.º 5
0
 public SMeshBlock5(IRed3EngineFile cr2w, CVariable parent, string name) : base(cr2w, parent, name)
 {
     bytesize = new CUInt16(cr2w, this, nameof(bytesize))
     {
         IsSerialized = true
     };
     unk1 = new CBytes(cr2w, this, nameof(unk1))
     {
         IsSerialized = true
     };
 }
 public CPhysicalCollision(CR2WFile cr2w, CVariable parent, string name) : base(cr2w, parent, name)
 {
     Unk1 = new CUInt32(cr2w, this, nameof(Unk1))
     {
         IsSerialized = true
     };
     Data = new CBytes(cr2w, this, nameof(Data))
     {
         IsSerialized = true
     };
     Collisiontypes = new CBufferVLQInt32 <CName>(cr2w, this, nameof(Collisiontypes))
     {
         IsSerialized = true
     };
 }
Exemplo n.º 7
0
 public CSwarmCellMap(CR2WFile cr2w, CVariable parent, string name) : base(cr2w, parent, name)
 {
     Data = new CBytes(cr2w, this, nameof(Data))
     {
         IsSerialized = true
     };
     CornerPositionX = new CFloat(cr2w, this, nameof(CornerPositionX))
     {
         IsSerialized = true
     };
     CornerPositionY = new CFloat(cr2w, this, nameof(CornerPositionY))
     {
         IsSerialized = true
     };
     CornerPositionZ = new CFloat(cr2w, this, nameof(CornerPositionZ))
     {
         IsSerialized = true
     };
     DataSizeX = new CInt32(cr2w, this, nameof(DataSizeX))
     {
         IsSerialized = true
     };
     DataSizeY = new CInt32(cr2w, this, nameof(DataSizeY))
     {
         IsSerialized = true
     };
     DataSizeZ = new CInt32(cr2w, this, nameof(DataSizeZ))
     {
         IsSerialized = true
     };
     DataSizeBits = new CInt32(cr2w, this, nameof(DataSizeBits))
     {
         IsSerialized = true
     };
     SizeInKbytes = new CFloat(cr2w, this, nameof(SizeInKbytes))
     {
         IsSerialized = true
     };
 }
Exemplo n.º 8
0
 public CClipMapCookedData(CR2WFile cr2w, CVariable parent, string name) : base(cr2w, parent, name)
 {
     Data = new CBytes(cr2w, this, nameof(Data));
 }
Exemplo n.º 9
0
 public SBlockDataDecal(IRed3EngineFile cr2w, CVariable parent, string name) : base(cr2w, parent, name)
 {
     unk1 = new CBytes(cr2w, parent, nameof(unk1));
 }
Exemplo n.º 10
0
 public EntityHandle(CR2WFile cr2w, CVariable parent, string name) : base(cr2w, parent, name)
 {
     id   = new CUInt16(cr2w, this, nameof(id));
     guid = new CGUID(cr2w, this, nameof(guid));
     unk1 = new CBytes(cr2w, this, nameof(unk1));
 }
Exemplo n.º 11
0
 public SBlockDataMeshObject(CR2WFile cr2w, CVariable parent, string name) : base(cr2w, parent, name)
 {
     unk1 = new CBytes(cr2w, parent, nameof(unk1));
 }