protected object_group(int field_count) : base(field_count + 28)
        {
            Add(ObjectType        = new TI.Skip(2));
            Add(ObjectFlags       = new TI.Flags(BlamLib.TagInterface.FieldType.WordFlags));
            Add(BoundingRadius    = new TI.Real());
            Add(BoundingOffset    = new TI.RealPoint3D());
            Add(OriginOffset      = new TI.RealPoint3D());
            Add(AccelerationScale = new TI.Real());
            Add(new TI.Pad(4));
            Add(Model          = new TI.TagReference(this, TagGroups.mode));
            Add(AnimationGraph = new TI.TagReference(this, TagGroups.antr));
            Add(new TI.Pad(40));
            Add(CollisionModel = new TI.TagReference(this, TagGroups.coll));
            Add(Physics        = new TI.TagReference(this, TagGroups.phys));
            Add(ModifierShader = new TI.TagReference(this, TagGroups.shdr));
            Add(CreationEffect = new TI.TagReference(this, TagGroups.effe));
            Add(new TI.Pad(84));
            Add(RenderBoundingRadius = new TI.Real());

            Add(Ain = new TI.Enum());
            Add(Bin = new TI.Enum());
            Add(Cin = new TI.Enum());
            Add(Din = new TI.Enum());
            Add(new TI.Pad(44));
            Add(HudTextMessageIndex         = new TI.ShortInteger());
            Add(ForcedShaderPermuationIndex = new TI.ShortInteger());
            Add(Attachments        = new TI.Block <object_attachment_block>(this, 8));
            Add(Widgets            = new TI.Block <object_widget_block>(this, 4));
            Add(Functions          = new TI.Block <object_function_block>(this, 4));
            Add(ChangeColors       = new TI.Block <object_change_colors_block>(this, 4));
            Add(PerdictedResources = new TI.Block <predicted_resource_block>(this, 1024));
        }
            //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));
            }
示例#3
0
 public animation_block() : base(31)
 {
     Add(Name                = new TI.String());
     Add(Type                = new TI.Enum());
     Add(FrameCount          = new TI.ShortInteger());
     Add(FrameSize           = new TI.ShortInteger());
     Add(FrameInfoType       = new TI.Enum());
     Add(NodeListChecksum    = new TI.LongInteger());
     Add(NodeCount           = new TI.ShortInteger());
     Add(LoopFrameIndex      = new TI.ShortInteger());
     Add(Weight              = new TI.Real(BlamLib.TagInterface.FieldType.RealFraction));
     Add(KeyFrameIndex       = new TI.ShortInteger());
     Add(SecondKeyFrameIndex = new TI.ShortInteger());
     Add(NextAnimation       = new TI.BlockIndex());
     Add(Flags               = new TI.Flags(BlamLib.TagInterface.FieldType.WordFlags));
     Add(Sound               = new TI.BlockIndex());
     Add(SoundFrameIndex     = new TI.ShortInteger());
     Add(LeftFootFrameIndex  = new TI.ByteInteger());
     Add(RightFootFrameIndex = new TI.ByteInteger());
     Add(new TI.Pad(2 + 4));
     Add(FrameInfo       = new TI.Data(this));
     Add(NodeTransFlags1 = new TI.LongInteger());
     Add(NodeTransFlags2 = new TI.LongInteger());
     Add(new TI.Pad(8));
     Add(NodeRotationFlags1 = new TI.LongInteger());
     Add(NodeRotationFlags2 = new TI.LongInteger());
     Add(new TI.Pad(8));
     Add(NodeScaleFlags1 = new TI.LongInteger());
     Add(NodeScaleFlags2 = new TI.LongInteger());
     Add(new TI.Pad(4));
     Add(OffsetToCompressedData = new TI.LongInteger());
     Add(DefaultData            = new TI.Data(this));
     Add(FrameData = new TI.Data(this));
 }
示例#4
0
 public game_medal_globals_category_block() : base(4)
 {
     Add(Name     = new TI.StringId());
     Add(Unknown4 = new TI.StringId());
     Add(Unknown8 = new TI.ShortInteger());
     Add(Points   = new TI.ShortInteger());
 }
示例#5
0
		public contrail_group() : base(19)
		{
			Add(Flags = new TI.Flags(BlamLib.TagInterface.FieldType.WordFlags));
			Add(ScaleFlags = new TI.Flags(BlamLib.TagInterface.FieldType.WordFlags));

			Add(PointGenerationRate = new TI.Real());
			Add(PointVelocity = new TI.RealBounds());
			Add(PointVelocityConeAngle = new TI.Real(BlamLib.TagInterface.FieldType.Angle));
			Add(InheritedVelocityFraction = new TI.Real(BlamLib.TagInterface.FieldType.RealFraction));
			Add(RenderType = new TI.Enum());
			Add(new TI.Pad(2));
			Add(TextureRepeatsU = new TI.Real());
			Add(TextureRepeatsV = new TI.Real());
			Add(TextureAnimationU = new TI.Real());
			Add(TextureAnimationV = new TI.Real());
			Add(AnimationRate = new TI.Real());
			Add(Bitmap = new TI.TagReference(this, TagGroups.bitm));
			Add(FirstSequenceIndex = new TI.ShortInteger());
			Add(SequenceCount = new TI.ShortInteger());
			Add(new TI.Pad(64));

			// Map is 'Secondary Map'
			Add(ShaderMap = new TI.Struct<shader_map_struct>(this));
			Add(PointStates = new TI.Block<contrail_point_states_block>(this, 16));
		}
 public sound_gestalt_pitch_range_parameters_block() : base(4)
 {
     Add(NaturalPitch       = new TI.ShortInteger());
     Add(BendBounds         = new TI.ShortIntegerBounds());
     Add(MaxGainPitchBounds = new TI.ShortIntegerBounds());
     Add(Unknown0A          = new TI.ShortIntegerBounds());    // TODO: UNKNOWN FIELD
 }
