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));
            int i;

            for (i = 0; (i < 8); i = (i + 1))
            {
                this.ChildIndices00[i] = new ChildIndicesBlock();
                pointerQueue           = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.ChildIndices00[i].ReadFields(binaryReader)));
            }
            this.CacheBlockIndex = binaryReader.ReadShortBlockIndex1();
            this.GroupCount      = binaryReader.ReadInt16();
            this.GroupStartIndex = binaryReader.ReadInt32();
            return(pointerQueue);
        }
Beispiel #2
0
 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));
     pointerQueue      = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.ConstraintBodies.ReadFields(binaryReader)));
     this.fieldpad     = binaryReader.ReadBytes(4);
     this.SpringLength = binaryReader.ReadSingle();
     return(pointerQueue);
 }
Beispiel #3
0
 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));
     pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.Resources.ReadFields(binaryReader)));
     pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.Content.ReadFields(binaryReader)));
     pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.RunTimeData.ReadFields(binaryReader)));
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(1));
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(60));
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(20));
     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.MarkerName         = binaryReader.ReadStringID();
     this.Size               = binaryReader.ReadSingle();
     this.ConeAngle          = binaryReader.ReadSingle();
     this.DamageSection      = binaryReader.ReadShortBlockIndex2();
     this.Variant            = binaryReader.ReadShortBlockIndex1();
     this.TargetingRelevance = binaryReader.ReadSingle();
     pointerQueue            = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.LockonData.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.ReadStringID();
     pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.HudWidgetInputsStruct.ReadFields(binaryReader)));
     pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.HudWidgetStateDefinitionStruct.ReadFields(binaryReader)));
     this.Anchor  = ((AnchorEnum)(binaryReader.ReadInt16()));
     this.HudScreenEffectWidgetsFlags = ((Flags)(binaryReader.ReadInt16()));
     this.Bitmap = binaryReader.ReadTagReference();
     this.FullscreenScreenEffect = binaryReader.ReadTagReference();
     pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.Waa.ReadFields(binaryReader)));
     this.FullscreenSequenceIndex    = binaryReader.ReadByte();
     this.HalfscreenSequenceIndex    = binaryReader.ReadByte();
     this.QuarterscreenSequenceIndex = binaryReader.ReadByte();
     this.fieldpad            = binaryReader.ReadBytes(1);
     this.FullscreenOffset    = binaryReader.ReadPoint();
     this.HalfscreenOffset    = binaryReader.ReadPoint();
     this.QuarterscreenOffset = binaryReader.ReadPoint();
     return(pointerQueue);
 }
Beispiel #6
0
 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.Type    = binaryReader.ReadShortBlockIndex1();
     this.Name    = binaryReader.ReadShortBlockIndex1();
     pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.ObjectData.ReadFields(binaryReader)));
     this.indexer = binaryReader.ReadBytes(4);
     pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.PermutationData.ReadFields(binaryReader)));
     pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.WeaponData.ReadFields(binaryReader)));
     return(pointerQueue);
 }
Beispiel #7
0
 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.Index           = binaryReader.ReadInt32();
     this.LightType       = ((LightTypeEnum)(binaryReader.ReadInt16()));
     this.AttachmentIndex = binaryReader.ReadByte();
     this.ObjectType      = binaryReader.ReadByte();
     pointerQueue         = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.Visibility.ReadFields(binaryReader)));
     return(pointerQueue);
 }
Beispiel #8
0
 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.MinLightmapColor     = binaryReader.ReadColorR8G8B8();
     this.MaxLightmapColor     = binaryReader.ReadColorR8G8B8();
     this.ExclusionAngleFromUp = binaryReader.ReadSingle();
     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));
     pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.Delay.ReadFields(binaryReader)));
     pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.Frequency.ReadFields(binaryReader)));
     pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.CutoffModulation.ReadFields(binaryReader)));
     pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.GainModulation.ReadFields(binaryReader)));
     return(pointerQueue);
 }
Beispiel #10
0
 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.Duration = binaryReader.ReadSingle();
     pointerQueue  = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.DirtyWhore.ReadFields(binaryReader)));
     return(pointerQueue);
 }
