public difficulty_block() : base(108)
            {
                Health = new TI.Real[36];
                for (int x = 0; x < Health.Length; x++)
                {
                    Add(Health[x] = new TI.Real());
                }
                Add(new TI.Pad(16));

                RangedFire = new TI.Real[48];
                for (int x = 0; x < RangedFire.Length; x++)
                {
                    Add(RangedFire[x] = new TI.Real());
                }
                Add(new TI.Pad(16));

                Grenades = new TI.Real[8];
                for (int x = 0; x < Grenades.Length; x++)
                {
                    Add(Grenades[x] = new TI.Real());
                }
                Add(new TI.Pad(16 * 3));

                Placement = new TI.Real[12];
                for (int x = 0; x < Placement.Length; x++)
                {
                    Add(Placement[x] = new TI.Real());
                }
                Add(new TI.Pad(16 * 4 + 84));
            }
 public player_information_block() : base(27)
 {
     Add(Unit = new TI.TagReference(this, TagGroups.unit));
     Add(new TI.Pad(28));
     Add(WalkingSpeed         = new TI.Real());
     Add(DoubleSpeedMul       = new TI.Real());
     Add(RunForward           = new TI.Real());
     Add(RunBackward          = new TI.Real());
     Add(RunSideways          = new TI.Real());
     Add(RunAcceleration      = new TI.Real());
     Add(SneakForward         = new TI.Real());
     Add(SneakBackward        = new TI.Real());
     Add(SneakSideways        = new TI.Real());
     Add(SneakAcceleration    = new TI.Real());
     Add(AirborneAcceleration = new TI.Real());
     Add(new TI.Pad(16));
     Add(GrenadeOrigin = new TI.RealPoint3D());
     Add(new TI.Pad(12));
     Add(StunMovementPenalty = new TI.Real());
     Add(StunTurningPenalty  = new TI.Real());
     Add(StunJumpingPenalty  = new TI.Real());
     Add(MinStunTime         = new TI.Real());
     Add(MaxStunTime         = new TI.Real());
     Add(new TI.Pad(8));
     Add(FirstPersionIdleTime     = new TI.RealBounds());
     Add(FirstPersionSkipFraction = new TI.Real(BlamLib.TagInterface.FieldType.RealFraction));
     Add(new TI.Pad(16));
     Add(CoopRespawnEffect = new TI.TagReference(this, TagGroups.effe));
     Add(new TI.Pad(44));
 }
            public rasterizer_data_block() : base(27)
            {
                Add(DistanceAttenuation       = new TI.TagReference(this, TagGroups.bitm));
                Add(VectorNormalization       = new TI.TagReference(this, TagGroups.bitm));
                Add(AtmosphereicFogDensity    = new TI.TagReference(this, TagGroups.bitm));
                Add(PlanarFogDensity          = new TI.TagReference(this, TagGroups.bitm));
                Add(LinearCornerFade          = new TI.TagReference(this, TagGroups.bitm));
                Add(ActiveCamoflageDistortion = new TI.TagReference(this, TagGroups.bitm));
                Add(Glow = new TI.TagReference(this, TagGroups.bitm));
                Add(new TI.Pad(60));

                Add(Default2D      = new TI.TagReference(this, TagGroups.bitm));
                Add(Default3D      = new TI.TagReference(this, TagGroups.bitm));
                Add(DefaultCubeMap = new TI.TagReference(this, TagGroups.bitm));

                Add(Test0 = new TI.TagReference(this, TagGroups.bitm));
                Add(Test1 = new TI.TagReference(this, TagGroups.bitm));
                Add(Test2 = new TI.TagReference(this, TagGroups.bitm));
                Add(Test3 = new TI.TagReference(this, TagGroups.bitm));

                Add(VideoScanlineMap = new TI.TagReference(this, TagGroups.bitm));
                Add(VideoNoiseMap    = new TI.TagReference(this, TagGroups.bitm));
                Add(new TI.Pad(52));

                Add(Flags = new TI.Flags(TI.FieldType.WordFlags));
                Add(new TI.Pad(2));
                Add(RefractionAmount            = new TI.Real());
                Add(DistanceFalloff             = new TI.Real());
                Add(TintColor                   = new TI.RealColor());
                Add(HyperStealthRefraction      = new TI.Real());
                Add(HyperStealthDistanceFalloff = new TI.Real());
                Add(HyperStealthTintColor       = new TI.RealColor());

                Add(DistanceAttenuation2D = new TI.TagReference(this, TagGroups.bitm));
            }
 public item_permutation_block() : base(4)
 {
     Add(new TI.Pad(32));
     Add(Weight = new TI.Real());
     Add(Item   = new TI.TagReference(this, TagGroups.item));
     Add(new TI.Pad(32));
 }
        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));
        }
 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));
 }