示例#7
0
        public global_hud_screen_effect_definition() : base(20)
        {
            Add(new TI.Pad(4));
            Add(MaskFlags = new TI.Flags(BlamLib.TagInterface.FieldType.WordFlags));
            Add(new TI.Pad(2 + 16));
            Add(MaskFullscreen  = new TI.TagReference(this, TagGroups.bitm));
            Add(MaskSplitscreen = new TI.TagReference(this, TagGroups.bitm));
            Add(new TI.Pad(8));

            Add(ConvolutionFlags = new TI.Flags(BlamLib.TagInterface.FieldType.WordFlags));
            Add(new TI.Pad(2));
            Add(FovInBounds     = new TI.RealBounds(BlamLib.TagInterface.FieldType.AngleBounds));
            Add(RadiusOutBounds = new TI.RealBounds());
            Add(new TI.Pad(24));

            Add(NightVisionFlags        = new TI.Flags(BlamLib.TagInterface.FieldType.WordFlags));
            Add(NightVisionScriptSource = new TI.ShortInteger());
            Add(NightVisionIntensity    = new TI.Real(BlamLib.TagInterface.FieldType.RealFraction));
            Add(new TI.Pad(24));

            Add(DesaturationFlags        = new TI.Flags(BlamLib.TagInterface.FieldType.WordFlags));
            Add(DesaturationScriptSource = new TI.ShortInteger());
            Add(DesaturationIntensity    = new TI.Real(BlamLib.TagInterface.FieldType.RealFraction));
            Add(DesaturationTint         = new TI.RealColor());
            Add(new TI.Pad(24));
        }
示例#8
0
        public weapon_hud_interface_group() : base(27)
        {
            Add(ChildHud         = new TI.TagReference(this, TagGroups.wphi));
            Add(FlashCutoffFlags = new TI.Flags(BlamLib.TagInterface.FieldType.WordFlags));
            Add(new TI.Pad(2));
            Add(TotalAmmoCutoff  = new TI.ShortInteger());
            Add(LoadedAmmoCutoff = new TI.ShortInteger());
            Add(HeatCutoff       = new TI.ShortInteger());
            Add(AgeCutoff        = new TI.ShortInteger());
            Add(new TI.Pad(32));
            Add(Anchor = new TI.Enum());
            Add(new TI.Pad(2 + 32));

            Add(StaticElements  = new TI.Block <weapon_hud_static_block>(this, 16));
            Add(MeterElements   = new TI.Block <weapon_hud_meter_block>(this, 16));
            Add(NumberElements  = new TI.Block <weapon_hud_number_block>(this, 16));
            Add(Crosshairs      = new TI.Block <weapon_hud_crosshair_block>(this, 19));
            Add(OverlayElements = new TI.Block <weapon_hud_overlays_block>(this, 16));
            Add(PostprocessedUsedCrosshairStatesFlags = new TI.Flags());
            Add(new TI.Pad(12));             // g_null_block, so we just pad it
            Add(ScreenEffect = new TI.Block <global_hud_screen_effect_definition>(this, 1));
            Add(new TI.Pad(132));

            Add(SequenceIndex             = new TI.ShortInteger());
            Add(WidthOffset               = new TI.ShortInteger());
            Add(OffsetFromReferenceCorner = new TI.Point2D());
            Add(OverrideIconColor         = new TI.Color());
            Add(FrameRate = new TI.ByteInteger());
            Add(Flags     = new TI.Flags(BlamLib.TagInterface.FieldType.ByteFlags));
            Add(TextIndex = new TI.ShortInteger());
            Add(new TI.Pad(48));
        }
 public cache_file_sound_group() : base(17)
 {
     // 0x0
     Add(Flags      = new TI.Flags(TI.FieldType.WordFlags));
     Add(SoundClass = new TI.Enum(TI.FieldType.ByteEnum));
     Add(SampleRate = new TI.Enum(TI.FieldType.ByteEnum));
     // 0x4
     Add(Encoding      = new TI.Enum(TI.FieldType.ByteEnum));
     Add(CodecIndex    = new TI.ByteInteger());
     Add(PlaybackIndex = new TI.ShortInteger());
     // 0x8
     Add(Unknown08 = new TI.ShortInteger());             // TODO: UNKNOWN FIELD, index to something, but doesn't seem to be in the sound gestalt
     Add(Unknown0A = new TI.ShortInteger());             // TODO: UNKNOWN FIELD, maybe an index to the first block in the sound gestalt? or not a index...
     // 0xC
     Add(FirstPitchRangeIndex = new TI.ShortInteger());
     Add(PitchRangeIndex      = new TI.ByteInteger());
     Add(ScaleIndex           = new TI.ByteInteger());
     // 0x10
     Add(PromotionIndex      = new TI.ByteInteger());
     Add(CustomPlaybackIndex = new TI.ByteInteger());
     Add(ExtraInfoIndex      = new TI.ShortInteger());
     // 0x14
     Add(Unknown14 = new TI.LongInteger());             // TODO: UNKNOWN FIELD
     // 0x18
     Add(ResourceIndex = new TI.LongInteger());
     // 0x1C
     Add(MaximumPlayTime = new TI.LongInteger());
 }
示例#10
0
        public decal_group() : base(23)
        {
            Add(Flags = new TI.Flags(TI.FieldType.WordFlags));
            Add(Type  = new TI.Enum());
            Add(Layer = new TI.Enum());
            Add(new TI.Pad(2));
            Add(NextDecalInChain = new TI.TagReference(this, TagGroups.deca));

            Add(Radius = new TI.RealBounds());
            Add(new TI.Pad(12));
            Add(Intensity        = new TI.RealBounds(TI.FieldType.RealFractionBounds));
            Add(ColorLowerBounds = new TI.RealColor());
            Add(ColorUpperBounds = new TI.RealColor());
            Add(new TI.Pad(12));

            Add(AnimLoopFrame = new TI.ShortInteger());
            Add(AnimSpeed     = new TI.ShortInteger());
            Add(new TI.Pad(28));
            Add(Lifetime  = new TI.RealBounds());
            Add(DecayTime = new TI.RealBounds());
            Add(new TI.Pad(12 + 40 + 2 + 2));

            Add(FramebufferBlendFunction = new TI.Enum());
            Add(new TI.Pad(2 + 20));
            Add(Map = new TI.TagReference(this, TagGroups.bitm));
            Add(new TI.Pad(20));
            Add(MaxSpriteExtent = new TI.Real());
            Add(new TI.Pad(4 + 8));
        }
