diff options
author | UbitUmarov | 2012-02-18 18:33:41 +0000 |
---|---|---|
committer | UbitUmarov | 2012-02-18 18:33:41 +0000 |
commit | 028dc1f4ed2e8bdc5e3d5e3d493a743e6d7b557f (patch) | |
tree | 12b45a2d8446eb39093c24bce87b01d6f46906da /OpenSim/Region/Framework/Scenes | |
parent | added some ToXml2 to SOGVehicle ( unused untested ) (diff) | |
download | opensim-SC_OLD-028dc1f4ed2e8bdc5e3d5e3d493a743e6d7b557f.zip opensim-SC_OLD-028dc1f4ed2e8bdc5e3d5e3d493a743e6d7b557f.tar.gz opensim-SC_OLD-028dc1f4ed2e8bdc5e3d5e3d493a743e6d7b557f.tar.bz2 opensim-SC_OLD-028dc1f4ed2e8bdc5e3d5e3d493a743e6d7b557f.tar.xz |
a bit less human readable xml
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SOGVehicle.cs | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SOGVehicle.cs b/OpenSim/Region/Framework/Scenes/SOGVehicle.cs index d06224c..5a875ee 100644 --- a/OpenSim/Region/Framework/Scenes/SOGVehicle.cs +++ b/OpenSim/Region/Framework/Scenes/SOGVehicle.cs | |||
@@ -515,44 +515,44 @@ namespace OpenSim.Region.Framework.Scenes | |||
515 | public void ToXml2(XmlTextWriter twriter) | 515 | public void ToXml2(XmlTextWriter twriter) |
516 | { | 516 | { |
517 | writer = twriter; | 517 | writer = twriter; |
518 | writer.WriteStartElement("SceneObjectVehicle"); | 518 | writer.WriteStartElement("SOGVehicle"); |
519 | 519 | ||
520 | XWint("V_Type", (int)vd.m_type); | 520 | XWint("TYPE", (int)vd.m_type); |
521 | XWint("V_Flags", (int)vd.m_flags); | 521 | XWint("FLAGS", (int)vd.m_flags); |
522 | 522 | ||
523 | // Linear properties | 523 | // Linear properties |
524 | XWVector("LM_DIRECTION", vd.m_linearMotorDirection); | 524 | XWVector("LMDIR", vd.m_linearMotorDirection); |
525 | XWVector("LM_FRICTION_TIMESCALE", vd.m_linearFrictionTimescale); | 525 | XWVector("LMFTIME", vd.m_linearFrictionTimescale); |
526 | XWfloat("LM_DECAY_TIMESCALE", vd.m_linearMotorDecayTimescale); | 526 | XWfloat("LMDTIME", vd.m_linearMotorDecayTimescale); |
527 | XWfloat("LM_TIMESCALE", vd.m_linearMotorTimescale); | 527 | XWfloat("LMTIME", vd.m_linearMotorTimescale); |
528 | XWVector("LM_OFFSET", vd.m_linearMotorOffset); | 528 | XWVector("LMOFF", vd.m_linearMotorOffset); |
529 | 529 | ||
530 | //Angular properties | 530 | //Angular properties |
531 | XWVector("AM_DIRECTION", vd.m_angularMotorDirection); | 531 | XWVector("AMDIR", vd.m_angularMotorDirection); |
532 | XWfloat("AM_TIMESCALE", vd.m_angularMotorTimescale); | 532 | XWfloat("AMTIME", vd.m_angularMotorTimescale); |
533 | XWfloat("AM_DECAY_TIMESCALE", vd.m_angularMotorDecayTimescale); | 533 | XWfloat("AMDTIME", vd.m_angularMotorDecayTimescale); |
534 | XWVector("AM_FRICTION_TIMESCALE", vd.m_angularFrictionTimescale); | 534 | XWVector("AMFTIME", vd.m_angularFrictionTimescale); |
535 | 535 | ||
536 | //Deflection properties | 536 | //Deflection properties |
537 | XWfloat("AD_EFFICIENCY", vd.m_angularDeflectionEfficiency); | 537 | XWfloat("ADEFF", vd.m_angularDeflectionEfficiency); |
538 | XWfloat("AD_TIMESCALE", vd.m_angularDeflectionTimescale); | 538 | XWfloat("ADTIME", vd.m_angularDeflectionTimescale); |
539 | XWfloat("LD_EFFICIENCY", vd.m_linearDeflectionEfficiency); | 539 | XWfloat("LDEFF", vd.m_linearDeflectionEfficiency); |
540 | XWfloat("LD_TIMESCALE", vd.m_linearDeflectionTimescale); | 540 | XWfloat("LDTIME", vd.m_linearDeflectionTimescale); |
541 | 541 | ||
542 | //Banking properties | 542 | //Banking properties |
543 | XWfloat("B_EFFICIENCY", vd.m_bankingEfficiency); | 543 | XWfloat("BEFF", vd.m_bankingEfficiency); |
544 | XWfloat("B_MIX", vd.m_bankingMix); | 544 | XWfloat("BMIX", vd.m_bankingMix); |
545 | XWfloat("B_TIMESCALE", vd.m_bankingTimescale); | 545 | XWfloat("BTIME", vd.m_bankingTimescale); |
546 | 546 | ||
547 | //Hover and Buoyancy properties | 547 | //Hover and Buoyancy properties |
548 | XWfloat("H_HEIGHT", vd.m_VhoverHeight); | 548 | XWfloat("HHEI", vd.m_VhoverHeight); |
549 | XWfloat("H_EFFICIENCY", vd.m_VhoverEfficiency); | 549 | XWfloat("HEFF", vd.m_VhoverEfficiency); |
550 | XWfloat("H_TIMESCALE", vd.m_VhoverTimescale); | 550 | XWfloat("HTIME", vd.m_VhoverTimescale); |
551 | XWfloat("VBUOYANCY", vd.m_VehicleBuoyancy); | 551 | XWfloat("VBUO", vd.m_VehicleBuoyancy); |
552 | 552 | ||
553 | //Attractor properties | 553 | //Attractor properties |
554 | XWfloat("VA_EFFICIENCY", vd.m_verticalAttractionEfficiency); | 554 | XWfloat("VAEFF", vd.m_verticalAttractionEfficiency); |
555 | XWfloat("VA_TIMESCALE", vd.m_verticalAttractionTimescale); | 555 | XWfloat("VATIME", vd.m_verticalAttractionTimescale); |
556 | 556 | ||
557 | XWQuat("REF_FRAME", vd.m_referenceFrame); | 557 | XWQuat("REF_FRAME", vd.m_referenceFrame); |
558 | 558 | ||