Beispiel #11
0
 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.ObjectFunctionFlags = ((Flags)(binaryReader.ReadInt32()));
     this.ImportName          = binaryReader.ReadStringID();
     this.ExportName          = binaryReader.ReadStringID();
     this.TurnOffWith         = binaryReader.ReadStringID();
     this.MinValue            = binaryReader.ReadSingle();
     pointerQueue             = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.DefaultFunction.ReadFields(binaryReader)));
     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.ParameterIndex      = binaryReader.ReadByte();
     this.InputName           = binaryReader.ReadStringID();
     this.RangeName           = binaryReader.ReadStringID();
     this.TimePeriodInSeconds = binaryReader.ReadSingle();
     pointerQueue             = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.Function.ReadFields(binaryReader)));
     return(pointerQueue);
 }
Beispiel #13
0
 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));
     pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.SectionInfo.ReadFields(binaryReader)));
     pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.GeometryBlockInfo.ReadFields(binaryReader)));
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(68));
     this.BoundsX                     = binaryReader.ReadRange();
     this.BoundsY                     = binaryReader.ReadRange();
     this.BoundsZ                     = binaryReader.ReadRange();
     this.ScenarioSkyIndex            = binaryReader.ReadByte();
     this.MediaIndex                  = binaryReader.ReadByte();
     this.ScenarioVisibleSkyIndex     = binaryReader.ReadByte();
     this.ScenarioAtmosphericFogIndex = binaryReader.ReadByte();
     this.PlanarFogDesignator         = binaryReader.ReadByte();
     this.VisibleFogPlaneIndex        = binaryReader.ReadByte();
     this.BackgroundSound             = binaryReader.ReadShortBlockIndex1();
     this.SoundEnvironment            = binaryReader.ReadShortBlockIndex1();
     this.Weather                     = binaryReader.ReadShortBlockIndex1();
     this.TransitionStructureBSP      = binaryReader.ReadInt16();
     this.fieldpad                    = binaryReader.ReadBytes(2);
     this.fieldpad0                   = binaryReader.ReadBytes(4);
     this.StructureBspClusterFlags    = ((Flags)(binaryReader.ReadInt16()));
     this.fieldpad1                   = binaryReader.ReadBytes(2);
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(8));
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(2));
     this.ChecksumFromStructure = binaryReader.ReadInt32();
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(2));
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(2));
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(1));
     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 = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.Playback.ReadFields(binaryReader)));
     return(pointerQueue);
 }
Beispiel #15
0
        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.fieldskip           = binaryReader.ReadBytes(4);
            this.Size                = binaryReader.ReadInt16();
            this.Count               = binaryReader.ReadInt16();
            this.fieldskip0          = binaryReader.ReadBytes(4);
            this.fieldskip1          = binaryReader.ReadBytes(4);
            this.ChildShapesSize     = binaryReader.ReadInt32();
            this.ChildShapesCapacity = binaryReader.ReadInt32();
            int i;

            for (i = 0; (i < 4); i = (i + 1))
            {
                this.ChildShapesStorage00[i] = new ChildShapesStorageBlock();
                pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.ChildShapesStorage00[i].ReadFields(binaryReader)));
            }
            this.MultisphereCount         = binaryReader.ReadInt32();
            this.VehiclePhantomShapeFlags = ((Flags)(binaryReader.ReadInt32()));
            this.fieldpad = binaryReader.ReadBytes(8);
            this.X0       = binaryReader.ReadSingle();
            this.X1       = binaryReader.ReadSingle();
            this.Y0       = binaryReader.ReadSingle();
            this.Y1       = binaryReader.ReadSingle();
            this.Z0       = binaryReader.ReadSingle();
            this.Z1       = binaryReader.ReadSingle();
            for (i = 0; (i < 4); i = (i + 1))
            {
                this.Multispheres00[i] = new MultispheresBlock();
                pointerQueue           = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.Multispheres00[i].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.Sprites                  = binaryReader.ReadTagReference();
     this.ViewBoxWidth             = binaryReader.ReadSingle();
     this.ViewBoxHeight            = binaryReader.ReadSingle();
     this.ViewBoxDepth             = binaryReader.ReadSingle();
     this.ExclusionRadius          = binaryReader.ReadSingle();
     this.MaxVelocity              = binaryReader.ReadSingle();
     this.MinMass                  = binaryReader.ReadSingle();
     this.MaxMass                  = binaryReader.ReadSingle();
     this.MinSize                  = binaryReader.ReadSingle();
     this.MaxSize                  = binaryReader.ReadSingle();
     this.MaximumNumberOfParticles = binaryReader.ReadInt32();
     this.InitialVelocity          = binaryReader.ReadVector3();
     this.BitmapAnimationSpeed     = binaryReader.ReadSingle();
     pointerQueue                  = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.GeometryBlockInfo.ReadFields(binaryReader)));
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(48));
     this.Type            = ((TypeEnum)(binaryReader.ReadInt16()));
     this.fieldpad        = binaryReader.ReadBytes(2);
     this.MininumOpacity  = binaryReader.ReadSingle();
     this.MaxinumOpacity  = binaryReader.ReadSingle();
     this.RainStreakScale = binaryReader.ReadSingle();
     this.RainLineWidth   = binaryReader.ReadSingle();
     this.fieldpad0       = binaryReader.ReadBytes(4);
     this.fieldpad1       = binaryReader.ReadBytes(4);
     this.fieldpad2       = binaryReader.ReadBytes(4);
     return(pointerQueue);
 }