Example #7
0
        public physics_group() : base(24)
        {
            Add(Radius             = new TI.Real());
            Add(MomentScale        = new TI.Real(TI.FieldType.RealFraction));
            Add(Mass               = new TI.Real());
            Add(CenterOfMass       = new TI.RealPoint3D());
            Add(Density            = new TI.Real());
            Add(GravityScale       = new TI.Real());
            Add(GroundFriction     = new TI.Real());
            Add(GroundDepth        = new TI.Real());
            Add(GroundDampFraction = new TI.Real(TI.FieldType.RealFraction));
            Add(GroundNormalK1     = new TI.Real());
            Add(GroundNormalK0     = new TI.Real());
            Add(new TI.Pad(4));
            Add(WaterFriction = new TI.Real());
            Add(WaterDepth    = new TI.Real());
            Add(WaterDensity  = new TI.Real());
            Add(new TI.Pad(4));
            Add(AirFriction = new TI.Real());
            Add(new TI.Pad(4));
            Add(MomentXX = new TI.Real());
            Add(MomentYY = new TI.Real());
            Add(MomentZZ = new TI.Real());

            Add(InertialMatrixAndInverse = new TI.Block <inertial_matrix_block>(this, 2));
            Add(PoweredMassPoints        = new TI.Block <powered_mass_point_block>(this, 32));
            Add(MassPoints = new TI.Block <mass_point_block>(this, 32));
        }
 public powered_seat_block() : base(4)
 {
     Add(new TI.Pad(4));
     Add(DriverPowerupTime   = new TI.Real());
     Add(DriverPowerdownTime = new TI.Real());
     Add(new TI.Pad(56));
 }
        public shader_map_struct() : base(13)
        {
            // Stubb's code has byte swapping for this padding:
            // word
            // word
            // dword
            // dword
            // dword
            // dword
            // dword
            // dword
            // dword
            // word
            // word
            // word
            // word
            Add(new TI.Pad(40));
            Add(ShaderFlags = TI.Flags.Word);
            Add(FramebufferBlendFunction = new TI.Enum());
            Add(FramebufferFadeMode      = new TI.Enum());
            Add(ShaderMapFlags           = TI.Flags.Word);
            Add(new TI.Pad(28));

            Add(MapBitmap = new TI.TagReference(this, TagGroups.bitm));

            Add(MapAnchor = new TI.Enum());
            Add(MapFlags  = TI.Flags.Word);

            Add(MapAnimation = new TI.Struct <shader_animation_struct>(this));

            // 28
            Add(new TI.Pad(4));
            Add(ZSpriteRadiusScale = new TI.Real());
            Add(new TI.Pad(20));
        }
        public shader_transparent_glass_group() : base(25)
        {
            Add(Flags = TI.Flags.Word);
            Add(new TI.Pad(2 + 40));
            Add(BackgroundTintColor    = new TI.RealColor());
            Add(BackgroundTintMapScale = new TI.Real());
            Add(BackgroundTintMap      = new TI.TagReference(this, TagGroups.bitm));
            Add(new TI.Pad(20 + 2));

            Add(ReflectionType          = new TI.Enum());
            Add(PerpendicularBrightness = TI.Real.Fraction);
            Add(PerpendicularTintColor  = new TI.RealColor());
            Add(ParallelBrightness      = TI.Real.Fraction);
            Add(ParallelTintColor       = new TI.RealColor());
            Add(ReflectionMap           = new TI.TagReference(this, TagGroups.bitm));
            Add(BumpMapScale            = new TI.Real());
            Add(BumpMap = new TI.TagReference(this, TagGroups.bitm));
            Add(new TI.Pad(128 + 4));
            Add(DiffuseMapScale       = new TI.Real());
            Add(DiffuseMap            = new TI.TagReference(this, TagGroups.bitm));
            Add(DiffuseDetailMapScale = new TI.Real());
            Add(DiffuseDetailMap      = new TI.TagReference(this, TagGroups.bitm));
            Add(new TI.Pad(28 + 4));
            Add(SpecularMapScale       = new TI.Real());
            Add(SpecularMap            = new TI.TagReference(this, TagGroups.bitm));
            Add(SpecularDetailMapScale = new TI.Real());
            Add(SpecularDetailMap      = new TI.TagReference(this, TagGroups.bitm));
            Add(new TI.Pad(28));
        }
        public shader_transparent_plasma_group() : base(25)
        {
            Add(new TI.Pad(2 + 2));
            Add(IntensitySource = new TI.Enum());
            Add(new TI.Pad(2));
            Add(IntensityExponent = new TI.Real());
            Add(OffsetSource      = new TI.Enum());
            Add(new TI.Pad(2));
            Add(OffsetAmount   = new TI.Real());
            Add(OffsetExponent = new TI.Real());
            Add(new TI.Pad(32));

            Add(PerpendicularBrightness = TI.Real.Fraction);
            Add(PerpendicularTintColor  = new TI.RealColor());
            Add(ParallelBrightness      = TI.Real.Fraction);
            Add(ParallelTintColor       = new TI.RealColor());
            Add(ParallelTintColorSource = new TI.Enum());
            Add(new TI.Pad(2 + 32 + 2 + 2 + 16 + 4 + 4));
            Add(PrimaryAnimationPeriod    = new TI.Real());
            Add(PrimaryAnimationDirection = new TI.RealVector3D());
            Add(PrimaryNoiseMapScale      = new TI.Real());
            Add(PrimaryNoiseMap           = new TI.TagReference(this, TagGroups.bitm));
            Add(new TI.Pad(32 + 4));
            Add(SecondaryAnimationPeriod    = new TI.Real());
            Add(SecondaryAnimationDirection = new TI.RealVector3D());
            Add(SecondaryNoiseMapScale      = new TI.Real());
            Add(SecondaryNoiseMap           = new TI.TagReference(this, TagGroups.bitm));
            Add(new TI.Pad(32));
        }
