a bit less human readable xml

avinationmerge
UbitUmarov 2012-02-18 18:33:41 +00:00
parent 70b3b599bc
commit 028dc1f4ed
1 changed files with 25 additions and 25 deletions

View File

@ -515,44 +515,44 @@ namespace OpenSim.Region.Framework.Scenes
public void ToXml2(XmlTextWriter twriter) public void ToXml2(XmlTextWriter twriter)
{ {
writer = twriter; writer = twriter;
writer.WriteStartElement("SceneObjectVehicle"); writer.WriteStartElement("SOGVehicle");
XWint("V_Type", (int)vd.m_type); XWint("TYPE", (int)vd.m_type);
XWint("V_Flags", (int)vd.m_flags); XWint("FLAGS", (int)vd.m_flags);
// Linear properties // Linear properties
XWVector("LM_DIRECTION", vd.m_linearMotorDirection); XWVector("LMDIR", vd.m_linearMotorDirection);
XWVector("LM_FRICTION_TIMESCALE", vd.m_linearFrictionTimescale); XWVector("LMFTIME", vd.m_linearFrictionTimescale);
XWfloat("LM_DECAY_TIMESCALE", vd.m_linearMotorDecayTimescale); XWfloat("LMDTIME", vd.m_linearMotorDecayTimescale);
XWfloat("LM_TIMESCALE", vd.m_linearMotorTimescale); XWfloat("LMTIME", vd.m_linearMotorTimescale);
XWVector("LM_OFFSET", vd.m_linearMotorOffset); XWVector("LMOFF", vd.m_linearMotorOffset);
//Angular properties //Angular properties
XWVector("AM_DIRECTION", vd.m_angularMotorDirection); XWVector("AMDIR", vd.m_angularMotorDirection);
XWfloat("AM_TIMESCALE", vd.m_angularMotorTimescale); XWfloat("AMTIME", vd.m_angularMotorTimescale);
XWfloat("AM_DECAY_TIMESCALE", vd.m_angularMotorDecayTimescale); XWfloat("AMDTIME", vd.m_angularMotorDecayTimescale);
XWVector("AM_FRICTION_TIMESCALE", vd.m_angularFrictionTimescale); XWVector("AMFTIME", vd.m_angularFrictionTimescale);
//Deflection properties //Deflection properties
XWfloat("AD_EFFICIENCY", vd.m_angularDeflectionEfficiency); XWfloat("ADEFF", vd.m_angularDeflectionEfficiency);
XWfloat("AD_TIMESCALE", vd.m_angularDeflectionTimescale); XWfloat("ADTIME", vd.m_angularDeflectionTimescale);
XWfloat("LD_EFFICIENCY", vd.m_linearDeflectionEfficiency); XWfloat("LDEFF", vd.m_linearDeflectionEfficiency);
XWfloat("LD_TIMESCALE", vd.m_linearDeflectionTimescale); XWfloat("LDTIME", vd.m_linearDeflectionTimescale);
//Banking properties //Banking properties
XWfloat("B_EFFICIENCY", vd.m_bankingEfficiency); XWfloat("BEFF", vd.m_bankingEfficiency);
XWfloat("B_MIX", vd.m_bankingMix); XWfloat("BMIX", vd.m_bankingMix);
XWfloat("B_TIMESCALE", vd.m_bankingTimescale); XWfloat("BTIME", vd.m_bankingTimescale);
//Hover and Buoyancy properties //Hover and Buoyancy properties
XWfloat("H_HEIGHT", vd.m_VhoverHeight); XWfloat("HHEI", vd.m_VhoverHeight);
XWfloat("H_EFFICIENCY", vd.m_VhoverEfficiency); XWfloat("HEFF", vd.m_VhoverEfficiency);
XWfloat("H_TIMESCALE", vd.m_VhoverTimescale); XWfloat("HTIME", vd.m_VhoverTimescale);
XWfloat("VBUOYANCY", vd.m_VehicleBuoyancy); XWfloat("VBUO", vd.m_VehicleBuoyancy);
//Attractor properties //Attractor properties
XWfloat("VA_EFFICIENCY", vd.m_verticalAttractionEfficiency); XWfloat("VAEFF", vd.m_verticalAttractionEfficiency);
XWfloat("VA_TIMESCALE", vd.m_verticalAttractionTimescale); XWfloat("VATIME", vd.m_verticalAttractionTimescale);
XWQuat("REF_FRAME", vd.m_referenceFrame); XWQuat("REF_FRAME", vd.m_referenceFrame);