示例#1
0
 public scenario_description_block() : base(4)
 {
     Add(DescriptiveBitmap  = new TI.TagReference(this, TagGroups.bitm));
     Add(DisplayedMapName   = new TI.TagReference(this, TagGroups.ustr));
     Add(ScenarioTagDirPath = new TI.String());
     Add(new TI.Pad(4));
 }
示例#2
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));
			}
示例#3
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));
 }
示例#4
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));
 }
示例#5
0
 public tag_database_entry_block() : base(4)
 {
     Add(Name     = new TI.String(TI.StringType.Ascii, 256));
     Add(GroupTag = new TI.Tag());
     Add(Flags    = new TI.LongInteger());
     Add(ChildIds = new TI.Block <tag_database_entry_reference_block>(this, 65535));
 }
 public 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());
 }
示例#7
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));
 }
示例#8
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));
 }
示例#9
0
 public structure_bsp_fog_palette_block() : base(5)
 {
     Add(Name = new TI.String());
     Add(Fog  = new TI.TagReference(this, TagGroups.fog_));
     Add(new TI.Pad(4));
     Add(FogScaleFunction = new TI.String());
     Add(new TI.Pad(52));
 }
示例#10
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));
 }
示例#11
0
 public structure_bsp_background_sound_palette_block() : base(5)
 {
     Add(Name            = new TI.String());
     Add(BackgroundSound = new TI.TagReference(this, TagGroups.lsnd));
     Add(new TI.Pad(4));
     Add(ScaleFunction = new TI.String());
     Add(new TI.Pad(32));
 }
示例#12
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));
			}
示例#13
0
 protected unit_group(int field_count) : base(field_count + 54)
 {
     Add(UnitFlags             = new TI.Flags());
     Add(DefaultTeam           = new TI.Enum());
     Add(ConstantSoundVolume   = new TI.Enum());
     Add(RiderDamageFraction   = new TI.Real());
     Add(IntegratedLightToggle = new TI.TagReference(this, TagGroups.effe));
     Add(AinUnit                   = new TI.Enum());
     Add(BinUnit                   = new TI.Enum());
     Add(CinUnit                   = new TI.Enum());
     Add(DinUnit                   = new TI.Enum());
     Add(CameraFieldOfView         = new TI.Real(BlamLib.TagInterface.FieldType.Angle));
     Add(CameraStiffness           = new TI.Real());
     Add(CameraMarkerName          = new TI.String());
     Add(CameraSubmergedMarkerName = new TI.String());
     Add(PitchAutoLevel            = new TI.Real(BlamLib.TagInterface.FieldType.Angle));
     Add(PitchRange                = new TI.RealBounds(BlamLib.TagInterface.FieldType.AngleBounds));
     Add(CameraTracks              = new TI.Block <unit_camera_track_block>(this, 2));
     Add(SeatAccelerationScale     = new TI.RealVector3D());
     Add(new TI.Pad(12));
     Add(SoftPingThreshold     = new TI.Real());
     Add(SoftPingInterruptTime = new TI.Real());
     Add(HardPingThreshold     = new TI.Real());
     Add(HardPingInterruptTime = new TI.Real());
     Add(HardDeathThreshold    = new TI.Real());
     Add(FeignDeathThreshold   = new TI.Real());
     Add(FeignDeathTime        = new TI.Real());
     Add(DistOfEvadeAnim       = new TI.Real());
     Add(DistOfDiveAnim        = new TI.Real());
     Add(new TI.Pad(4));
     Add(StunnedMovementThreshold = new TI.Real());
     Add(FeignDeathChance         = new TI.Real());
     Add(FeignRepeatChance        = new TI.Real());
     Add(SpawnedActor             = new TI.TagReference(this, TagGroups.actv));
     Add(SpawnedActorCount        = new TI.ShortIntegerBounds());
     Add(SpawnedVelocity          = new TI.Real());
     Add(AimingVelocityMax        = new TI.Real(BlamLib.TagInterface.FieldType.Angle));
     Add(AimingAccelerationMax    = new TI.Real(BlamLib.TagInterface.FieldType.Angle));
     Add(CasualAimingModifier     = new TI.Real(BlamLib.TagInterface.FieldType.RealFraction));
     Add(LookingVelocityMaximum   = new TI.Real(BlamLib.TagInterface.FieldType.Angle));
     Add(LookingAccelerationMax   = new TI.Real(BlamLib.TagInterface.FieldType.Angle));
     Add(new TI.Pad(8));
     Add(AiVehicleRadius      = new TI.Real());
     Add(AiDangerRadius       = new TI.Real());
     Add(MeleeDamage          = new TI.TagReference(this, TagGroups.jpt_));
     Add(MotionSensorBlipSize = new TI.Enum());
     Add(new TI.Pad(2 + 12));
     Add(NewHudInterfaces = new TI.Block <unit_hud_reference_block>(this, 2));
     Add(DialogueVariants = new TI.Block <dialogue_variant_block>(this, 16));
     Add(GrenadeVelocity  = new TI.Real());
     Add(GrenadeType      = new TI.Enum());
     Add(GrenadeCount     = new TI.ShortInteger());
     Add(new TI.Pad(4));
     Add(PoweredSeats = new TI.Block <powered_seat_block>(this, 2));
     Add(Weapons      = new TI.Block <unit_weapon_block>(this, 4));
     Add(Seats        = new TI.Block <unit_seat_block>(this, 16));
 }
