Exemple #1
0
 public structure_bsp_fog_plane_block() : base(4)
 {
     Add(FrontRegion = new TI.BlockIndex());
     Add(new TI.Pad(2));
     Add(Plane    = new TI.RealPlane3D());
     Add(Vertices = new TI.Block <field_block <TI.RealPoint3D> >(this, 4096));
 }
Exemple #2
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));
                }
Exemple #3
0
 public structure_bsp_mirror_block() : base(4)
 {
     Add(Plane = new TI.RealPlane3D());
     Add(new TI.Pad(20));
     Add(Shader   = new TI.TagReference(this, TagGroups.shdr));
     Add(Vertices = new TI.Block <field_block <TI.RealPoint3D> >(this, 512));
 }
Exemple #4
0
			public structure_bsp_fog_plane_block() : base(4)
			{
				Add(FrontRegion = new TI.BlockIndex());
				Add(new TI.Pad(2));
				Add(Plane = new TI.RealPlane3D());
				Add(Vertices = new TI.Block<field_block<TI.RealPoint3D>>(this, 4096));
			}
Exemple #5
0
 public planes_block()
 {
     Add(Plane = new TI.RealPlane3D());
 }
Exemple #6
0
				public structure_bsp_mirror_block() : base(4)
				{
					Add(Plane = new TI.RealPlane3D());
					Add(new TI.Pad(20));
					Add(Shader = new TI.TagReference(this, TagGroups.shdr));
					Add(Vertices = new TI.Block<field_block<TI.RealPoint3D>>(this, 512));
				}
Exemple #7
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));
				}
Exemple #8
0
			public global_geometry_plane_block() : base(1)
			{
				Add(Plane = new TI.RealPlane3D());
			}
Exemple #9
0
		public planes_block()
		{
			Add(Plane = new TI.RealPlane3D());
		}
Exemple #10
0
		/// <summary>
		/// Copy constructor
		/// </summary>
		/// <param name="value">field to copy</param>
		public RealPlane3D(RealPlane3D value) :						this()						{ I = value.I; J = value.J; D = value.D; K = value.K; }