Example #12
0
		public damage_effect_struct() : base(4)
		{
			Add(Radius = new TI.RealBounds());
			Add(CutoffScale = new TI.Real(TI.FieldType.RealFraction));
			Add(Flags = new TI.Flags()); // not exposed for continuous_damage_effect
			Add(new TI.Pad(20));
		}
 public shader_texture_animation_function_struct() : base(4)
 {
     Add(Function = new TI.Enum());
     Add(TI.Pad.Word);
     Add(Period = new TI.Real());
     Add(Scale  = new TI.Real());
 }
Example #14
0
 public damage_effect_struct() : base(4)
 {
     Add(Radius      = new TI.RealBounds());
     Add(CutoffScale = new TI.Real(TI.FieldType.RealFraction));
     Add(Flags       = new TI.Flags());       // not exposed for continuous_damage_effect
     Add(new TI.Pad(20));
 }
Example #15
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));
        }
Example #16
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));
        }
Example #17
0
 public effect_particles_block() : base(27)
 {
     Add(CreatIn1 = new TI.Enum());
     Add(CreatIn2 = new TI.Enum());
     Add(Create   = new TI.Enum());
     Add(new TI.Pad(2));
     Add(Location = new TI.BlockIndex());
     Add(new TI.Pad(2));
     Add(RelativeDirection = new TI.RealEulerAngles2D());
     Add(RelativeOffset    = new TI.RealVector3D());
     Add(new TI.Pad(12 + 40));
     Add(ParticleType         = new TI.TagReference(this, TagGroups.part));
     Add(Flags                = new TI.Flags());
     Add(DistributionFunction = new TI.Enum());
     Add(new TI.Pad(2));
     Add(CreateCount        = new TI.ShortIntegerBounds());
     Add(DistributionRadius = new TI.RealBounds());
     Add(new TI.Pad(12));
     Add(VelocityBounds        = new TI.RealBounds());
     Add(VelocityConeAngle     = new TI.Real(TI.FieldType.Angle));
     Add(AngularVelocityBounds = new TI.RealBounds(TI.FieldType.AngleBounds));
     Add(new TI.Pad(8));
     Add(Radius = new TI.RealBounds());
     Add(new TI.Pad(8));
     Add(TintLowerBound = new TI.RealColor(TI.FieldType.RealArgbColor));
     Add(TintUpperBound = new TI.RealColor(TI.FieldType.RealArgbColor));
     Add(new TI.Pad(16));
     Add(ScaleModiferA  = new TI.Flags());
     Add(ScaleModifierB = new TI.Flags());
 }