示例#11
0
		public sound_group() : base(26)
		{
			Add(Flags = new TI.Flags());
			Add(Class = new TI.Enum());
			Add(SampleRate = new TI.Enum());
			Add(Distance = new TI.RealBounds());
			Add(SkipFraction = new TI.Real(BlamLib.TagInterface.FieldType.RealFraction));
			Add(RandomPitchBounds = new TI.RealBounds());
			Add(InnerConeAngle = new TI.Real(BlamLib.TagInterface.FieldType.Angle));
			Add(OuterConeAngle = new TI.Real(BlamLib.TagInterface.FieldType.Angle));
			Add(OuterConeGain = new TI.Real(BlamLib.TagInterface.FieldType.RealFraction));
			Add(GainModifier = new TI.Real());
			Add(MaxBendPerSecond = new TI.Real());
			Add(new TI.Pad(12));
			Add(SkipFractionModifier1 = new TI.Real());
			Add(GainModifier1 = new TI.Real());
			Add(PitchModifier1 = new TI.Real());
			Add(new TI.Pad(12));
			Add(SkipFractionModifier2 = new TI.Real());
			Add(GainModifier2 = new TI.Real());
			Add(PitchModifier2 = new TI.Real());
			Add(new TI.Pad(12));
			Add(Encoding = new TI.Enum());
			Add(Compression = new TI.Enum());
			Add(PromotionSound = new TI.TagReference(this, TagGroups.snd_));
			Add(PromotionCount = new TI.ShortInteger());
			Add(new TI.Pad(2 + 20));
			Add(PitchRanges = new TI.Block<sound_pitch_range_block>(this, 8));
		}
            public TI.ShortInteger Unknown06;             // something like start index, block index to cache_file_resource_gestalt_1E8_block

            public cache_file_resource_gestalt_1F4_block() : base(4)
            {
                Add(Unknown00 = new TI.ShortInteger());
                Add(Unknown02 = new TI.ShortInteger());
                Add(Unknown04 = new TI.ShortInteger());
                Add(Unknown06 = new TI.ShortInteger());
            }
示例#13
0
        public particle_group() : base(27)
        {
            Add(Flags   = new TI.Flags());
            Add(Bitmap  = new TI.TagReference(this, TagGroups.bitm));
            Add(Physics = new TI.TagReference(this, TagGroups.pphy));
            Add(Effects = new TI.TagReference(this, TagGroups.foot));
            Add(new TI.Pad(4));
            Add(Lifespan        = new TI.RealBounds());
            Add(FadeInTime      = new TI.Real());
            Add(FadeOutTime     = new TI.Real());
            Add(CollisionEffect = new TI.TagReference(this));         // snd!,effe
            Add(DeathEffect     = new TI.TagReference(this));         // snd!,effe
            Add(MinSize         = new TI.Real());
            Add(new TI.Pad(8));
            Add(RadiusAnim = new TI.RealBounds());
            Add(new TI.Pad(4));
            Add(AnimRate             = new TI.RealBounds());
            Add(ContactDeterioration = new TI.Real());
            Add(FadeStartSize        = new TI.Real());
            Add(FadeEndSize          = new TI.Real());
            Add(new TI.Pad(4));
            Add(FirstSeqIndex   = new TI.ShortInteger());
            Add(InitialSeqCount = new TI.ShortInteger());
            Add(LoopSeqCount    = new TI.ShortInteger());
            Add(FinalSeqCount   = new TI.ShortInteger());
            Add(new TI.Pad(12));
            Add(Orientation = new TI.Enum());
            Add(new TI.Pad(2));

            Add(ShaderMap = new TI.Struct <shader_map_struct>(this));
        }
 public shared_cache_block() : base(4)
 {
     Add(CachePath  = new TI.String(TI.StringType.Ascii, 256));
     Add(Unknown100 = new TI.ShortInteger());
     Add(Flags      = new TI.Flags(TI.FieldType.WordFlags));
     Add(Unknown104 = new TI.LongInteger());
 }
 public s_tag_d3d_vertex_buffer() : base(4)
 {
     Add(VertexCount  = new TI.LongInteger());
     Add(VertxType    = new TI.Enum());
     Add(VertexSize   = new TI.ShortInteger());
     Add(VertexBuffer = new TI.Data(this));
 }
示例#16
0
 public shader_transparent_water_group() : base(22)
 {
     Add(Flags = TI.Flags.Word);
     Add(new TI.Pad(2 + 32));
     Add(BaseMap = new TI.TagReference(this, TagGroups.bitm));
     Add(new TI.Pad(16));
     Add(ViewPerpendicularBrightness = TI.Real.Fraction);
     Add(ViewPerpendicularTintColor  = new TI.RealColor());
     Add(ViewParallelBrightness      = TI.Real.Fraction);
     Add(ViewParallelTintColor       = new TI.RealColor());
     Add(new TI.Pad(16));
     Add(ReflectionMap = new TI.TagReference(this, TagGroups.bitm));
     Add(new TI.Pad(16));
     Add(RippleAnimationAngle    = TI.Real.Angle);
     Add(RippleAnimationVelocity = new TI.Real());
     Add(RippleScale             = new TI.Real());
     Add(RippleMaps         = new TI.TagReference(this, TagGroups.bitm));
     Add(RippleMipmapLevels = new TI.ShortInteger());
     Add(new TI.Pad(2));
     Add(RippleMipmapFadeFactor = TI.Real.Fraction);
     Add(RippleMipmapDetailBias = new TI.Real());
     Add(new TI.Pad(64));
     Add(Ripples = new TI.Block <shader_transparent_water_ripple_block>(this, 4));
     Add(new TI.Pad(16));
 }