示例#14
0
			public object_attachment_block() : base(6)
			{
				Add(Type = new TI.TagReference(this));
				Add(Marker = new TI.String());
				Add(PrimaryScale = new TI.Enum());
				Add(SecondaryScale = new TI.Enum());
				Add(ChangeColor = new TI.Enum());
				Add(new TI.Pad(2 + 16));
			}
示例#15
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));
 }
示例#16
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));
			}
示例#17
0
					public model_region_permutation_marker_block() : base(6)
					{
						Add(Name = new TI.String());
						Add(NodeIndex = new TI.BlockIndex());
						Add(new TI.Pad(2));
						Add(Translation = new TI.RealPoint3D());
						Add(Rotation = new TI.RealQuaternion());
						Add(new TI.Pad(16));
					}
示例#18
0
 public model_region_permutation_marker_block() : base(6)
 {
     Add(Name      = new TI.String());
     Add(NodeIndex = new TI.BlockIndex());
     Add(new TI.Pad(2));
     Add(Translation = new TI.RealPoint3D());
     Add(Rotation    = new TI.RealQuaternion());
     Add(new TI.Pad(16));
 }
示例#19
0
 public event_handler_references_block() : base(6)
 {
     Add(Flags       = new TI.Flags());
     Add(EventType   = new TI.Enum());
     Add(Function    = new TI.Enum());
     Add(WidgetTag   = new TI.TagReference(this, TagGroups.DeLa));
     Add(SoundEffect = new TI.TagReference(this, TagGroups.snd_));
     Add(Script      = new TI.String());
 }
示例#20
0
 public object_attachment_block() : base(6)
 {
     Add(Type           = new TI.TagReference(this));
     Add(Marker         = new TI.String());
     Add(PrimaryScale   = new TI.Enum());
     Add(SecondaryScale = new TI.Enum());
     Add(ChangeColor    = new TI.Enum());
     Add(new TI.Pad(2 + 16));
 }
示例#21
0
 public child_widget_reference_block() : base(7)
 {
     Add(WidgetTag             = new TI.TagReference(this, TagGroups.DeLa));
     Add(Name                  = new TI.String());
     Add(Flags                 = new TI.Flags());
     Add(CustomControllerIndex = new TI.ShortInteger());
     Add(VerticalOffset        = new TI.ShortInteger());
     Add(HorizontalOffset      = new TI.ShortInteger());
     Add(new TI.Pad(22));
 }
示例#22
0
 public damage_regions_block() : base(7)
 {
     Add(Name  = new TI.String());
     Add(Flags = new TI.Flags());
     Add(new TI.Pad(4));
     Add(DamageThreshold = new TI.Real());
     Add(new TI.Pad(12));
     Add(DestroyedEffect = new TI.TagReference(this, TagGroups.effe));
     Add(Permutations    = new TI.Block <damage_permutations_block>(this, 32));
 }
示例#23
0
 public collision_nodes_block() : base(7)
 {
     Add(Name            = new TI.String());
     Add(Region          = new TI.BlockIndex());
     Add(ParentNode      = new TI.BlockIndex());
     Add(NextSiblingNode = new TI.BlockIndex());
     Add(FirstChildNode  = new TI.BlockIndex());
     Add(new TI.Pad(12));
     Add(Bsp = new TI.Block <structure_bsp_group.collision_bsp_block>(this, 32));
 }