Beispiel #17
0
 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.Input        = binaryReader.ReadStringID();
     this.Range        = binaryReader.ReadStringID();
     this.TimePeriod   = binaryReader.ReadSingle();
     this.IntegerValue = binaryReader.ReadInt32();
     this.RealValue    = binaryReader.ReadSingle();
     pointerQueue      = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.FunctionValue.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));
     pointerQueue      = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.GPUState.ReadFields(binaryReader)));
     pointerQueue      = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.GPUConstantState.ReadFields(binaryReader)));
     pointerQueue      = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.GPUVolatileState.ReadFields(binaryReader)));
     pointerQueue      = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.GPUDefaultState.ReadFields(binaryReader)));
     this.VertexShader = binaryReader.ReadTagReference();
     this.fieldskip    = binaryReader.ReadBytes(8);
     this.fieldskip0   = binaryReader.ReadBytes(8);
     this.fieldskip1   = binaryReader.ReadBytes(4);
     this.fieldskip2   = binaryReader.ReadBytes(4);
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(2));
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(2));
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(2));
     this.BitmapParameterCount = binaryReader.ReadInt16();
     this.fieldpad             = binaryReader.ReadBytes(2);
     this.fieldskip3           = binaryReader.ReadBytes(240);
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(4));
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(16));
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(32));
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(6));
     this.fieldskip4 = binaryReader.ReadBytes(4);
     this.fieldskip5 = binaryReader.ReadBytes(4);
     return(pointerQueue);
 }
Beispiel #19
0
        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.Material          = binaryReader.ReadShortBlockIndex1();
            this.MultiSpheresFlags = ((Flags)(binaryReader.ReadInt16()));
            this.RelativeMassScale = binaryReader.ReadSingle();
            this.Friction          = binaryReader.ReadSingle();
            this.Restitution       = binaryReader.ReadSingle();
            this.Volume            = binaryReader.ReadSingle();
            this.Mass              = binaryReader.ReadSingle();
            this.fieldskip         = binaryReader.ReadBytes(2);
            this.Phantom           = binaryReader.ReadShortBlockIndex1();
            this.fieldskip0        = binaryReader.ReadBytes(4);
            this.Size              = binaryReader.ReadInt16();
            this.Count             = binaryReader.ReadInt16();
            this.fieldskip1        = binaryReader.ReadBytes(4);
            this.NumSpheres        = binaryReader.ReadInt32();
            int i;

            for (i = 0; (i < 8); i = (i + 1))
            {
                this.FourVectorsStorage00[i] = new FourVectorsStorageBlock();
                pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.FourVectorsStorage00[i].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.UnitSeatFlags               = ((Flags)(binaryReader.ReadInt32()));
     this.Label                       = binaryReader.ReadStringID();
     this.MarkerName                  = binaryReader.ReadStringID();
     this.EntryMarkerName             = binaryReader.ReadStringID();
     this.BoardingGrenadeMarker       = binaryReader.ReadStringID();
     this.BoardingGrenadeString       = binaryReader.ReadStringID();
     this.BoardingMeleeString         = binaryReader.ReadStringID();
     this.PingScale                   = binaryReader.ReadSingle();
     this.TurnoverTime                = binaryReader.ReadSingle();
     pointerQueue                     = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.Acceleration.ReadFields(binaryReader)));
     this.AIScariness                 = binaryReader.ReadSingle();
     this.AiSeatType                  = ((AiSeatTypeEnum)(binaryReader.ReadInt16()));
     this.BoardingSeat                = binaryReader.ReadShortBlockIndex1();
     this.ListenerInterpolationFactor = binaryReader.ReadSingle();
     this.YawRateBounds               = binaryReader.ReadRange();
     this.PitchRateBounds             = binaryReader.ReadRange();
     this.MinSpeedReference           = binaryReader.ReadSingle();
     this.MaxSpeedReference           = binaryReader.ReadSingle();
     this.SpeedExponent               = binaryReader.ReadSingle();
     pointerQueue                     = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.UnitCamera.ReadFields(binaryReader)));
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(8));
     this.EnterSeatString                 = binaryReader.ReadStringID();
     this.YawMinimum                      = binaryReader.ReadSingle();
     this.YawMaximum                      = binaryReader.ReadSingle();
     this.BuiltinGunner                   = binaryReader.ReadTagReference();
     this.EntryRadius                     = binaryReader.ReadSingle();
     this.EntryMarkerConeAngle            = binaryReader.ReadSingle();
     this.EntryMarkerFacingAngle          = binaryReader.ReadSingle();
     this.MaximumRelativeVelocity         = binaryReader.ReadSingle();
     this.InvisibleSeatRegion             = binaryReader.ReadStringID();
     this.RuntimeInvisibleSeatRegionIndex = binaryReader.ReadInt32();
     return(pointerQueue);
 }