示例#17
0
		public cache_file_sound_group() : base(17)
		{
			// 0x0
			Add(Flags = new TI.Flags(TI.FieldType.WordFlags));
			Add(SoundClass = new TI.Enum(TI.FieldType.ByteEnum));
			Add(SampleRate = new TI.Enum(TI.FieldType.ByteEnum));
			// 0x4
			Add(Encoding = new TI.Enum(TI.FieldType.ByteEnum));
			Add(CodecIndex = new TI.ByteInteger());
			Add(PlaybackIndex = new TI.ShortInteger());
			// 0x8
			Add(Unknown08 = new TI.ShortInteger()); // TODO: UNKNOWN FIELD, index to something, but doesn't seem to be in the sound gestalt
			Add(Unknown0A = new TI.ShortInteger()); // TODO: UNKNOWN FIELD, maybe an index to the first block in the sound gestalt? or not a index...
			// 0xC
			Add(FirstPitchRangeIndex = new TI.ShortInteger());
			Add(PitchRangeIndex = new TI.ByteInteger());
			Add(ScaleIndex = new TI.ByteInteger());
			// 0x10
			Add(PromotionIndex = new TI.ByteInteger());
			Add(CustomPlaybackIndex = new TI.ByteInteger());
			Add(ExtraInfoIndex = new TI.ShortInteger());
			// 0x14
			Add(Unknown14 = new TI.LongInteger()); // TODO: UNKNOWN FIELD
			// 0x18
			Add(ResourceIndex = new TI.LongInteger());
			// 0x1C
			Add(MaximumPlayTime = new TI.LongInteger());
		}
示例#18
0
 public global_hud_multitexture_overlay_definition() : base(25)
 {
     Add(new TI.Pad(2));
     Add(Type = new TI.ShortInteger());
     Add(FrameBufferBlendFunc = new TI.Enum());
     Add(new TI.Pad(2 + 32));
     Add(AnchorsPrimaryAnchor   = new TI.Enum());
     Add(AnchorsSecondaryAnchor = new TI.Enum());
     Add(AnchorsTertiaryAnchor  = new TI.Enum());
     Add(BlendFunc0To1          = new TI.Enum());
     Add(BlendFunc1To2          = new TI.Enum());
     Add(new TI.Pad(2));
     Add(MapScalesPrimaryAnchor    = new TI.RealPoint2D());
     Add(MapScalesSecondaryAnchor  = new TI.RealPoint2D());
     Add(MapScalesTertiaryAnchor   = new TI.RealPoint2D());
     Add(MapOffsetsPrimaryAnchor   = new TI.RealPoint2D());
     Add(MapOffsetsSecondaryAnchor = new TI.RealPoint2D());
     Add(MapOffsetsTertiaryAnchor  = new TI.RealPoint2D());
     Add(MapPrimaryAnchor          = new TI.TagReference(this, TagGroups.bitm));
     Add(MapSecondaryAnchor        = new TI.TagReference(this, TagGroups.bitm));
     Add(MapTertiaryAnchor         = new TI.TagReference(this, TagGroups.bitm));
     Add(PrimaryWrapMode           = new TI.Enum());
     Add(SecondaryWrapMode         = new TI.Enum());
     Add(TertiaryWrapMode          = new TI.Enum());
     Add(new TI.Pad(2 + 184));
     Add(Effectors = new TI.Block <global_hud_multitexture_overlay_effector_definition>(this, 30));
     Add(new TI.Pad(128));
 }
示例#19
0
        public bitmap_group() : base(25)
        {
            Add(Type   = new TI.Enum());
            Add(Format = new TI.Enum());
            Add(Usage  = new TI.Enum());
            Add(Flags  = new TI.Flags(BlamLib.TagInterface.FieldType.WordFlags));

            Add(DetailFadeFactor = new TI.Real(BlamLib.TagInterface.FieldType.RealFraction));
            Add(SharpenAmount    = new TI.Real(BlamLib.TagInterface.FieldType.RealFraction));
            Add(BumpHeight       = new TI.Real());

            Add(SpriteBudgetSize  = new TI.Enum());
            Add(SpriteBudgetCount = new TI.ShortInteger());

            Add(ColorPlateWidth          = new TI.ShortInteger());
            Add(ColorPlateHeight         = new TI.ShortInteger());
            Add(CompressedColorPlateData = new TI.Data(this));
            Add(ProcessedPixelData       = new TI.Data(this, BlamLib.TagInterface.DataType.Bitmap));

            Add(BlurFilterSize = new TI.Real());
            Add(AlphaBias      = new TI.Real());
            Add(MipmapCount    = new TI.ShortInteger());

            Add(SpriteUsage   = new TI.Enum());
            Add(SpriteSpacing = new TI.ShortInteger());
            Add(ForceFormat   = new TI.Enum());

            Add(Sequences = new TI.Block <bitmap_group_sequence_block>(this, 256));
            Add(Bitmaps   = new TI.Block <bitmap_data_block>(this, 65536));

            AddPc(ColorCompressionQuality = new TI.ByteInteger());
            AddPc(AlphaCompressionQuality = new TI.ByteInteger());
            AddPc(Overlap          = new TI.ByteInteger());
            AddPc(ColorSubsampling = new TI.Enum(BlamLib.TagInterface.FieldType.ByteEnum));
        }
示例#20
0
            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
                        ));
            }