Example #18
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));
		}
Example #19
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));
        }
Example #20
0
 public global_hud_sound_block() : base(4)
 {
     Add(Sound     = new TI.TagReference());         // snd!,lsnd
     Add(LatchedTo = new TI.Flags());
     Add(Scale     = new TI.Real());
     Add(new TI.Pad(32));
 }
Example #21
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));
 }
Example #22
0
		public bitmap_group() : base(21)
		{
			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(BlamLib.TagInterface.FieldType.RealFraction));

			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(new TI.Pad(2));

			Add(Sequences = new TI.Block<bitmap_group_sequence_block>(this, 256));
			Add(Bitmaps = new TI.Block<bitmap_data_block>(this, 2048));
		}
Example #23
0
 public sky_group() : base(22)
 {
     Add(Model     = new TI.TagReference(this, TagGroups.mod2));
     Add(Animation = new TI.TagReference(this, TagGroups.antr));
     Add(new TI.Pad(24));
     Add(IndoorAmbientRadiosityColor  = new TI.RealColor(TI.FieldType.RealRgbColor));
     Add(IndoorAmbientRadiosityPower  = new TI.Real());
     Add(OutdoorAmbientRadiosityColor = new TI.RealColor(TI.FieldType.RealRgbColor));
     Add(OutdoorAmbientRadiosityPower = new TI.Real());
     Add(OutdoorFogColor = new TI.RealColor(TI.FieldType.RealRgbColor));
     Add(new TI.Pad(8));
     Add(OutdoorFogMaximumDensity = new TI.Real(TI.FieldType.RealFraction));
     Add(OutdoorFogStartDistance  = new TI.Real());
     Add(OutdoorFogOpaqueDistance = new TI.Real());
     Add(IndoorFogColor           = new TI.RealColor(TI.FieldType.RealRgbColor));
     Add(new TI.Pad(8));
     Add(IndoorFogMaximumDensity = new TI.Real(TI.FieldType.RealFraction));
     Add(IndoorFogStartDistance  = new TI.Real());
     Add(IndoorFogOpaqueDistance = new TI.Real());
     Add(IndoorFogScreen         = new TI.TagReference(this, TagGroups.fog_));
     Add(new TI.Pad(4));
     Add(ShaderFunctions = new TI.Block <sky_shader_function_block>(this, 8));
     Add(Animations      = new TI.Block <sky_animation_block>(this, 8));
     Add(Lights          = new TI.Block <sky_light_block>(this, 8));
 }
Example #24
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));
 }
Example #25
0
 public structure_bsp_breakable_surface_block() : base(4)
 {
     Add(Centroid = new TI.RealPoint3D());
     Add(Radius   = new TI.Real());
     Add(CollisionSurfaceIndex = new TI.LongInteger());
     Add(new TI.Pad(28));
 }
            public projectile_material_response_block() : base(21)
            {
                Add(Flags = new TI.Flags(BlamLib.TagInterface.FieldType.WordFlags));

                Add(Response = new TI.Enum());
                Add(Effect   = new TI.TagReference(this, TagGroups.effe));
                Add(new TI.Pad(16));

                Add(PotentialResponse = new TI.Enum());
                Add(PotentialFlags    = new TI.Flags(BlamLib.TagInterface.FieldType.WordFlags));
                Add(SkipFraction      = new TI.Real(BlamLib.TagInterface.FieldType.RealFraction));
                Add(Between           = new TI.RealBounds(BlamLib.TagInterface.FieldType.AngleBounds));
                Add(And             = new TI.RealBounds());
                Add(PotentialEffect = new TI.TagReference(this, TagGroups.effe));
                Add(new TI.Pad(16));

                Add(ScaleEffectsBy = new TI.Enum());
                Add(TI.Pad.Word);
                Add(AngularNoise     = new TI.Real(BlamLib.TagInterface.FieldType.Angle));
                Add(VelocityNoise    = new TI.Real());
                Add(DetonationEffect = new TI.TagReference(this, TagGroups.effe));
                Add(new TI.Pad(24));

                Add(InitialFriction = new TI.Real());
                Add(MaxDist         = new TI.Real());

                Add(ParallelFriction      = new TI.Real());
                Add(PerpendicularFriction = new TI.Real());
            }