示例#24
0
 public playlist_autogenerate_choice_block() : base(8)
 {
     Add(MapName        = new TI.String());
     Add(GameVariant    = new TI.String());
     Add(MinExperience  = new TI.LongInteger());
     Add(MaxExperience  = new TI.LongInteger());
     Add(MinPlayerCount = new TI.LongInteger());
     Add(MaxPlayerCount = new TI.LongInteger());
     Add(Rating         = new TI.LongInteger());
     Add(new TI.Pad(64));
 }
示例#25
0
 public damage_materials_block() : base(9)
 {
     Add(Name         = new TI.String());
     Add(Flags        = new TI.Flags());
     Add(MaterialType = new TI.Enum());
     Add(new TI.Pad(2));
     Add(ShieldLeakPercentage    = new TI.Real(BlamLib.TagInterface.FieldType.RealFraction));
     Add(ShieldDamagedMultiplier = new TI.Real());
     Add(new TI.Pad(12));
     Add(BodyDamagedMultiplier = new TI.Real());
     Add(new TI.Pad(8));
 }
示例#26
0
 public powered_mass_point_block() : base(9)
 {
     Add(Name                 = new TI.String());
     Add(Flags                = new TI.Flags());
     Add(AntigravStrength     = new TI.Real());
     Add(AntigravOffset       = new TI.Real());
     Add(AntigravHeight       = new TI.Real());
     Add(AntigravDampFraction = new TI.Real());
     Add(AntigravNormalK1     = new TI.Real());
     Add(AntigravNormalK0     = new TI.Real());
     Add(new TI.Pad(68));
 }
示例#27
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));
		}
示例#28
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));
			}
示例#29
0
 public animation_graph_node_block() : base(9)
 {
     Add(Name = new TI.String());
     Add(NextSiblingNodeIndex = new TI.BlockIndex());
     Add(FirstChildNodeIndex  = new TI.BlockIndex());
     Add(ParentNodeIndex      = new TI.BlockIndex());
     Add(new TI.Pad(2));
     Add(NodeJointFlags = new TI.Flags());
     Add(BaseVector     = new TI.RealVector3D());
     Add(VectorRange    = new TI.Real());
     Add(new TI.Pad(4));
 }
示例#30
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));
 }
示例#31
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));
 }
示例#32
0
 public preferences_network_game_group() : base(9)
 {
     Add(Name               = new TI.String());
     Add(PrimaryColor       = new TI.RealColor());
     Add(SecondaryColor     = new TI.RealColor());
     Add(Pattern            = new TI.TagReference(this, TagGroups.bitm));
     Add(PatternBitmapIndex = new TI.ShortInteger());
     Add(new TI.Pad(2));
     Add(Decal            = new TI.TagReference(this, TagGroups.bitm));
     Add(DecalBitmapIndex = new TI.ShortInteger());
     Add(new TI.Pad(2 + 800));
 }
示例#33
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));
				}
 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));
 }
示例#35
0
				public model_region_permutation_block() : base(10)
				{
					Add(Name = new TI.String());
					Add(Flags = new TI.Flags());
					Add(new TI.Pad(28)); // TODO: first 16-bits is the variant id
					Add(SuperLow = new TI.BlockIndex());
					Add(Low = new TI.BlockIndex());
					Add(Medium = new TI.BlockIndex());
					Add(High = new TI.BlockIndex());
					Add(SuperHigh = new TI.BlockIndex());
					Add(new TI.Pad(2));
					Add(Markers = new TI.Block<model_region_permutation_marker_block>(this, 64));
				}
 public lightning_marker_block() : base(10)
 {
     Add(AttachmentMarker = new TI.String());
     Add(Flags            = new TI.Flags(BlamLib.TagInterface.FieldType.WordFlags));
     Add(new TI.Pad(2));
     Add(OctavesToNextMarker = new TI.ShortInteger());
     Add(new TI.Pad(2 + 76));
     Add(RandomPositionBounds = new TI.RealVector3D());
     Add(RandomJitter         = new TI.Real());
     Add(Thickness            = new TI.Real());
     Add(Tint = new TI.RealColor(BlamLib.TagInterface.FieldType.RealArgbColor));
     Add(new TI.Pad(76));
 }