Beispiel #21
0
 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));
     pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.BitmapTransforms.ReadFields(binaryReader)));
     pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.RenderStates.ReadFields(binaryReader)));
     pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.TextureStates.ReadFields(binaryReader)));
     pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.PixelConstants.ReadFields(binaryReader)));
     pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.VertexConstants.ReadFields(binaryReader)));
     return(pointerQueue);
 }
Beispiel #22
0
 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.VehicleVehicleFlags = ((VehicleFlags)(binaryReader.ReadInt32()));
     this.Type                           = ((TypeEnum)(binaryReader.ReadInt16()));
     this.Control                        = ((ControlEnum)(binaryReader.ReadInt16()));
     this.MaximumForwardSpeed            = binaryReader.ReadSingle();
     this.MaximumReverseSpeed            = binaryReader.ReadSingle();
     this.SpeedAcceleration              = binaryReader.ReadSingle();
     this.SpeedDeceleration              = binaryReader.ReadSingle();
     this.MaximumLeftTurn                = binaryReader.ReadSingle();
     this.MaximumRightTurn               = binaryReader.ReadSingle();
     this.WheelCircumference             = binaryReader.ReadSingle();
     this.TurnRate                       = binaryReader.ReadSingle();
     this.BlurSpeed                      = binaryReader.ReadSingle();
     this.SpecificType                   = ((SpecificTypeEnum)(binaryReader.ReadInt16()));
     this.PlayerTrainingVehicleType      = ((PlayerTrainingVehicleTypeEnum)(binaryReader.ReadInt16()));
     this.FlipMessage                    = binaryReader.ReadStringID();
     this.TurnScale                      = binaryReader.ReadSingle();
     this.SpeedTurnPenaltyPower          = binaryReader.ReadSingle();
     this.SpeedTurnPenalty               = binaryReader.ReadSingle();
     this.MaximumLeftSlide               = binaryReader.ReadSingle();
     this.MaximumRightSlide              = binaryReader.ReadSingle();
     this.SlideAcceleration              = binaryReader.ReadSingle();
     this.SlideDeceleration              = binaryReader.ReadSingle();
     this.MinimumFlippingAngularVelocity = binaryReader.ReadSingle();
     this.MaximumFlippingAngularVelocity = binaryReader.ReadSingle();
     this.VehicleSize                    = ((VehicleSizeEnum)(binaryReader.ReadInt16()));
     this.fieldpad4                      = binaryReader.ReadBytes(2);
     this.FixedGunYaw                    = binaryReader.ReadSingle();
     this.FixedGunPitch                  = binaryReader.ReadSingle();
     this.OverdampenCuspAngle            = binaryReader.ReadSingle();
     this.OverdampenExponent             = binaryReader.ReadSingle();
     this.CrouchTransitionTime           = binaryReader.ReadSingle();
     this.fieldpad5                      = binaryReader.ReadBytes(4);
     this.EngineMoment                   = binaryReader.ReadSingle();
     this.EngineMaxAngularVelocity       = binaryReader.ReadSingle();
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(68));
     this.FlyingTorqueScale = binaryReader.ReadSingle();
     this.SeatEnteranceAccelerationScale = binaryReader.ReadSingle();
     this.SeatExitAccelersationScale     = binaryReader.ReadSingle();
     this.AirFrictionDeceleration        = binaryReader.ReadSingle();
     this.ThrustScale     = binaryReader.ReadSingle();
     this.SuspensionSound = binaryReader.ReadTagReference();
     this.CrashSound      = binaryReader.ReadTagReference();
     this.UNUSED          = binaryReader.ReadTagReference();
     this.SpecialEffect   = binaryReader.ReadTagReference();
     this.UnusedEffect    = binaryReader.ReadTagReference();
     pointerQueue         = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.HavokVehiclePhysics.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.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.SwitchParameterIndex = binaryReader.ReadByte();
     this.fieldpad             = binaryReader.ReadBytes(1);
     pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.PermutationsIndex.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.AvailableLayerFlags = binaryReader.ReadInt32();
     pointerQueue             = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.Layers.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.ClothFlags           = ((Flags)(binaryReader.ReadInt32()));
     this.MarkerAttachmentName = binaryReader.ReadStringID();
     this.Shader         = binaryReader.ReadTagReference();
     this.GridXDimension = binaryReader.ReadInt16();
     this.GridYDimension = binaryReader.ReadInt16();
     this.GridSpacingX   = binaryReader.ReadSingle();
     this.GridSpacingY   = binaryReader.ReadSingle();
     pointerQueue        = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.Properties.ReadFields(binaryReader)));
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(20));
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(2));
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(2));
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(16));
     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.GameEngineAssaultEventFlags = ((Flags)(binaryReader.ReadInt16()));
     this.fieldpad                         = binaryReader.ReadBytes(2);
     this.Event                            = ((EventEnum)(binaryReader.ReadInt16()));
     this.Audience                         = ((AudienceEnum)(binaryReader.ReadInt16()));
     this.fieldpad0                        = binaryReader.ReadBytes(2);
     this.fieldpad1                        = binaryReader.ReadBytes(2);
     this.DisplayString                    = binaryReader.ReadStringID();
     this.RequiredField                    = ((RequiredFieldEnum)(binaryReader.ReadInt16()));
     this.ExcludedAudience                 = ((ExcludedAudienceEnum)(binaryReader.ReadInt16()));
     this.PrimaryString                    = binaryReader.ReadStringID();
     this.PrimaryStringDuration            = binaryReader.ReadInt32();
     this.PluralDisplayString              = binaryReader.ReadStringID();
     this.fieldpad2                        = binaryReader.ReadBytes(28);
     this.SoundDelay                       = binaryReader.ReadSingle();
     this.GameEngineAssaultEventSoundFlags = ((SoundFlags)(binaryReader.ReadInt16()));
     this.fieldpad3                        = binaryReader.ReadBytes(2);
     this.Sound                            = binaryReader.ReadTagReference();
     pointerQueue                          = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.ExtraSounds.ReadFields(binaryReader)));
     this.fieldpad4                        = binaryReader.ReadBytes(4);
     this.fieldpad5                        = binaryReader.ReadBytes(16);
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(80));
     return(pointerQueue);
 }