Example #27
0
 public pathfinding_spheres_block() : base(4)
 {
     Add(Node = new TI.BlockIndex());
     Add(new TI.Pad(2 + 12));
     Add(Center = new TI.RealPoint3D());
     Add(Radius = new TI.Real());
 }
 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));
 }
Example #29
0
 public structure_bsp_weather_polyhedron_block() : base(4)
 {
     Add(BoundingSphereCenter = new TI.RealPoint3D());
     Add(BoundingSphereRadius = new TI.Real());
     Add(new TI.Pad(4));
     Add(Planes = new TI.Block <field_block <TI.RealPlane3D> >(this, 16));
 }
Example #30
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));
		}
Example #31
0
 public global_z_reference_vector_block() : base(4)
 {
     Add(Fields1 = new TI.Real());
     Add(Fields2 = new TI.Real());
     Add(Fields3 = new TI.Real());
     Add(Fields4 = new TI.Real());
 }
Example #32
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));
        }
 public multiplayer_object_type_mapping_block() : base(7)
 {
     Add(TypeIndex = new TI.BlockIndex(TI.FieldType.LongBlockIndex));
     Add(TI.Pad.DWord);                 // Only ever seen as zero. Probably an unused string id
     Add(Unknown10 = new TI.Real());
     Add(Unknown14 = new TI.LongInteger());
 }
        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));
        }
Example #35
0
		public shader_animation_function_struct() : base(5)
		{
			Add(Source = new TI.Enum());
			Add(Function = new TI.Enum());
			Add(Period = new TI.Real());
			Add(Phase = new TI.Real());
			Add(Scale = new TI.Real());
		}
Example #36
0
		public breakable_surface_group() : base(5)
		{
			Add(MaximumVitality = new TI.Real());
			Add(Effect = new TI.TagReference(this, TagGroups.effe));
			Add(Sound = new TI.TagReference(this, TagGroups.snd_));
			Add(ParticleEffects = new TI.Block<particle_system_definition_block_new>(this, 32));
			Add(ParticleDensity = new TI.Real());
		}
Example #37
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));
			}
Example #38
0
			public shader_animation_property_block() : base(6)
			{
				Add(Type = new TI.Enum());
				Add(TI.Pad.Word);
				Add(InputName = new TI.StringId());
				Add(RangeName = new TI.StringId());
				Add(TimePeriod = new TI.Real());
				Add(Function = new TI.Struct<mapping_function>(this));
			}
Example #39
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());
				}
Example #40
0
				public bitmap_group_sprite_block()
				{
					Add(BitmapIndex = new TI.BlockIndex());
					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());
				}
Example #41
0
		public global_shader_parameter_block() : base(7)
		{
			/*0x00*/Add(Name = new TI.StringId());
			/*0x04*/Add(Type = new TI.Enum());
			/*0x06*/Add(RuntimeFlags = new TI.Flags(TI.FieldType.WordFlags)); // was Pad
			/*0x08*/Add(Bitmap = new TI.TagReference(this, TagGroups.bitm));
			/*0x18*/Add(ConstValue = new TI.Real());
			/*0x1C*/Add(ConstColor = new TI.RealColor());
			/*0x28*/Add(AnimationProperties = new TI.Block<shader_animation_property_block>(this, 14));
		}
Example #42
0
		public shader_color_function_struct() : base(7)
		{
			Add(OnColor = new TI.RealColor());
			Add(OffColor = new TI.RealColor());
			Add(AnimationFunction = new TI.Enum());
			Add(TI.Pad.Word);
			Add(AnimationPeriod = new TI.Real());
			Add(AnimationPhase = new TI.Real());
			Add(new TI.Pad(24));
		}