示例#37
0
 public model_region_permutation_block() : base(10)
 {
     Add(Name  = new TI.String());
     Add(Flags = new TI.Flags());
     Add(new TI.Pad(28));                     // TODO: first 16-bits is the variant id
     Add(SuperLow  = new TI.BlockIndex());
     Add(Low       = new TI.BlockIndex());
     Add(Medium    = new TI.BlockIndex());
     Add(High      = new TI.BlockIndex());
     Add(SuperHigh = new TI.BlockIndex());
     Add(new TI.Pad(2));
     Add(Markers = new TI.Block <model_region_permutation_marker_block>(this, 64));
 }
示例#38
0
 public sky_light_block() : base(10)
 {
     Add(LensFlare           = new TI.TagReference(this, TagGroups.lens));
     Add(LensFlareMarkerName = new TI.String());
     Add(new TI.Pad(28));
     Add(Flags        = new TI.Flags());
     Add(Color        = new TI.RealColor(TI.FieldType.RealRgbColor));
     Add(Power        = new TI.Real());
     Add(TestDistance = new TI.Real());
     Add(new TI.Pad(4));
     Add(Direction = new TI.RealEulerAngles2D());
     Add(Diameter  = new TI.Real(TI.FieldType.Angle));
 }
示例#39
0
 public ordnance_block() : base(10)
 {
     Add(Name       = new TI.StringId());
     Add(LookupName = new TI.String());
     Add(new TI.LongInteger());
     Add(ObjectType = new TI.StringId());
     Add(new TI.TagReference(this));
     Add(new TI.ByteInteger());
     Add(new TI.ByteInteger());                 // amount?
     Add(new TI.Flags(TI.FieldType.ByteFlags));
     Add(TI.Pad.Byte);
     Add(new TI.Pad(12));
 }
示例#40
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());
			}
示例#41
0
			public scenario_cutscene_title_block() : base(14)
			{
				Add(new TI.Pad(4));
				Add(Name = new TI.String());
				Add(new TI.Pad(4));
				Add(TextBounds = new TI.Rectangle2D());
				Add(StringIndex = new TI.ShortInteger());
				// TODO: really an enum for text_style
				// 0 = plain
				// 1 = bold
				// 2 = italic
				// 3 = condense
				// 4 = underline
				Add(TextStyle = new TI.Enum());
				Add(Justification = new TI.Enum());
				Add(new TI.Pad(2 + 4));
				Add(TextColor = new TI.Color());
				Add(ShadowColor = new TI.Color());
				Add(FadeInTime = new TI.Real());
				Add(UpTime = new TI.Real());
				Add(FadeOutTIme = new TI.Real());
				Add(new TI.Pad(16));
			}
示例#42
0
			public scenario_cutscene_camera_point_block() : base(7)
			{
				Add(new TI.Pad(4));
				Add(Name = new TI.String());
				Add(new TI.Pad(4));
				Add(Position = new TI.RealPoint3D());
				Add(Orientation = new TI.RealEulerAngles3D());
				Add(FieldOfView = new TI.Real(BlamLib.TagInterface.FieldType.Angle));
				Add(new TI.Pad(36));
			}
示例#43
0
			public scenario_cutscene_flag_block() : base(5)
			{
				Add(new TI.Pad(4));
				Add(Name = new TI.String());
				Add(Position = new TI.RealPoint3D());
				Add(Facing = new TI.RealEulerAngles2D());
				Add(new TI.Pad(36));
			}
示例#44
0
			public hs_source_files_block() : base(2)
			{
				Add(Name = new TI.String());
				Add(Source = new TI.Data(this));
			}
示例#45
0
				public squads_block() : base(31)
				{
					Add(Name = new TI.String());
					Add(ActorType = new TI.BlockIndex());
					Add(Platoon = new TI.BlockIndex());
					Add(InitialState = new TI.Enum());
					Add(ReturnState = new TI.Enum());
					Add(Flags = new TI.Flags());
					Add(UniqueLeaderType = new TI.Enum());
					Add(new TI.Pad(2 + 28 + 2));
					Add(ManeuverToSquad = new TI.BlockIndex());
					Add(SquadDelayTimer = new TI.Real());
					Add(Attacking = new TI.Flags());
					Add(AttackingSearch = new TI.Flags());
					Add(AttackingGuard = new TI.Flags());
					Add(Defending = new TI.Flags());
					Add(DefendingSearch = new TI.Flags());
					Add(DefendingGuard = new TI.Flags());
					Add(Pursuing = new TI.Flags());
					Add(new TI.Pad(4 + 8));
					Add(NormalDiffCount = new TI.ShortInteger());
					Add(InsaneDiffCount = new TI.ShortInteger());
					Add(MajorUpgrade = new TI.Enum());
					Add(new TI.Pad(2));
					Add(RespawnMinActors = new TI.ShortInteger());
					Add(RespawnMaxActors = new TI.ShortInteger());
					Add(RespawnTotal = new TI.ShortInteger());
					Add(new TI.Pad(2));
					Add(RespawnDelay = new TI.RealBounds());
					Add(new TI.Pad(48));
					Add(MovePositions = new TI.Block<move_positions_block>(this, 32));
					Add(StartingLocations = new TI.Block<actor_starting_locations_block>(this, 32));
					Add(new TI.Pad(12));
				}
