//public TI.ShortInteger LowDetailMipmapCount; #endregion #region Ctor public bitmap_data_block() : base(14) { Add(Signature = new TI.Tag()); Add(Width = new TI.ShortInteger()); Add(Height = new TI.ShortInteger()); Add(Depth = new TI.ByteInteger()); Add(MoreFlags = new TI.Flags(BlamLib.TagInterface.FieldType.ByteFlags)); Add(Type = new TI.Enum()); Add(Format = new TI.Enum()); Add(Flags = new TI.Flags(BlamLib.TagInterface.FieldType.WordFlags)); Add(RegistrationPoint = new TI.Point2D()); Add(MipmapCount = new TI.ByteInteger()); Add(new TI.Skip(1 + //LowDetailMipmapCount? 1 + // (just interleaved?) resource index 1)); // //Add(LowDetailMipmapCount = new TI.ShortInteger()); Add(PixelsOffset = new TI.LongInteger()); Add(new TI.Skip(4 + // pixels size 4 + 4)); Add(new TI.LongInteger()); Add(new TI.Skip(4)); }
public tag_database_entry_block() : base(4) { Add(Name = new TI.String(TI.StringType.Ascii, 256)); Add(GroupTag = new TI.Tag()); Add(Flags = new TI.LongInteger()); Add(ChildIds = new TI.Block <tag_database_entry_reference_block>(this, 65535)); }
public bitmap_data_block() : base(23) { Add(Signature = new TI.Tag()); Add(Width = new TI.ShortInteger()); Add(Height = new TI.ShortInteger()); Add(Depth = new TI.ByteInteger()); Add(MoreFlags = new TI.Flags(BlamLib.TagInterface.FieldType.ByteFlags)); Add(Type = new TI.Enum()); Add(Format = new TI.Enum()); Add(Flags = new TI.Flags(BlamLib.TagInterface.FieldType.WordFlags)); Add(RegistrationPoint = new TI.Point2D()); Add(MipmapCount = new TI.ShortInteger()); Add(LowDetailMipmapCount = new TI.ShortInteger()); Add(PixelsOffset = new TI.LongInteger()); Add(Offsets[0] = new TI.LongInteger()); Add(Offsets[1] = new TI.LongInteger()); Add(Offsets[2] = new TI.LongInteger()); Add(new TI.Skip(4 + 4 + 4)); Add(Sizes[0] = new TI.LongInteger()); Add(Sizes[1] = new TI.LongInteger()); Add(Sizes[2] = new TI.LongInteger()); Add(new TI.Skip(4 + 4 + 4)); Add(new TI.Skip( 4 + 4 + 4 // this is special... )); Add(OwnerTagIndex = new TI.LongInteger()); Add(new TI.Skip( 20 + 4 )); }
public tag_database_entry_block() : base(4) { Add(Name = new TI.Data(this, TI.DataType.String)); Add(GroupTag = new TI.Tag()); Add(HandleDataHigh = new TI.LongInteger()); Add(Flags = new TI.LongInteger()); Add(ChildIds = new TI.Block <tag_database_entry_reference_block>(this, 65535)); Add(ReferenceIds = new TI.Block <tag_database_entry_reference_block>(this, 65535)); Add(new TI.Pad(12)); }
public bitmap_data_block() : base(14) { Add(Signature = new TI.Tag()); Add(Width = new TI.ShortInteger()); Add(Height = new TI.ShortInteger()); Add(Depth = new TI.ShortInteger()); Add(Type = new TI.Enum()); Add(Format = new TI.Enum()); Add(Flags = new TI.Flags(BlamLib.TagInterface.FieldType.WordFlags)); Add(RegistrationPoint = new TI.Point2D()); Add(MipmapCount = new TI.ShortInteger()); Add(new TI.Pad(2)); Add(PixelsOffset = new TI.LongInteger()); Add(new TI.Skip(12)); Add(HardwareFormat = new TI.LongInteger()); Add(BaseAddress = new TI.LongInteger()); }
public scenario_structure_bsps_header() { Add(PtrBsp = new TI.LongInteger()); Add(new TI.Pad(16)); Add(Signature = new TI.Tag()); }
public tag_database_entry_block() : base(4) { Add(Name = new TI.String(TI.StringType.Ascii, 256)); Add(GroupTag = new TI.Tag()); Add(Flags = new TI.LongInteger()); Add(ChildIds = new TI.Block<tag_database_entry_reference_block>(this, 65535)); }
/// <summary> /// Copy constructor /// </summary> /// <param name="value">field to copy</param> public Tag(Tag value) : this() { this.Value = value.Value; }
public scenario_structure_bsps_header() { Add(Size = new TI.LongInteger()); Add(PtrBsp = new TI.LongInteger()); Add(PtrLightmap = new TI.LongInteger()); Add(Signature = new TI.Tag()); }
public tag_database_entry_block() : base(4) { Add(Name = new TI.Data(this, TI.DataType.String)); Add(GroupTag = new TI.Tag()); Add(HandleDataHigh = new TI.LongInteger()); Add(Flags = new TI.LongInteger()); Add(ChildIds = new TI.Block<tag_database_entry_reference_block>(this, 65535)); Add(ReferenceIds = new TI.Block<tag_database_entry_reference_block>(this, 65535)); Add(new TI.Pad(12)); }