Example #43
0
			public contrail_point_states_block() : base(8)
			{
				Add(Duration = new TI.RealBounds());
				Add(TransitionDuration = new TI.RealBounds());
				Add(Physics = new TI.TagReference(this, TagGroups.phys));
				Add(new TI.Pad(32));
				Add(Width = new TI.Real());
				Add(ColorLowerBound = new TI.RealColor(BlamLib.TagInterface.FieldType.RealArgbColor));
				Add(ColorUpperBound = new TI.RealColor(BlamLib.TagInterface.FieldType.RealArgbColor));
				Add(ScaleFlags = new TI.Flags());
			}
Example #44
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));
			}
Example #45
0
		public antenna_group() : base(9)
		{
			Add(AttachmentMarkerName = new TI.String());
			Add(Bitmaps = new TI.TagReference(this, TagGroups.bitm));
			Add(Physics = new TI.TagReference(this, TagGroups.phys));
			Add(new TI.Pad(80));
			Add(SpringStrenthCoefficent = new TI.Real(BlamLib.TagInterface.FieldType.RealFraction));
			Add(FalloffPixels = new TI.Real());
			Add(CutoffPixels = new TI.Real());
			Add(new TI.Pad(40));
			Add(Vertices = new TI.Block<antenna_vertex_block>(this, 20));
		}
Example #46
0
			public model_node_block() : base(9)
			{
				Add(Name = new TI.String());
				Add(NextSiblingNode = new TI.BlockIndex());
				Add(FirstChildNode = new TI.BlockIndex());
				Add(ParentNode = new TI.BlockIndex());
				Add(new TI.Pad(2));
				Add(DefaultTranslation = new TI.RealPoint3D());
				Add(DefaultRotation = new TI.RealQuaternion());
				Add(NodeDistFromParent = new TI.Real());
				Add(new TI.Pad(32 + 52));
			}
Example #47
0
		public damage_breaking_effect_struct() : base(9)
		{
			Add(new TI.Pad(112));
			Add(ForwardVelocity = new TI.Real());
			Add(ForwardRadius = new TI.Real());
			Add(ForwardExponent = new TI.Real());
			Add(new TI.Pad(12));
			Add(OutwardVelocity = new TI.Real());
			Add(OutwardRadius = new TI.Real());
			Add(OutwardExponent = new TI.Real());
			Add(new TI.Pad(12));
		}
Example #48
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));
				}
Example #49
0
		public damage_camera_effect_struct() : base(12)
		{
			Add(new TI.Pad(4 + 12));
			Add(ShakeDuration = new TI.Real());
			Add(ShakeFalloffFunction = new TI.Enum());
			Add(TI.Pad.Word);
			Add(RandomTranslation = new TI.Real());
			Add(RandomRotation = new TI.Real(BlamLib.TagInterface.FieldType.Angle));
			Add(new TI.Pad(12));
			Add(WobbleFunction = new TI.Enum());
			Add(TI.Pad.Word);
			Add(WobblePeriod = new TI.Real());
			Add(WobbleWeight = new TI.Real(BlamLib.TagInterface.FieldType.RealFraction));
			Add(new TI.Pad(4 + 20 + 8));
		}
Example #50
0
		public damage_data_struct() : base(14)
		{
			Add(SideEffect = new TI.Enum());
			Add(Category = new TI.Enum());
			Add(Flags = new TI.Flags());
			Add(AOECoreRadius = new TI.Real());	// not exposed for continuous_damage_effect
			Add(DamageLowerBound = new TI.Real());
			Add(DamageUpperBound = new TI.RealBounds());
			Add(VehiclePassThroughPenalty = new TI.Real());
			Add(ActiveCamoDamage = new TI.Real()); // not exposed for continuous_damage_effect
			Add(Stun = new TI.Real());
			Add(MaxStun = new TI.Real());
			Add(StunTime = new TI.Real());
			Add(TI.Pad.DWord);
			Add(InstantaneousAcceleration = new TI.Real());
			Add(new TI.Pad(4 + 4)); // useless padding
		}