Beispiel #28
0
            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.fieldskip  = binaryReader.ReadBytes(4);
                this.Size       = binaryReader.ReadInt16();
                this.Count      = binaryReader.ReadInt16();
                this.fieldskip0 = binaryReader.ReadBytes(4);
                this.NumSpheres = binaryReader.ReadInt32();
                int i;

                for (i = 0; (i < 8); i = (i + 1))
                {
                    this.FourVectorsStorage00[i] = new FourVectorsStorageBlock();
                    pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.FourVectorsStorage00[i].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));
     pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.ObjectIdentifier.ReadFields(binaryReader)));
     pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.RenderLighting.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.Shader   = binaryReader.ReadTagReference();
     this.Location = binaryReader.ReadShortBlockIndex1();
     this.fieldpad = binaryReader.ReadBytes(2);
     pointerQueue  = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.Color.ReadFields(binaryReader)));
     pointerQueue  = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.Alpha.ReadFields(binaryReader)));
     pointerQueue  = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.Width.ReadFields(binaryReader)));
     pointerQueue  = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.Length.ReadFields(binaryReader)));
     pointerQueue  = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.Yaw.ReadFields(binaryReader)));
     pointerQueue  = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.Pitch.ReadFields(binaryReader)));
     return(pointerQueue);
 }