示例#21
0
			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 contrail_group() : base(19)
        {
            Add(Flags      = new TI.Flags(BlamLib.TagInterface.FieldType.WordFlags));
            Add(ScaleFlags = new TI.Flags(BlamLib.TagInterface.FieldType.WordFlags));

            Add(PointGenerationRate       = new TI.Real());
            Add(PointVelocity             = new TI.RealBounds());
            Add(PointVelocityConeAngle    = new TI.Real(BlamLib.TagInterface.FieldType.Angle));
            Add(InheritedVelocityFraction = new TI.Real(BlamLib.TagInterface.FieldType.RealFraction));
            Add(RenderType = new TI.Enum());
            Add(new TI.Pad(2));
            Add(TextureRepeatsU    = new TI.Real());
            Add(TextureRepeatsV    = new TI.Real());
            Add(TextureAnimationU  = new TI.Real());
            Add(TextureAnimationV  = new TI.Real());
            Add(AnimationRate      = new TI.Real());
            Add(Bitmap             = new TI.TagReference(this, TagGroups.bitm));
            Add(FirstSequenceIndex = new TI.ShortInteger());
            Add(SequenceCount      = new TI.ShortInteger());
            Add(new TI.Pad(64));

            // Map is 'Secondary Map'
            Add(ShaderMap   = new TI.Struct <shader_map_struct>(this));
            Add(PointStates = new TI.Block <contrail_point_states_block>(this, 16));
        }
示例#23
0
 public sky_animation_block() : base(4)
 {
     Add(AnimationIndex = new TI.ShortInteger());
     Add(new TI.Pad(2));
     Add(Period = new TI.Real());
     Add(new TI.Pad(28));
 }
示例#24
0
 public model_markers_block() : base(4)
 {
     Add(Name           = new TI.String());
     Add(MagicIdentifer = new TI.ShortInteger());
     Add(new TI.Pad(2 + 16));
     Add(Instances = new TI.Block <model_marker_instance_block>(this, 32));
 }
示例#25
0
 public bsp3d_nodes_block()
 {
     Add(Plane = new TI.ShortInteger());
     Add(new TI.Pad(2));
     Add(BackChild  = new TI.ShortInteger());
     Add(FrontChild = new TI.ShortInteger());
 }
示例#26
0
        public gbxmodel_group() : base(21)
        {
            Add(Flags            = new TI.Flags());
            Add(NodeListChecksum = new TI.LongInteger());

            Add(SuperHighDetailCutoff = new TI.Real());
            Add(HighDetailCutoff      = new TI.Real());
            Add(MediumDetailCutoff    = new TI.Real());
            Add(LowDetailCutoff       = new TI.Real());
            Add(SuperLowDetailCutoff  = new TI.Real());

            Add(SuperHighDetailNodeCount = new TI.ShortInteger());
            Add(HighDetailNodeCount      = new TI.ShortInteger());
            Add(MediumDetailNodeCount    = new TI.ShortInteger());
            Add(LowDetailNodeCount       = new TI.ShortInteger());
            Add(SuperLowDetailNodeCount  = new TI.ShortInteger());

            Add(new TI.Pad(2 + 8));
            Add(BaseMapUScale = new TI.Real());
            Add(BaseMapVScale = new TI.Real());
            Add(new TI.Pad(116));

            Add(Markers    = new TI.Block <model_group.model_markers_block>(this, 256));
            Add(Nodes      = new TI.Block <model_group.model_node_block>(this, 64));
            Add(Regions    = new TI.Block <model_group.model_region_block>(this, 32));
            Add(Geometries = new TI.Block <model_geometry_block>(this, 256));
            Add(Shaders    = new TI.Block <model_group.model_shader_reference_block>(this, 32));
        }
示例#27
0
			//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));
			}
示例#28
0
 public sound_group() : base(26)
 {
     Add(Flags             = new TI.Flags());
     Add(Class             = new TI.Enum());
     Add(SampleRate        = new TI.Enum());
     Add(Distance          = new TI.RealBounds());
     Add(SkipFraction      = new TI.Real(BlamLib.TagInterface.FieldType.RealFraction));
     Add(RandomPitchBounds = new TI.RealBounds());
     Add(InnerConeAngle    = new TI.Real(BlamLib.TagInterface.FieldType.Angle));
     Add(OuterConeAngle    = new TI.Real(BlamLib.TagInterface.FieldType.Angle));
     Add(OuterConeGain     = new TI.Real(BlamLib.TagInterface.FieldType.RealFraction));
     Add(GainModifier      = new TI.Real());
     Add(MaxBendPerSecond  = new TI.Real());
     Add(new TI.Pad(12));
     Add(SkipFractionModifier1 = new TI.Real());
     Add(GainModifier1         = new TI.Real());
     Add(PitchModifier1        = new TI.Real());
     Add(new TI.Pad(12));
     Add(SkipFractionModifier2 = new TI.Real());
     Add(GainModifier2         = new TI.Real());
     Add(PitchModifier2        = new TI.Real());
     Add(new TI.Pad(12));
     Add(Encoding       = new TI.Enum());
     Add(Compression    = new TI.Enum());
     Add(PromotionSound = new TI.TagReference(this, TagGroups.snd_));
     Add(PromotionCount = new TI.ShortInteger());
     Add(new TI.Pad(2 + 20));
     Add(PitchRanges = new TI.Block <sound_pitch_range_block>(this, 8));
 }
示例#29
0
		public bsp3d_nodes_block() : base(4)
		{
			Add(Plane = new TI.ShortInteger());
			Add(new TI.Pad(2));
			Add(BackChild = new TI.ShortInteger());
			Add(FrontChild = new TI.ShortInteger());
		}
示例#30
0
			public model_markers_block() : base(4)
			{
				Add(Name = new TI.String());
				Add(MagicIdentifer = new TI.ShortInteger());
				Add(new TI.Pad(2 + 16));
				Add(Instances = new TI.Block<model_marker_instance_block>(this, 32));
			}
