public override System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> ReadFields(System.IO.BinaryReader binaryReader) { System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(base.ReadFields(binaryReader)); this.UpdatesPerSecond = binaryReader.ReadInt16(); this.fieldpad = binaryReader.ReadBytes(2); this.DeadCellPenalty = binaryReader.ReadSingle(); this.LiveCellBonus = binaryReader.ReadSingle(); this.fieldpad0 = binaryReader.ReadBytes(80); this.Width = binaryReader.ReadInt16(); this.Height = binaryReader.ReadInt16(); this.CellWidth = binaryReader.ReadSingle(); this.Height0 = binaryReader.ReadSingle(); this.Velocity = binaryReader.ReadVector2(); this.fieldpad1 = binaryReader.ReadBytes(28); this.Marker = binaryReader.ReadStringID(); this.CellularAutomata2dInterpolationFlags = ((InterpolationFlags)(binaryReader.ReadInt32())); this.BaseColor = binaryReader.ReadColorR8G8B8(); this.PeakColor = binaryReader.ReadColorR8G8B8(); this.fieldpad2 = binaryReader.ReadBytes(76); this.Width0 = binaryReader.ReadInt16(); this.Height1 = binaryReader.ReadInt16(); this.CellWidth0 = binaryReader.ReadSingle(); this.Velocity0 = binaryReader.ReadVector2(); this.fieldpad3 = binaryReader.ReadBytes(48); this.Marker0 = binaryReader.ReadStringID(); this.TextureWidth = binaryReader.ReadInt16(); this.fieldpad4 = binaryReader.ReadBytes(2); this.fieldpad5 = binaryReader.ReadBytes(48); this.Texture = binaryReader.ReadTagReference(); this.fieldpad6 = binaryReader.ReadBytes(160); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(84)); return(pointerQueue); }
public override System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> ReadFields(System.IO.BinaryReader binaryReader) { System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(base.ReadFields(binaryReader)); this.RenderModel = binaryReader.ReadTagReference(); this.AnimationGraph = binaryReader.ReadTagReference(); this.SkyFlags = ((Flags)(binaryReader.ReadInt32())); this.RenderModelScale = binaryReader.ReadSingle(); this.MovementScale = binaryReader.ReadSingle(); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(12)); this.IndoorAmbientColor = binaryReader.ReadColorR8G8B8(); this.fieldpad = binaryReader.ReadBytes(4); this.OutdoorAmbientColor = binaryReader.ReadColorR8G8B8(); this.fieldpad0 = binaryReader.ReadBytes(4); this.FogSpreadDistance = binaryReader.ReadSingle(); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(24)); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(24)); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(16)); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(80)); this.Amount = binaryReader.ReadSingle(); this.Threshold = binaryReader.ReadSingle(); this.Brightness = binaryReader.ReadSingle(); this.GammaPower = binaryReader.ReadSingle(); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(52)); this.GlobalSkyRotation = binaryReader.ReadSingle(); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(36)); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(36)); this.fieldpad1 = binaryReader.ReadBytes(12); this.ClearColor = binaryReader.ReadColorR8G8B8(); return(pointerQueue); }
public override System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> ReadFields(System.IO.BinaryReader binaryReader) { System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(base.ReadFields(binaryReader)); this.DecalFlags = ((Flags)(binaryReader.ReadInt16())); this.Type = ((TypeEnum)(binaryReader.ReadInt16())); this.Layer = ((LayerEnum)(binaryReader.ReadInt16())); this.MaxOverlappingCount = binaryReader.ReadInt16(); this.NextDecalInChain = binaryReader.ReadTagReference(); this.Radius = binaryReader.ReadRange(); this.RadiusOverlapRejection = binaryReader.ReadSingle(); this.ColorLowerBounds = binaryReader.ReadColorR8G8B8(); this.ColorUpperBounds = binaryReader.ReadColorR8G8B8(); this.Lifetime = binaryReader.ReadRange(); this.DecayTime = binaryReader.ReadRange(); this.fieldpad = binaryReader.ReadBytes(40); this.fieldpad0 = binaryReader.ReadBytes(2); this.fieldpad1 = binaryReader.ReadBytes(2); this.fieldpad2 = binaryReader.ReadBytes(2); this.fieldpad3 = binaryReader.ReadBytes(2); this.fieldpad4 = binaryReader.ReadBytes(20); this.Bitmap = binaryReader.ReadTagReference(); this.fieldpad5 = binaryReader.ReadBytes(20); this.MaximumSpriteExtent = binaryReader.ReadSingle(); this.fieldpad6 = binaryReader.ReadBytes(4); return(pointerQueue); }
public override System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> ReadFields(System.IO.BinaryReader binaryReader) { System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(base.ReadFields(binaryReader)); this.Texture0 = binaryReader.ReadTagReference(); this.Texture1 = binaryReader.ReadTagReference(); this.Texture2 = binaryReader.ReadTagReference(); this.PlatePositions0 = binaryReader.ReadSingle(); this.PlatePositions1 = binaryReader.ReadSingle(); this.PlatePositions2 = binaryReader.ReadSingle(); this.MoveSpeed0 = binaryReader.ReadVector3(); this.MoveSpeed1 = binaryReader.ReadVector3(); this.MoveSpeed2 = binaryReader.ReadVector3(); this.TextureScale0 = binaryReader.ReadSingle(); this.TextureScale1 = binaryReader.ReadSingle(); this.TextureScale2 = binaryReader.ReadSingle(); this.Jitter0 = binaryReader.ReadVector3(); this.Jitter1 = binaryReader.ReadVector3(); this.Jitter2 = binaryReader.ReadVector3(); this.PlateZNear = binaryReader.ReadSingle(); this.PlateZFar = binaryReader.ReadSingle(); this.DepthBlendZNear = binaryReader.ReadSingle(); this.DepthBlendZFar = binaryReader.ReadSingle(); this.Opacity0 = binaryReader.ReadSingle(); this.Opacity1 = binaryReader.ReadSingle(); this.Opacity2 = binaryReader.ReadSingle(); this.GlobalWeatherBackgroundPlateFlags = ((Flags)(binaryReader.ReadInt32())); this.TintColor0 = binaryReader.ReadColorR8G8B8(); this.TintColor1 = binaryReader.ReadColorR8G8B8(); this.TintColor2 = binaryReader.ReadColorR8G8B8(); this.Mass1 = binaryReader.ReadSingle(); this.Mass2 = binaryReader.ReadSingle(); this.Mass3 = binaryReader.ReadSingle(); this.fieldpad = binaryReader.ReadBytes(736); return(pointerQueue); }
public override System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> ReadFields(System.IO.BinaryReader binaryReader) { System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(base.ReadFields(binaryReader)); this.SamplePoint = binaryReader.ReadVector3(); int i; for (i = 0; (i < 9); i = (i + 1)) { this.RedCoefficients00[i] = new RedCoefficientsBlock(); pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.RedCoefficients00[i].ReadFields(binaryReader))); } for (i = 0; (i < 9); i = (i + 1)) { this.GreenCoefficients00[i] = new GreenCoefficientsBlock(); pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.GreenCoefficients00[i].ReadFields(binaryReader))); } for (i = 0; (i < 9); i = (i + 1)) { this.BlueCoefficients00[i] = new BlueCoefficientsBlock(); pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.BlueCoefficients00[i].ReadFields(binaryReader))); } this.MeanIncomingLightDirection = binaryReader.ReadVector3(); this.IncomingLightIntensity = binaryReader.ReadVector3(); this.SpecularBitmapIndex = binaryReader.ReadInt32(); this.RotationAxis = binaryReader.ReadVector3(); this.RotationSpeed = binaryReader.ReadSingle(); this.BumpDirection = binaryReader.ReadVector3(); this.ColorTint = binaryReader.ReadColorR8G8B8(); this.ProceduralOveride = ((ProceduralOverideEnum)(binaryReader.ReadInt16())); this.StructureLightmapLightingEnvironmentFlags = ((Flags)(binaryReader.ReadInt16())); this.ProceduralParam0 = binaryReader.ReadVector3(); this.ProceduralParam1xyz = binaryReader.ReadVector3(); this.ProceduralParam1w = binaryReader.ReadSingle(); return(pointerQueue); }
public override System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> ReadFields(System.IO.BinaryReader binaryReader) { System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(base.ReadFields(binaryReader)); this.Color = binaryReader.ReadColorR8G8B8(); this.Density = binaryReader.ReadSingle(); return(pointerQueue); }
public override System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> ReadFields(System.IO.BinaryReader binaryReader) { System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(base.ReadFields(binaryReader)); this.PrimaryLightmapColor = binaryReader.ReadColorR8G8B8(); this.PrimaryLightmapIncidentDirection = binaryReader.ReadVector3(); return(pointerQueue); }
public override System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> ReadFields(System.IO.BinaryReader binaryReader) { System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(base.ReadFields(binaryReader)); this.Shader = binaryReader.ReadTagReference(); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(68)); pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.GeometryBlockInfo.ReadFields(binaryReader))); this.SunSpotColor = binaryReader.ReadColorR8G8B8(); this.ReflectionTint = binaryReader.ReadColorR8G8B8(); this.RefractionTint = binaryReader.ReadColorR8G8B8(); this.HorizonColor = binaryReader.ReadColorR8G8B8(); this.SunSpecularPower = binaryReader.ReadSingle(); this.ReflectionBumpScale = binaryReader.ReadSingle(); this.RefractionBumpScale = binaryReader.ReadSingle(); this.FresnelScale = binaryReader.ReadSingle(); this.SunDirHeading = binaryReader.ReadSingle(); this.SunDirPitch = binaryReader.ReadSingle(); this.FOV = binaryReader.ReadSingle(); this.Aspect = binaryReader.ReadSingle(); this.Height = binaryReader.ReadSingle(); this.Farz = binaryReader.ReadSingle(); this.RotateOffset = binaryReader.ReadSingle(); this.Center = binaryReader.ReadVector2(); this.Extents = binaryReader.ReadVector2(); this.FogNear = binaryReader.ReadSingle(); this.FogFar = binaryReader.ReadSingle(); this.DynamicHeightBias = binaryReader.ReadSingle(); return(pointerQueue); }
public override System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> ReadFields(System.IO.BinaryReader binaryReader) { System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(base.ReadFields(binaryReader)); this.MinLightmapSample = binaryReader.ReadColorR8G8B8(); this.MaxLightmapSample = binaryReader.ReadColorR8G8B8(); pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.Function.ReadFields(binaryReader))); return(pointerQueue); }
public override System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> ReadFields(System.IO.BinaryReader binaryReader) { System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(base.ReadFields(binaryReader)); this.Name = binaryReader.ReadString32(); this.TintColor = binaryReader.ReadColorR8G8B8(); this.fieldpad = binaryReader.ReadBytes(32); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(96)); return(pointerQueue); }
public override System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> ReadFields(System.IO.BinaryReader binaryReader) { System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(base.ReadFields(binaryReader)); this.Weight = binaryReader.ReadSingle(); this.ColorLowerBound = binaryReader.ReadColorR8G8B8(); this.ColorUpperBound = binaryReader.ReadColorR8G8B8(); this.VariantName = binaryReader.ReadStringID(); return(pointerQueue); }
public override System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> ReadFields(System.IO.BinaryReader binaryReader) { System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(base.ReadFields(binaryReader)); this.SkyRadiosityLightFlags = ((Flags)(binaryReader.ReadInt32())); this.Color = binaryReader.ReadColorR8G8B8(); this.Power = binaryReader.ReadSingle(); this.TestDistance = binaryReader.ReadSingle(); this.fieldpad = binaryReader.ReadBytes(12); this.Diameter = binaryReader.ReadSingle(); return(pointerQueue); }
public override System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> ReadFields(System.IO.BinaryReader binaryReader) { System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(base.ReadFields(binaryReader)); this.Color = binaryReader.ReadColorR8G8B8(); this.fieldpad = binaryReader.ReadBytes(12); this.Density = binaryReader.ReadVector2(); this.Distance = binaryReader.ReadRange(); this.fieldpad0 = binaryReader.ReadBytes(32); this.PatchyFog = binaryReader.ReadTagReference(); return(pointerQueue); }
public override System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> ReadFields(System.IO.BinaryReader binaryReader) { System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(base.ReadFields(binaryReader)); this.fieldpad = binaryReader.ReadBytes(4); this.ObjectChangeColorFunctionScaleFlags = ((ScaleFlags)(binaryReader.ReadInt32())); this.ColorLowerBound = binaryReader.ReadColorR8G8B8(); this.ColorUpperBound = binaryReader.ReadColorR8G8B8(); this.DarkenBy = binaryReader.ReadStringID(); this.ScaleBy = binaryReader.ReadStringID(); return(pointerQueue); }
public override System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> ReadFields(System.IO.BinaryReader binaryReader) { System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(base.ReadFields(binaryReader)); this.LightFlags = ((Flags)(binaryReader.ReadInt32())); this.Type = ((TypeEnum)(binaryReader.ReadInt16())); this.fieldpad = binaryReader.ReadBytes(2); this.SizeModifer = binaryReader.ReadRange(); this.ShadowQualityBias = binaryReader.ReadSingle(); this.ShadowTapBias = ((ShadowTapBiasEnum)(binaryReader.ReadInt16())); this.fieldpad0 = binaryReader.ReadBytes(2); this.Radius = binaryReader.ReadSingle(); this.SpecularRadius = binaryReader.ReadSingle(); this.NearWidth = binaryReader.ReadSingle(); this.HeightStretch = binaryReader.ReadSingle(); this.FieldOfView = binaryReader.ReadSingle(); this.FalloffDistance = binaryReader.ReadSingle(); this.CutoffDistance = binaryReader.ReadSingle(); this.LightInterpolationFlags = ((InterpolationFlags)(binaryReader.ReadInt32())); this.BloomBounds = binaryReader.ReadRange(); this.SpecularLowerBound = binaryReader.ReadColorR8G8B8(); this.SpecularUpperBound = binaryReader.ReadColorR8G8B8(); this.DiffuseLowerBound = binaryReader.ReadColorR8G8B8(); this.DiffuseUpperBound = binaryReader.ReadColorR8G8B8(); this.BrightnessBounds = binaryReader.ReadRange(); this.GelMap = binaryReader.ReadTagReference(); this.SpecularMask = ((SpecularMaskEnum)(binaryReader.ReadInt16())); this.fieldpad1 = binaryReader.ReadBytes(2); this.fieldpad2 = binaryReader.ReadBytes(4); this.FalloffFunction = ((FalloffFunctionEnum)(binaryReader.ReadInt16())); this.DiffuseContrast = ((DiffuseContrastEnum)(binaryReader.ReadInt16())); this.SpecularContrast = ((SpecularContrastEnum)(binaryReader.ReadInt16())); this.FalloffGeometry = ((FalloffGeometryEnum)(binaryReader.ReadInt16())); this.LensFlare = binaryReader.ReadTagReference(); this.BoundingRadius = binaryReader.ReadSingle(); this.LightVolume = binaryReader.ReadTagReference(); this.DefaultLightmapSetting = ((DefaultLightmapSettingEnum)(binaryReader.ReadInt16())); this.fieldpad3 = binaryReader.ReadBytes(2); this.LightmapHalfLife = binaryReader.ReadSingle(); this.LightmapLightScale = binaryReader.ReadSingle(); this.Duration = binaryReader.ReadSingle(); this.fieldpad4 = binaryReader.ReadBytes(2); this.LightLightFalloffFunction = ((LightFalloffFunctionEnum)(binaryReader.ReadInt16())); this.IlluminationFade = ((IlluminationFadeEnum)(binaryReader.ReadInt16())); this.ShadowFade = ((ShadowFadeEnum)(binaryReader.ReadInt16())); this.SpecularFade = ((SpecularFadeEnum)(binaryReader.ReadInt16())); this.fieldpad5 = binaryReader.ReadBytes(2); this.LightLightFlags0 = ((LightFlags0)(binaryReader.ReadInt32())); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(8)); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(8)); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(16)); this.Shader = binaryReader.ReadTagReference(); return(pointerQueue); }
public override System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> ReadFields(System.IO.BinaryReader binaryReader) { System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(base.ReadFields(binaryReader)); this.Name = binaryReader.ReadStringID(); this.Type = ((TypeEnum)(binaryReader.ReadInt16())); this.fieldpad = binaryReader.ReadBytes(2); this.Bitmap = binaryReader.ReadTagReference(); this.ConstValue = binaryReader.ReadSingle(); this.ConstColor = binaryReader.ReadColorR8G8B8(); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(24)); return(pointerQueue); }
public override System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> ReadFields(System.IO.BinaryReader binaryReader) { System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(base.ReadFields(binaryReader)); this.Color = binaryReader.ReadColorR8G8B8(); this.MaximumDensity = binaryReader.ReadSingle(); this.StartDistance = binaryReader.ReadSingle(); this.OpaqueDistance = binaryReader.ReadSingle(); this.Cone = binaryReader.ReadRange(); this.AtmosphericFogInfluence = binaryReader.ReadSingle(); this.SecondaryFogInfluence = binaryReader.ReadSingle(); this.SkyFogInfluence = binaryReader.ReadSingle(); return(pointerQueue); }
public override System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> ReadFields(System.IO.BinaryReader binaryReader) { System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(base.ReadFields(binaryReader)); this.LensFlareReflectionFlags = ((Flags)(binaryReader.ReadInt16())); this.fieldpad = binaryReader.ReadBytes(2); this.BitmapIndex = binaryReader.ReadInt16(); this.fieldpad0 = binaryReader.ReadBytes(2); this.Position = binaryReader.ReadSingle(); this.RotationOffset = binaryReader.ReadSingle(); this.Radius = binaryReader.ReadRange(); this.Brightness = binaryReader.ReadVector2(); this.ModulationFactor = binaryReader.ReadSingle(); this.Color = binaryReader.ReadColorR8G8B8(); return(pointerQueue); }
public override System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> ReadFields(System.IO.BinaryReader binaryReader) { System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(base.ReadFields(binaryReader)); this.Ambient = binaryReader.ReadColorR8G8B8(); this.ShadowDirection = binaryReader.ReadVector3(); this.LightingAccuracy = binaryReader.ReadSingle(); this.ShadowOpacity = binaryReader.ReadSingle(); this.PrimaryDirectionColor = binaryReader.ReadColorR8G8B8(); this.PrimaryDirection = binaryReader.ReadVector3(); this.SecondaryDirectionColor = binaryReader.ReadColorR8G8B8(); this.SecondaryDirection = binaryReader.ReadVector3(); this.ShIndex = binaryReader.ReadInt16(); this.fieldpad = binaryReader.ReadBytes(2); return(pointerQueue); }
public override System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> ReadFields(System.IO.BinaryReader binaryReader) { System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(base.ReadFields(binaryReader)); this.DiffuseMap = binaryReader.ReadTagReference(); this.LightmapEmissiveMap = binaryReader.ReadTagReference(); this.LightmapEmissiveColor = binaryReader.ReadColorR8G8B8(); this.LightmapEmissivePower = binaryReader.ReadSingle(); this.LightmapResolutionScale = binaryReader.ReadSingle(); this.LightmapHalfLife = binaryReader.ReadSingle(); this.LightmapDiffuseScale = binaryReader.ReadSingle(); this.AlphaTestMap = binaryReader.ReadTagReference(); this.TranslucentMap = binaryReader.ReadTagReference(); this.LightmapTransparentColor = binaryReader.ReadColorR8G8B8(); this.LightmapTransparentAlpha = binaryReader.ReadSingle(); this.LightmapFoliageScale = binaryReader.ReadSingle(); return(pointerQueue); }
public override System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> ReadFields(System.IO.BinaryReader binaryReader) { System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(base.ReadFields(binaryReader)); this.Name = binaryReader.ReadStringID(); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(1)); this.Type = ((TypeEnum)(binaryReader.ReadInt16())); this.ShaderTemplateParameterFlags = ((Flags)(binaryReader.ReadInt16())); this.DefaultBitmap = binaryReader.ReadTagReference(); this.DefaultConstValue = binaryReader.ReadSingle(); this.DefaultConstColor = binaryReader.ReadColorR8G8B8(); this.BitmapType = ((BitmapTypeEnum)(binaryReader.ReadInt16())); this.fieldpad = binaryReader.ReadBytes(2); this.ShaderTemplateParameterBitmapAnimationFlags = ((BitmapAnimationFlags)(binaryReader.ReadInt16())); this.fieldpad0 = binaryReader.ReadBytes(2); this.BitmapScale = binaryReader.ReadSingle(); return(pointerQueue); }
public override System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> ReadFields(System.IO.BinaryReader binaryReader) { System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(base.ReadFields(binaryReader)); this.Name = binaryReader.ReadString32(); this.SequenceIndex = binaryReader.ReadByte(); this.DetailObjectTypeTypeFlags = ((TypeFlags)(binaryReader.ReadByte())); this.fieldpad = binaryReader.ReadBytes(2); this.ColorOverrideFactor = binaryReader.ReadSingle(); this.fieldpad0 = binaryReader.ReadBytes(8); this.NearFadeDistance = binaryReader.ReadSingle(); this.FarFadeDistance = binaryReader.ReadSingle(); this.Size = binaryReader.ReadSingle(); this.fieldpad1 = binaryReader.ReadBytes(4); this.MinimumColor = binaryReader.ReadColorR8G8B8(); this.MaximumColor = binaryReader.ReadColorR8G8B8(); this.AmbientColor = binaryReader.ReadColourA1R1G1B1(); this.fieldpad2 = binaryReader.ReadBytes(4); return(pointerQueue); }
public override System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> ReadFields(System.IO.BinaryReader binaryReader) { System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(base.ReadFields(binaryReader)); this.fieldpad = binaryReader.ReadBytes(64); this.DestinationType = ((DestinationTypeEnum)(binaryReader.ReadInt16())); this.Destination = ((DestinationEnum)(binaryReader.ReadInt16())); this.Source = ((SourceEnum)(binaryReader.ReadInt16())); this.fieldpad0 = binaryReader.ReadBytes(2); this.InBounds = binaryReader.ReadRange(); this.OutBounds = binaryReader.ReadRange(); this.fieldpad1 = binaryReader.ReadBytes(64); this.TintColorLowerBound = binaryReader.ReadColorR8G8B8(); this.TintColorUpperBound = binaryReader.ReadColorR8G8B8(); this.PeriodicFunction = ((PeriodicFunctionEnum)(binaryReader.ReadInt16())); this.fieldpad2 = binaryReader.ReadBytes(2); this.FunctionPeriod = binaryReader.ReadSingle(); this.FunctionPhase = binaryReader.ReadSingle(); this.fieldpad3 = binaryReader.ReadBytes(32); return(pointerQueue); }
public override System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> ReadFields(System.IO.BinaryReader binaryReader) { System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(base.ReadFields(binaryReader)); this.Name = binaryReader.ReadString32(); this.Color = binaryReader.ReadColorR8G8B8(); this.CountsAs = binaryReader.ReadInt16(); this.fieldpad = binaryReader.ReadBytes(2); this.InitialPlacementWeight = binaryReader.ReadSingle(); this.fieldpad0 = binaryReader.ReadBytes(24); this.Zero = binaryReader.ReadShortBlockIndex1(); this.One = binaryReader.ReadShortBlockIndex1(); this.Two = binaryReader.ReadShortBlockIndex1(); this.Three = binaryReader.ReadShortBlockIndex1(); this.Four = binaryReader.ReadShortBlockIndex1(); this.Five = binaryReader.ReadShortBlockIndex1(); this.Six = binaryReader.ReadShortBlockIndex1(); this.Seven = binaryReader.ReadShortBlockIndex1(); this.Eight = binaryReader.ReadShortBlockIndex1(); this.fieldpad1 = binaryReader.ReadBytes(2); return(pointerQueue); }
public override System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> ReadFields(System.IO.BinaryReader binaryReader) { System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(base.ReadFields(binaryReader)); this.UserInterfaceScreenWidgetDefinitionFlags = ((Flags)(binaryReader.ReadInt32())); this.ScreenID = ((ScreenIDEnum)(binaryReader.ReadInt16())); this.ButtonKeyType = ((ButtonKeyTypeEnum)(binaryReader.ReadInt16())); this.TextColor = binaryReader.ReadVector4(); this.StringListTag = binaryReader.ReadTagReference(); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(76)); this.ShapeGroup = ((ShapeGroupEnum)(binaryReader.ReadInt16())); this.fieldpad = binaryReader.ReadBytes(2); this.HeaderStringId = binaryReader.ReadStringID(); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(12)); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(8)); this.SourceColor = binaryReader.ReadColorR8G8B8(); this.DestinationColor = binaryReader.ReadColorR8G8B8(); this.AccumulateZoomScaleX = binaryReader.ReadSingle(); this.AccumulateZoomScaleY = binaryReader.ReadSingle(); this.RefractionScaleX = binaryReader.ReadSingle(); this.RefractionScaleY = binaryReader.ReadSingle(); return(pointerQueue); }
public override System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> ReadFields(System.IO.BinaryReader binaryReader) { System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(base.ReadFields(binaryReader)); this.PlanarFogFlags = ((Flags)(binaryReader.ReadInt16())); this.Priority = binaryReader.ReadInt16(); this.GlobalMaterialName = binaryReader.ReadStringID(); this.fieldpad = binaryReader.ReadBytes(2); this.fieldpad0 = binaryReader.ReadBytes(2); this.MaximumDensity = binaryReader.ReadSingle(); this.OpaqueDistance = binaryReader.ReadSingle(); this.OpaqueDepth = binaryReader.ReadSingle(); this.AtmosphericplanarDepth = binaryReader.ReadRange(); this.EyeOffsetScale = binaryReader.ReadSingle(); this.Color = binaryReader.ReadColorR8G8B8(); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(52)); this.BackgroundSound = binaryReader.ReadTagReference(); this.SoundEnvironment = binaryReader.ReadTagReference(); this.EnvironmentDampingFactor = binaryReader.ReadSingle(); this.BackgroundSoundGain = binaryReader.ReadSingle(); this.EnterSound = binaryReader.ReadTagReference(); this.ExitSound = binaryReader.ReadTagReference(); return(pointerQueue); }
public override System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> ReadFields(System.IO.BinaryReader binaryReader) { System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(base.ReadFields(binaryReader)); this.Position = binaryReader.ReadVector3(); int i; for (i = 0; (i < 4); i = (i + 1)) { this.NodeIndices00[i] = new NodeIndicesBlock(); pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.NodeIndices00[i].ReadFields(binaryReader))); } for (i = 0; (i < 4); i = (i + 1)) { this.NodeWeights00[i] = new NodeWeightsBlock(); pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.NodeWeights00[i].ReadFields(binaryReader))); } for (i = 0; (i < 4); i = (i + 1)) { this.NodeIndices20[i] = new NodeIndices1Block(); pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.NodeIndices20[i].ReadFields(binaryReader))); } this.UseNewNodeIndices = binaryReader.ReadInt32(); this.AdjustedCompoundNodeIndex = binaryReader.ReadInt32(); this.Texcoord = binaryReader.ReadVector2(); this.Normal = binaryReader.ReadVector3(); this.Binormal = binaryReader.ReadVector3(); this.Tangent = binaryReader.ReadVector3(); this.AnisotropicBinormal = binaryReader.ReadVector3(); this.SecondaryTexcoord = binaryReader.ReadVector2(); this.PrimaryLightmapColor = binaryReader.ReadColorR8G8B8(); this.PrimaryLightmapTexcoord = binaryReader.ReadVector2(); this.PrimaryLightmapIncidentDirection = binaryReader.ReadVector3(); this.fieldpad = binaryReader.ReadBytes(12); this.fieldpad0 = binaryReader.ReadBytes(8); this.fieldpad1 = binaryReader.ReadBytes(12); return(pointerQueue); }
public override System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> ReadFields(System.IO.BinaryReader binaryReader) { System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(base.ReadFields(binaryReader)); this.DistanceAttenuation = binaryReader.ReadTagReference(); this.VectorNormalization = binaryReader.ReadTagReference(); this.Gradients = binaryReader.ReadTagReference(); this.UNUSED = binaryReader.ReadTagReference(); this.UNUSED0 = binaryReader.ReadTagReference(); this.UNUSED1 = binaryReader.ReadTagReference(); this.Glow = binaryReader.ReadTagReference(); this.UNUSED2 = binaryReader.ReadTagReference(); this.UNUSED3 = binaryReader.ReadTagReference(); this.fieldpad = binaryReader.ReadBytes(16); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(8)); this.Default2D = binaryReader.ReadTagReference(); this.Default3D = binaryReader.ReadTagReference(); this.DefaultCubeMap = binaryReader.ReadTagReference(); this.UNUSED4 = binaryReader.ReadTagReference(); this.UNUSED5 = binaryReader.ReadTagReference(); this.UNUSED6 = binaryReader.ReadTagReference(); this.UNUSED7 = binaryReader.ReadTagReference(); this.UNUSED8 = binaryReader.ReadTagReference(); this.UNUSED9 = binaryReader.ReadTagReference(); this.fieldpad0 = binaryReader.ReadBytes(36); this.GlobalShader = binaryReader.ReadTagReference(); this.RasterizerDataFlags = ((Flags)(binaryReader.ReadInt16())); this.fieldpad1 = binaryReader.ReadBytes(2); this.RefractionAmount = binaryReader.ReadSingle(); this.DistanceFalloff = binaryReader.ReadSingle(); this.TintColor = binaryReader.ReadColorR8G8B8(); this.HyperstealthRefraction = binaryReader.ReadSingle(); this.HyperstealthDistanceFalloff = binaryReader.ReadSingle(); this.HyperstealthTintColor = binaryReader.ReadColorR8G8B8(); this.UNUSED10 = binaryReader.ReadTagReference(); return(pointerQueue); }
public override System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> ReadFields(System.IO.BinaryReader binaryReader) { System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(base.ReadFields(binaryReader)); this.Name = binaryReader.ReadStringID(); this.Color = binaryReader.ReadColorR8G8B8(); this.SpreadDistance = binaryReader.ReadSingle(); this.fieldpad = binaryReader.ReadBytes(4); this.MaximumDensity = binaryReader.ReadSingle(); this.StartDistance = binaryReader.ReadSingle(); this.OpaqueDistance = binaryReader.ReadSingle(); this.Color0 = binaryReader.ReadColorR8G8B8(); this.fieldpad0 = binaryReader.ReadBytes(4); this.MaximumDensity0 = binaryReader.ReadSingle(); this.StartDistance0 = binaryReader.ReadSingle(); this.OpaqueDistance0 = binaryReader.ReadSingle(); this.fieldpad1 = binaryReader.ReadBytes(4); this.PlanarColor = binaryReader.ReadColorR8G8B8(); this.PlanarMaxDensity = binaryReader.ReadSingle(); this.PlanarOverrideAmount = binaryReader.ReadSingle(); this.PlanarMinDistanceBias = binaryReader.ReadSingle(); this.fieldpad2 = binaryReader.ReadBytes(44); this.PatchyColor = binaryReader.ReadColorR8G8B8(); this.fieldpad3 = binaryReader.ReadBytes(12); this.PatchyDensity = binaryReader.ReadVector2(); this.PatchyDistance = binaryReader.ReadRange(); this.fieldpad4 = binaryReader.ReadBytes(32); this.PatchyFog = binaryReader.ReadTagReference(); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(16)); this.Amount = binaryReader.ReadSingle(); this.Threshold = binaryReader.ReadSingle(); this.Brightness = binaryReader.ReadSingle(); this.GammaPower = binaryReader.ReadSingle(); this.ScenarioAtmosphericFogPaletteCameraImmersionFlags = ((CameraImmersionFlags)(binaryReader.ReadInt16())); this.fieldpad5 = binaryReader.ReadBytes(2); return(pointerQueue); }
public static void Write(this BinaryWriter binaryWriter, ColourR8G8B8 value) { binaryWriter.Write(value.R); binaryWriter.Write(value.G); binaryWriter.Write(value.B); }