2-8-0
ArticulationParameters
The ArticulationParameters class has changed. The VariableParameter class represents the base class with the ArticulationParameters renamed to ArticulatedPart as a derived class. For classes that had collections of ArticulatedPart, they now contain collections of VariableParameters. You can still add and remove ArticulatedParts instances as before however you will now need to use pointers to do this.
This effects the following PDU: Entity_State_PDU, Entity_State_Update_PDU, Detonation_PDU, Articulated_Parts_PDU.
Example
Before
m_PDU.AddArticulationParameter( ArticulationParameter() );
Now
m_PDU.AddVariableParameter( new ArticulatedPart() );
// or even
m_PDU.AddVariableParameter( new AttachedPart() );
// etc
BurstDescriptor - Warfare & Detonation PDU
The BurstDescriptor has been replaced with 3 descriptor classes in DIS 7. Munition, Expendable and Explosion descriptors. The munition descriptor is identical to the burst descriptor and is the only descriptor used when the DIS_VERSION is less than 7. See Fire & Detonation PDU for further details. The descriptor is now stored as a pointer so some small changes will be required to stay compatible.
Example
Before
m_PDU.SetBurstDescriptor( BurstDescriptor() );
Now
m_PDU.SetDescriptor( DescPtr( new MunitionDescriptor() ) );
// or
m_PDU.SetDescriptor( DescPtr( new ExpendableDescriptor() ) );
// or
m_PDU.SetDescriptor( DescPtr( new ExplosiveDescriptor() ) );