示例#31
0
                public structure_bsp_material_block() : base(28)
                {
                    Add(Shader            = new TI.TagReference(this, TagGroups.shdr));
                    Add(ShaderPermutation = new TI.ShortInteger());
                    Add(Flags             = new TI.Flags(TI.FieldType.WordFlags));
                    Add(Surfaces          = new TI.BlockIndex(TI.FieldType.LongBlockIndex));
                    Add(SurfaceCount      = new TI.LongInteger());
                    Add(Centroid          = new TI.RealPoint3D());
                    Add(AmbientColor      = new TI.RealColor());
                    Add(DistantLightCount = new TI.ShortInteger());
                    Add(new TI.Pad(2));

                    Add(DistantLightColor1     = new TI.RealColor());
                    Add(DistantLightDirection1 = new TI.RealVector3D());
                    Add(DistantLightColor2     = new TI.RealColor());
                    Add(DistantLightDirection2 = new TI.RealVector3D());
                    Add(new TI.Pad(12));
                    Add(ReflectionTint   = new TI.RealColor(TI.FieldType.RealArgbColor));
                    Add(ShadowVector     = new TI.RealVector3D());
                    Add(ShadowColor      = new TI.RealColor());
                    Add(Plane            = new TI.RealPlane3D());
                    Add(BreakableSurface = new TI.ShortInteger());
                    Add(new TI.Pad(2 + 4));
                    Add(VerticesCount      = new TI.LongInteger());
                    Add(VerticesStartIndex = new TI.LongInteger());
                    Add(new TI.Pad(8 + 4));
                    Add(LightmapVerticesCount      = new TI.LongInteger());
                    Add(LightmapVerticesStartIndex = new TI.LongInteger());
                    Add(new TI.Pad(8));
                    Add(UncompressedVertices = new TI.Data(this, TI.DataType.Vertex));
                    Add(CompressedVertices   = new TI.Data(this, TI.DataType.VertexCompressed));
                }
示例#32
0
 public suspension_animation_block() : base(5)
 {
     Add(MassPointIndex             = new TI.ShortInteger());
     Add(Animation                  = new TI.BlockIndex());
     Add(FullExtensionGroundDepth   = new TI.Real());
     Add(FullCompressionGroundDepth = new TI.Real());
     Add(new TI.Pad(8));
 }
示例#33
0
				public surfaces_block() : base(5)
				{
					Add(Plane = new TI.LongInteger());
					Add(FirstEdge = new TI.LongInteger());
					Add(Flags = new TI.Flags(TI.FieldType.ByteFlags));
					Add(BreakableSurface = new TI.ByteInteger());
					Add(Material = new TI.ShortInteger());
				}
示例#34
0
 public bitmap_group_sequence_block() : base(5)
 {
     Add(Name             = new TI.String());
     Add(FirstBitmapIndex = new TI.BlockIndex());
     Add(BitmapCount      = new TI.ShortInteger());
     Add(new TI.Pad(16));
     Add(Sprites = new TI.Block <bitmap_group_sprite_block>(this, 64));
 }
示例#35
0
 public conditional_widget_reference_block() : base(5)
 {
     Add(WidgetTag             = new TI.TagReference(this, TagGroups.DeLa));
     Add(Name                  = new TI.String());
     Add(Flags                 = new TI.Flags());
     Add(CustomControllerIndex = new TI.ShortInteger());
     Add(new TI.Pad(26));
 }
示例#36
0
 public hud_messages_block() : base(5)
 {
     Add(Name = new TI.String());
     Add(StartIndexIntoTextBlob   = new TI.ShortInteger());
     Add(StartIndexOfMessageBlock = new TI.ShortInteger());
     Add(PanelCount = new TI.ByteInteger());
     Add(new TI.Pad(3 + 24));
 }
示例#37
0
 public surfaces_block() : base(5)
 {
     Add(Plane            = new TI.LongInteger());
     Add(FirstEdge        = new TI.LongInteger());
     Add(Flags            = new TI.Flags(TI.FieldType.ByteFlags));
     Add(BreakableSurface = new TI.ByteInteger());
     Add(Material         = new TI.ShortInteger());
 }
示例#38
0
 public structure_bsp_leaf_block() : base(5)
 {
     Add(new TI.Skip(6));
     Add(new TI.Pad(2));
     Add(Cluster = new TI.ShortInteger());
     Add(SurfaceReferenceCount = new TI.ShortInteger());
     Add(SurfaceReferences     = new TI.BlockIndex(BlamLib.TagInterface.FieldType.LongBlockIndex));
 }
示例#39
0
			public bitmap_group_sequence_block()
			{
				Add(Name = new TI.String());
				Add(FirstBitmapIndex = new TI.BlockIndex());
				Add(BitmapCount = new TI.ShortInteger());
				Add(new TI.Pad(16));
				Add(Sprites = new TI.Block<bitmap_group_sprite_block>(this, 64));
			}
示例#40
0
			public grenades_block() : base(6)
			{
				Add(MaxCount = new TI.ShortInteger());
				Add(new TI.Pad(2));
				Add(ThrowingEffect = new TI.TagReference(this, TagGroups.effe));
				Add(HudInterface = new TI.TagReference(this, TagGroups.grhi));
				Add(Equipment = new TI.TagReference(this, TagGroups.eqip));
				Add(Projectile = new TI.TagReference(this, TagGroups.proj));
			}
示例#41
0
			public sound_pitch_range_block() : base(6)
			{
				Add(Name = new TI.String());
				Add(NaturalPitch = new TI.Real());
				Add(BendBounds = new TI.RealBounds());
				Add(ActualPermutationCount = new TI.ShortInteger());
				Add(new TI.Pad(2 + 12));
				Add(Permutations = new TI.Block<sound_permutations_block>(this, 256));
			}
示例#42
0
		public TI.LongInteger Offset; // ResourcePtr

		public geometry_block_resource_block() : base(8)
		{
			Add(Type = new TI.Enum(TI.FieldType.ByteEnum));
			Add(AlignmentBit = new TI.ByteInteger());
			Add(FieldOffset = new TI.ShortInteger());
			Add(PrimaryLocater = new TI.ShortInteger());
			Add(SecondaryLocater = new TI.ShortInteger());
			Add(Size = new TI.LongInteger());
			Add(Offset = new TI.LongInteger());
		}