示例#46
0
			public scenario_trigger_volume_block() : base(17)
			{
				Add(First = new TI.Skip(4));
				Add(Name = new TI.String());
				Add(Field1 = new TI.Real());
				Add(Field2 = new TI.Real());
				Add(Field3 = new TI.Real());
				Add(Field4 = new TI.Real());
				Add(Field5 = new TI.Real());
				Add(Field6 = new TI.Real());
				Add(Field7 = new TI.Real());
				Add(Field8 = new TI.Real());
				Add(Field9 = new TI.Real());
				Add(Field10 = new TI.Real());
				Add(Field11 = new TI.Real());
				Add(Field12 = new TI.Real());
				Add(Field13 = new TI.Real());
				Add(Field14 = new TI.Real());
				Add(Field15 = new TI.Real());
			}
示例#47
0
			public device_group_block() : base(4)
			{
				Add(Name = new TI.String());
				Add(InitialValue = new TI.Real());
				Add(Flags = new TI.Flags());
				Add(new TI.Pad(12));
			}
示例#48
0
				public ai_conversation_participant_block() : base(9)
				{
					Add(new TI.Pad(2));
					Add(Flags = new TI.Flags(BlamLib.TagInterface.FieldType.WordFlags));
					Add(SelectionType = new TI.Enum());
					Add(ActorType = new TI.Enum());
					Add(UseThisObject = new TI.BlockIndex());
					Add(SetNavName = new TI.BlockIndex());
					Add(new TI.Pad(12 + 12));
					Add(EncounterName = new TI.String());
					Add(new TI.Pad(4 + 12));
				}
示例#49
0
			public ai_recording_reference_block() : base(2)
			{
				Add(Name = new TI.String());
				Add(new TI.Pad(8));
			}
示例#50
0
			public ai_animation_reference_block() : base(3)
			{
				Add(Name = new TI.String());
				Add(Animation = new TI.TagReference(this, TagGroups.antr));
				Add(new TI.Pad(12));
			}
示例#51
0
			public ai_command_list_block() : base(8)
			{
				Add(Name = new TI.String());
				Add(Flags = new TI.Flags());
				Add(new TI.Pad(8));
				Add(ManualBspIndex = new TI.ShortInteger());
				Add(new TI.Pad(2));
				Add(Commands = new TI.Block<ai_command_block>(this, 64));
				Add(Points = new TI.Block<ai_command_point_block>(this, 64));
				Add(new TI.Pad(24));
			}
示例#52
0
			public encounter_block() : base(12)
			{
				Add(Name = new TI.String());
				Add(Flags = new TI.Flags());
				Add(TeamIndex = new TI.Enum());
				Add(new TI.Skip(2));
				Add(SearchBehavoir = new TI.Enum());
				Add(ManualBspIndex = new TI.ShortInteger());
				Add(RespawnDelay = new TI.RealBounds());
				Add(new TI.Pad(76));
				Add(Squads = new TI.Block<squads_block>(this, 64));
				Add(Platoons = new TI.Block<platoons_block>(this, 32));
				Add(FiringPositions = new TI.Block<firing_positions_block>(this, 512));
				Add(PlayerStartingLocations = new TI.Block<scenario_players_block>(this, 256));
			}
示例#53
0
				public platoons_block() : base(9)
				{
					Add(Name = new TI.String());
					Add(Flags = new TI.Flags());
					Add(new TI.Pad(12));
					Add(ChangeStateWhen = new TI.Enum());
					Add(HappensTo1 = new TI.BlockIndex());
					Add(new TI.Pad(4 + 4));
					Add(ManeuverWhen = new TI.Enum());
					Add(HappensTo2 = new TI.BlockIndex());
					Add(new TI.Pad(4 + 4 + 64 + 36));
				}