Example #51
0
		public sound_playback_parameters_struct() : base(14)
		{
			Add(MinDist = new TI.Real());
			Add(MaxDist = new TI.Real());
			Add(SkipFraction = new TI.Real(TI.FieldType.RealFraction));
			Add(MaxBendPerSec = new TI.Real());
			Add(GainBase = new TI.Real());
			Add(GainVariance = new TI.Real());
			Add(RandomPitchBounds = new TI.ShortIntegerBounds());
			Add(InnerConeAngle = new TI.Real(TI.FieldType.Angle));
			Add(OuterConeAngle = new TI.Real(TI.FieldType.Angle));
			Add(OuterConeGain = new TI.Real());
			Add(Flags = new TI.Flags());
			Add(Azimuth = new TI.Real(TI.FieldType.Angle));
			Add(PositionalGain = new TI.Real());
			Add(FirstPersonGain = new TI.Real());
		}
Example #52
0
		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...
		}
Example #53
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));
			}
Example #54
0
		public shader_map_struct() : base(13)
		{
			Add(new TI.Pad(40));
			Add(ShaderFlags = TI.Flags.Word);
			Add(FramebufferBlendFunction = new TI.Enum());
			Add(FramebufferFadeMode = new TI.Enum());
			Add(ShaderMapFlags = TI.Flags.Word);
			Add(new TI.Pad(28));

			Add(MapBitmap = new TI.TagReference(this, TagGroups.bitm));
			
			Add(MapAnchor = new TI.Enum());
			Add(MapFlags = TI.Flags.Word);
			
			Add(MapAnimation = new TI.Struct<shader_animation_struct>(this));
			
			// 28
			Add(new TI.Pad(4));
			Add(ZSpriteRadiusScale = new TI.Real());
			Add(new TI.Pad(20));
		}
Example #55
0
			public difficulty_block() : base(108)
			{
				Health = new TI.Real[36];
				for (int x = 0; x < Health.Length; x++)
					Add(Health[x] = new TI.Real());
				Add(new TI.Pad(16));

				RangedFire = new TI.Real[48];
				for (int x = 0; x < RangedFire.Length; x++)
					Add(RangedFire[x] = new TI.Real());
				Add(new TI.Pad(16));

				Grenades = new TI.Real[8];
				for (int x = 0; x < Grenades.Length; x++)
					Add(Grenades[x] = new TI.Real());
				Add(new TI.Pad(16 * 3));

				Placement = new TI.Real[12];
				for (int x = 0; x < Placement.Length; x++)
					Add(Placement[x] = new TI.Real());
				Add(new TI.Pad(16 * 4 + 84));
			}
Example #56
0
		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));
		}
Example #57
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());
			}
Example #58
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));
			}
Example #59
0
			public structure_bsp_instanced_geometry_instances_block() : base(20)
			{
				Add(Scale = new TI.Real());
				Add(Forward = new TI.RealVector3D());
				Add(Left = new TI.RealVector3D());
				Add(Up = new TI.RealVector3D());
				Add(Position = new TI.RealPoint3D());
				Add(InstanceDefinition = new TI.BlockIndex()); // 1 structure_bsp_instanced_geometry_definition_block
				Add(/*Flags = */ new TI.Flags(TI.FieldType.WordFlags));
				Add(new TI.BlockIndex()); // index to sbsp->0x350
				Add(new TI.Pad(2 + // only seen this as zero, assuming its pad
					4)); // only seen this as zero, assuming its the pad from h2
				
				//Add(new TI.Skip(12 + 4 + 4)); // +4 more than h2. this is all 'real' data, not sure if its actually the same as h2
				Add(new TI.Real());
				Add(new TI.Real());
				Add(new TI.Real());
				Add(new TI.Real());
				Add(new TI.Real());
				
				Add(/*Name = */ new TI.StringId());
				Add(/*Pathfinding Policy = */ new TI.Enum());
				Add(/*Lightmapping Policy = */ new TI.Enum());
				Add(new TI.Real());

				Add(TI.UnknownPad.BlockHalo3); // [0x70] (pretty sure this is havok related, see offset 0x6)
				Add(TI.UnknownPad.BlockHalo3); // ??
			}
Example #60
0
			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());
			}