示例#43
0
				public bitmap_group_sprite_block() : base(7)
				{
					Add(BitmapIndex = new TI.ShortInteger());
					Add(new TI.Pad(2 + 4));
					Add(Left = new TI.Real());
					Add(Right = new TI.Real());
					Add(Top = new TI.Real());
					Add(Bottom = new TI.Real());
					Add(RegistrationPoint = new TI.RealPoint2D());
				}
示例#44
0
				public sound_permutations_block() : base(9)
				{
					Add(Name = new TI.String());
					Add(SkipFraction = new TI.Real(BlamLib.TagInterface.FieldType.RealFraction));
					Add(Gain = new TI.Real(BlamLib.TagInterface.FieldType.RealFraction));
					Add(Compression = new TI.Enum());
					Add(NextPermutationIndex = new TI.ShortInteger());
					Add(new TI.Pad(20));
					Add(Samples = new TI.Data(this, BlamLib.TagInterface.DataType.Sound));
					Add(Mouth = new TI.Data(this));
					Add(SubtitleData = new TI.Data(this));
				}
示例#45
0
			public antenna_vertex_block() : base(9)
			{
				Add(SpringStrengthCoefficent = new TI.Real(BlamLib.TagInterface.FieldType.RealFraction));
				Add(new TI.Pad(24));
				Add(Angles = new TI.RealEulerAngles2D());
				Add(Length = new TI.Real());
				Add(SequenceIndex = new TI.ShortInteger());
				Add(new TI.Pad(2));
				Add(Color = new TI.RealColor(BlamLib.TagInterface.FieldType.RealArgbColor));
				Add(LodColor = new TI.RealColor(BlamLib.TagInterface.FieldType.RealArgbColor));
				Add(new TI.Pad(40 + 12));
			}
示例#46
0
			public bitmap_texture_interop_resource() : base(4)
			{
				Add(BitmapData = new TI.Data(this));
				Add(UnknownData = new TI.Data(this));
				Add(Width = new TI.ShortInteger());
				Add(Height = new TI.ShortInteger());
				Add(Unknown2C = new TI.ByteInteger());
				Add(Unknown2D = new TI.ByteInteger());
				Add(Unknown2E = new TI.ByteInteger());
				Add(Unknown2F = new TI.ByteInteger());
				Add(Unknown30 = new TI.LongInteger());
			}
示例#47
0
			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());
			}
示例#48
0
			public player_control_block() : base(15)
			{
				Add(MagnetismFriction = new TI.Real(BlamLib.TagInterface.FieldType.RealFraction));
				Add(MagnetismAdhesion = new TI.Real(BlamLib.TagInterface.FieldType.RealFraction));
				Add(InconsequentialTargetScale = new TI.Real(BlamLib.TagInterface.FieldType.RealFraction));
				Add(new TI.Pad(52));
				Add(LookAccelerationTime = new TI.Real());
				Add(LookAccelerationScale = new TI.Real());
				Add(LookPegThreshold = new TI.Real(BlamLib.TagInterface.FieldType.RealFraction));
				Add(LookDefaultPitchRate = new TI.Real());
				Add(LookDefaultYawRate = new TI.Real());
				Add(LookAutolevelingScale = new TI.Real());
				Add(new TI.Pad(20));
				Add(MinWeaponSwapTicks = new TI.ShortInteger());
				Add(MinAutolevelingTicks = new TI.ShortInteger());
				Add(MinAngleForVehicleFlipping = new TI.Real(BlamLib.TagInterface.FieldType.Angle));
				Add(LookFunction = new TI.Block<field_block<TI.Real>>(this, 16));
			}
示例#49
0
文件: Hud.cs 项目: CodeAsm/open-sauce
		public global_hud_element_struct() : base(13)
		{
			Add(AnchorOffset = new TI.Point2D());
			Add(WidthScale = new TI.Real());
			Add(HeightScale = new TI.Real());
			Add(ScalingFlags = new TI.Flags(BlamLib.TagInterface.FieldType.WordFlags));
			Add(new TI.Pad(2 + 20));
			Add(DefaultColor = new TI.Color());
			Add(FlashingColor = new TI.Color());
			Add(FlashPeriod = new TI.Real());
			Add(FlashDelay = new TI.Real());
			Add(NumberOfFlashes = new TI.ShortInteger());
			Add(FlashFlags = new TI.Flags(BlamLib.TagInterface.FieldType.WordFlags));
			Add(FlashLength = new TI.Real());
			Add(DisabledColor = new TI.Color());

			// i think the 4 byte padding that follows this should be here...
		}
示例#50
0
		public sound_environment_group() : base(16)
		{
			Add(new TI.Pad(4));
			Add(Priority = new TI.ShortInteger());
			Add(new TI.Pad(2));
			Add(RoomIntensity = new TI.Real());
			Add(RoomIntensityHf = new TI.Real());
			Add(RoomRollOff = new TI.Real());
			Add(DecayTime = new TI.Real());
			Add(DecayHfRatio = new TI.Real());
			Add(ReflectionsIntensity = new TI.Real());
			Add(ReflectionsDelay = new TI.Real());
			Add(ReverbIntensity = new TI.Real());
			Add(ReverbDelay = new TI.Real());
			Add(Diffusion = new TI.Real());
			Add(Denstiy = new TI.Real());
			Add(HfReference = new TI.Real());
			Add(new TI.Pad(16));
		}