示例#54
0
			public scenario_function_block() : base(20)
			{
				Add(Flags = new TI.Flags());
				Add(Name = new TI.String());
				Add(Period = new TI.Real());
				Add(ScalePeriodBy = new TI.BlockIndex());
				Add(Function = new TI.Enum());
				Add(ScalePeriodBy = new TI.BlockIndex());
				Add(WobbleFunction = new TI.Enum());
				Add(WobblePeriod = new TI.Real());
				Add(WobbleMagnitude = new TI.Real());
				Add(SquareWaveThreshold = new TI.Real());
				Add(StepCount = new TI.ShortInteger());
				Add(MapTo = new TI.Enum());
				Add(SawtoothCount = new TI.ShortInteger());
				Add(TI.Pad.Word);
				Add(ScaleResultBy = new TI.BlockIndex());
				Add(BoundsMode = new TI.Enum());
				Add(Bounds = new TI.Real(BlamLib.TagInterface.FieldType.RealFractionBounds));
				Add(new TI.Pad(4 + 2));
				Add(TurnoffWith = new TI.BlockIndex());
				Add(new TI.Pad(16*2));
			}
示例#55
0
			public scenario_object_names_block() : base(3)
			{
				Add(Name = new TI.String());
				Add(Type = new TI.Skip(2));
				Add(Index = new TI.Skip(2));
			}
示例#56
0
			public ai_conversation_block() : base(9)
			{
				Add(Name = new TI.String());
				Add(Flags = new TI.Flags(BlamLib.TagInterface.FieldType.WordFlags));
				Add(new TI.Pad(2));
				Add(TriggerDistance = new TI.Real());
				Add(RunToPlayerDist = new TI.Real());
				Add(new TI.Pad(36));
				Add(Participants = new TI.Block<ai_conversation_participant_block>(this, 8));
				Add(Lines = new TI.Block<ai_conversation_line_block>(this, 32));
				Add(new TI.Pad(12));
			}
示例#57
0
			public scenario_profiles_block() : base(14)
			{
				Add(Name = new TI.String());
				Add(StartingHealthMod = new TI.Real(BlamLib.TagInterface.FieldType.RealFraction));
				Add(StartingShieldMod = new TI.Real(BlamLib.TagInterface.FieldType.RealFraction));
				Add(PrimaryWeapon = new TI.TagReference(this, TagGroups.weap));
				Add(PrimaryRoundsLoaded = new TI.ShortInteger());
				Add(PrimaryRoundsTotal = new TI.ShortInteger());
				Add(SecondaryWeapon = new TI.TagReference(this, TagGroups.weap));
				Add(SecondaryRoundsLoaded = new TI.ShortInteger());
				Add(SecondaryRoundsTotal = new TI.ShortInteger());
				Add(StartingFrags = new TI.ByteInteger());
				Add(StartingPlasmas = new TI.ByteInteger());
				Add(StartingUnknownFrags = new TI.ByteInteger());
				Add(StartingUnknownPlasmas = new TI.ByteInteger());
				Add(new TI.Pad(20));
			}
示例#58
0
			public hs_scripts_block() : base(5)
			{
				Add(Name = new TI.String());
				Add(ScriptType = new TI.Enum());
				Add(ReturnType = new TI.Enum());
				Add(RootExpressionIndex = new TI.LongInteger());
				Add(new TI.Pad(52));
			}
示例#59
0
			public recorded_animation_block() : base(8)
			{
				Add(Name = new TI.String());
				Add(Version = new TI.ByteInteger());
				Add(RawAnimationData = new TI.ByteInteger());
				Add(UnitControlDataVersion = new TI.ByteInteger());
				Add(new TI.Pad(1));
				Add(LengthOfAnimation = new TI.ShortInteger());
				Add(new TI.Pad(2 + 4));
				Add(EventStream = new TI.Data(this));
			}
示例#60
0
			public hs_globals_block() : base(5)
			{
				Add(Name = new TI.String());
				Add(Type = new TI.Enum());
				Add(new TI.Pad(2 + 4));
				Add(InitExpressionIndex = new TI.LongInteger());
				Add(new TI.Pad(48));
			}