protected override void ReadMembers(SR1_Reader reader, SR1_Structure parent) { fogNear.Read(reader, this, "fogNear"); }
protected override void ReadMembers(SR1_Reader reader, SR1_Structure parent) { cameraMode.Read(reader, this, "cameraMode"); }
protected override void ReadMembers(SR1_Reader reader, SR1_Structure parent) { x.Read(reader, this, "x"); y.Read(reader, this, "y"); z.Read(reader, this, "z"); }
protected override void ReadMembers(SR1_Reader reader, SR1_Structure parent) { genericBubbleParams.Read(reader, this, "genericBubbleParams"); }
protected override void ReadMembers(SR1_Reader reader, SR1_Structure parent) { numAniTextures.Read(reader, this, "numAniTextures"); aniTexInfo = new SR1_PointerArray <DrMoveAniTexDestInfo>(numAniTextures.Value, true); aniTexInfo.Read(reader, this, "aniTexInfo"); }
protected override void ReadMembers(SR1_Reader reader, SR1_Structure parent) { vmobject.Read(reader, this, "vmobject"); }
protected override void ReadMembers(SR1_Reader reader, SR1_Structure parent) { events.Read(reader, this, "events"); eventPointers.Read(reader, this, "eventPointers"); }
protected override void ReadMembers(SR1_Reader reader, SR1_Structure parent) { type.Read(reader, this, "type"); time.Read(reader, this, "time"); }
protected override void ReadMembers(SR1_Reader reader, SR1_Structure parent) { morphColor15.Read(reader, this, "morphColor15"); }
protected override void ReadReferences(SR1_Reader reader, SR1_Structure parent) { SR1_Structure temp = null; temp = new SR1_PrimativeArray <sbyte>(numAuxAnims.Value).ReadFromPointer(reader, auxAnimList); // Unknown byte plus padding. Always 0xD1 if (temp.End != 0x00000000 && !reader.File._Structures.ContainsKey(temp.End)) { reader.BaseStream.Position = temp.End; new SR1_Primative <byte>().SetPadding(4).Read(reader, null, ""); } temp = new SR1_PrimativeArray <sbyte>(numAmbientAnims.Value).ReadFromPointer(reader, ambientAnimList); // Unknown byte plus padding. Always 0xD1 if (temp.End != 0x00000000 && !reader.File._Structures.ContainsKey(temp.End)) { reader.BaseStream.Position = temp.End; new SR1_Primative <byte>().SetPadding(4).Read(reader, null, ""); } temp = new SR1_PointerArray <MonsterSubAttributes>(numSubAttributes.Value, true, 4).ReadFromPointer(reader, subAttributesList); // Unknown byte plus padding. Always 0xD1 if (temp.End != 0x00000000 && !reader.File._Structures.ContainsKey(temp.End)) { reader.BaseStream.Position = temp.End; new SR1_Primative <byte>().SetPadding(4).Read(reader, null, ""); } temp = new SR1_PointerArray <MonsterCombatAttributes>(numCombatAttributes.Value, true).ReadFromPointer(reader, combatAttributesList); // Unknown byte plus padding. Always 0xD1 if (temp.End != 0x00000000 && !reader.File._Structures.ContainsKey(temp.End)) { reader.BaseStream.Position = temp.End; new SR1_Primative <byte>().SetPadding(4).Read(reader, null, ""); } new SR1_StructureArray <MonsterAttackAttributes>(numAttackAttributes.Value).ReadFromPointer(reader, attackAttributesList); new SR1_StructureArray <MonsterMissile>(numMissiles.Value).ReadFromPointer(reader, missileList); new SR1_StructureArray <MonsterAnim>(numAnims.Value).ReadFromPointer(reader, animList); new SR1_StructureArray <MonsterIdle>(numIdles.Value).ReadFromPointer(reader, idleList); int realNumBehaviors = (numBehaviors.Value > 0) ? (numBehaviors.Value - 1) : 0; if (reader.File._Version >= SR1_File.Version.Feb16) { if (reader.Object.Name == "wrshp___") { realNumBehaviors -= 1; } else if (reader.Object.Name == "soul____") { realNumBehaviors = 1; } } new SR1_StructureArray <MonsterBehavior>(realNumBehaviors).ReadFromPointer(reader, behaviorList); new SR1_StructureArray <FXSplinter>(numShatters.Value).ReadFromPointer(reader, shatterList); }
protected override void ReadMembers(SR1_Reader reader, SR1_Structure parent) { Properties.Read(reader, this, "Properties"); data.Read(reader, this, "data"); }
protected override void ReadMembers(SR1_Reader reader, SR1_Structure parent) { channel.Read(reader, this, "channel"); state.Read(reader, this, "state"); delay.Read(reader, this, "delay"); }
protected override void ReadMembers(SR1_Reader reader, SR1_Structure parent) { count.Read(reader, this, "count"); q.Read(reader, this, "q"); }
protected override void ReadMembers(SR1_Reader reader, SR1_Structure parent) { flags.Read(reader, this, "flags"); }
protected override void ReadMembers(SR1_Reader reader, SR1_Structure parent) { lightGroup.Read(reader, this, "lightGroup"); }
protected override void ReadMembers(SR1_Reader reader, SR1_Structure parent) { plusDelta.Read(reader, this, "plusDelta"); minusDelta.Read(reader, this, "minusDelta"); validAtHitPoint.Read(reader, this, "validAtHitPoint"); }
protected override void ReadMembers(SR1_Reader reader, SR1_Structure parent) { currkey.Read(reader, this, "currkey"); denomFlag.Read(reader, this, "denomFlag"); fracCurr.Read(reader, this, "fracCurr"); }
protected override void ReadMembers(SR1_Reader reader, SR1_Structure parent) { buf.Read(reader, this, "buf"); }
protected override void ReadMembers(SR1_Reader reader, SR1_Structure parent) { intro.Read(reader, this, "intro"); }
protected override void ReadMembers(SR1_Reader reader, SR1_Structure parent) { misc.Read(reader, this, "misc"); }
protected override void ReadMembers(SR1_Reader reader, SR1_Structure parent) { unknown.Read(reader, this, "unknown"); }
protected override void ReadMembers(SR1_Reader reader, SR1_Structure parent) { slideAngle.Read(reader, this, "slideAngle"); }
protected override void ReadMembers(SR1_Reader reader, SR1_Structure parent) { v0.Read(reader, this, "v0"); v1.Read(reader, this, "v1"); v2.Read(reader, this, "v2"); }
protected override void ReadMembers(SR1_Reader reader, SR1_Structure parent) { vertex.Read(reader, this, "vertex"); normal.Read(reader, this, "normal"); }
protected override void ReadMembers(SR1_Reader reader, SR1_Structure parent) { animList.Read(reader, this, "animList"); }
protected override void ReadMembers(SR1_Reader reader, SR1_Structure parent) { Value = (T)ReadPrimativeType <T>(reader); }
protected override void ReadMembers(SR1_Reader reader, SR1_Structure parent) { }
protected override void ReadReferences(SR1_Reader reader, SR1_Structure parent) { // Primatives don't contain references. }
protected override void ReadReferences(SR1_Reader reader, SR1_Structure parent) { }
protected override void ReadMembers(SR1_Reader reader, SR1_Structure parent) { prev.Read(reader, this, "prev"); next.Read(reader, this, "next"); }