示例#51
0
文件: Hud.cs 项目: CodeAsm/open-sauce
		public global_hud_meter_struct() : base(20)
		{
			Add(AnchorOffset = new TI.Point2D());
			Add(WidthScale = new TI.Real());
			Add(HeightScale = new TI.Real());
			Add(ScalingFlags = new TI.Flags(BlamLib.TagInterface.FieldType.WordFlags));
			Add(new TI.Pad(2 + 20));
			Add(Bitmap = new TI.TagReference(this, TagGroups.bitm));
			Add(ColorAtMeterMin = new TI.Color(BlamLib.TagInterface.FieldType.RgbColor));
			Add(ColorAtMeterMax = new TI.Color(BlamLib.TagInterface.FieldType.RgbColor));
			Add(FlashColor = new TI.Color(BlamLib.TagInterface.FieldType.RgbColor));
			Add(EmptyColor = new TI.Color());
			Add(Flags = new TI.Flags(BlamLib.TagInterface.FieldType.ByteFlags));
			Add(MinMeterValue = new TI.ByteInteger());
			Add(SequenceIndex = new TI.ShortInteger());
			Add(AlphaMul = new TI.ByteInteger());
			Add(AlphaBias = new TI.ByteInteger());
			Add(ValueScale = new TI.ShortInteger());
			Add(Opacity = new TI.Real());
			Add(Translucency = new TI.Real());
			Add(DisabledColor = new TI.Color());
			Add(new TI.Pad(16));
		}
示例#52
0
			public object_function_block() : base(21)
			{
				Add(Flags = new TI.Flags());
				Add(Period = new TI.Real());
				Add(ScalePeriodBy = new TI.Enum());
				Add(Function = new TI.Enum());
				Add(ScaleFunctionBy = new TI.Enum());
				Add(WobbleFunction = new TI.Enum());
				Add(WobblePeriod = new TI.Real());
				Add(WobbleMagnitude = new TI.Real());
				Add(SquareWaveThreshold = new TI.Real(TI.FieldType.RealFraction));
				Add(StepCount = new TI.ShortInteger());
				Add(MapTo = new TI.Enum());
				Add(SawtoothCount = new TI.ShortInteger());
				Add(_Add = new TI.Enum());
				Add(ScaleResultBy = new TI.Enum());
				Add(BoundsMode = new TI.Enum());
				Add(Bounds = new TI.RealBounds(BlamLib.TagInterface.FieldType.RealFractionBounds));
				Add(new TI.Pad(4 + 2));
				Add(TurnoffWith = new TI.BlockIndex());
				Add(ScaleBy = new TI.Real());
				Add(new TI.Pad(252 + 16));
				Add(Usage = new TI.String());
			}
示例#53
0
文件: AI.cs 项目: CodeAsm/open-sauce
			public involuntary_data_block() : base(2)
			{
				Add(InvoluntaryVocalizationIndex = new TI.ShortInteger());
				Add(new TI.Pad(2));
			}
示例#54
0
文件: AI.cs 项目: CodeAsm/open-sauce
			public dialogue_data_block() : base(2)
			{
				Add(StartIndex = new TI.ShortInteger());
				Add(Length = new TI.ShortInteger());
			}
示例#55
0
文件: Bsp.cs 项目: CodeAsm/open-sauce
			public structure_bsp_instanced_geometry_definition_block()
			{
				Add(Unknown00 = new TI.LongInteger());
				Add(BoundingSphereCenter = new TI.RealPoint3D());
				Add(BoundingSphereRadis = new TI.Real());
				Add(CollisionInfo = new TI.Struct<global_collision_bsp_struct>(this));

				// collision_bsp_physics_struct
				Add(/*bsps = */ new TI.Block<global_collision_bsp_block>(this, 0));
				Add(new TI.Block<mopp_code_block>(this, 0));
				Add(TI.UnknownPad.BlockHalo3); // [0x?] (physics related)

				Add(Unknown98 = new TI.Block<block_98>(this, 0));
				Add(UnknownA4 = new TI.Block<block_A4>(this, 0));
				Add(UnknownB0 = new TI.ShortInteger());
				Add(UnknownB2 = new TI.ShortInteger());
				Add(UnknownB4 = new TI.Real());
			}
示例#56
0
文件: Bsp.cs 项目: CodeAsm/open-sauce
					Unknown2; // (most likely bsp node index)

				public block_A4() : base(2)
				{
					Add(Unknown0 = new TI.ShortInteger());
					Add(Unknown2 = new TI.ShortInteger());
				}
示例#57
0
文件: Bsp.cs 项目: CodeAsm/open-sauce
					_Count; // (surface reference count?)

				public block_98() : base(2)
				{
					Add(Start = new TI.ShortInteger());
					Add(_Count = new TI.ShortInteger());
				}
示例#58
0
			public scenario_bsp_switch_trigger_volume_block() : base(4)
			{
				Add(TriggerVolume = new TI.BlockIndex());
				Add(Source = new TI.ShortInteger());
				Add(Destination = new TI.ShortInteger());
				Add(new TI.Pad(2));
			}
示例#59
0
			public scenario_netgame_equipment_block() : base(12)
			{
				Add(Flags = new TI.Flags());
				Add(Type0 = new TI.Enum());
				Add(Type1 = new TI.Enum());
				Add(Type2 = new TI.Enum());
				Add(Type3 = new TI.Enum());
				Add(TeamIndex = new TI.ShortInteger());
				Add(SpawnTime = new TI.ShortInteger());
				Add(new TI.Pad(48));
				Add(Position = new TI.RealPoint3D());
				Add(Facing = new TI.Real(BlamLib.TagInterface.FieldType.Angle));
				Add(ItemCollection = new TI.TagReference(this, TagGroups.itmc));
				Add(new TI.Pad(48));
			}
示例#60
0
			public scenario_netgame_flags_block() : base(6)
			{
				Add(Position = new TI.RealPoint3D());
				Add(Facing = new TI.Real(BlamLib.TagInterface.FieldType.Angle));
				Add(Type = new TI.Enum());
				Add(TeamIndex = new TI.ShortInteger());
				Add(WeaponGroup = new TI.TagReference(this, TagGroups.itmc));
				Add(new TI.Pad(112));
			}