added a warning to all serialization structures:

///do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
This commit is contained in:
erwin.coumans
2010-01-27 02:41:38 +00:00
parent cd15b314c1
commit 725411a1f3
17 changed files with 23 additions and 14 deletions

View File

@@ -432,9 +432,7 @@ public:
};
///using offsetof for m_vtablePadding might break some compilers, in that case define m_vtablePadding manually
///for serialization
///do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
struct btCollisionObjectDoubleData
{
void *m_broadphaseHandle;
@@ -465,6 +463,7 @@ struct btCollisionObjectDoubleData
char m_padding[4];
};
///do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
struct btCollisionObjectFloatData
{
void *m_broadphaseHandle;

View File

@@ -131,7 +131,7 @@ public:
};
///do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
struct btCapsuleShapeData
{
btConvexInternalShapeData m_convexInternalShapeData;

View File

@@ -125,7 +125,7 @@ public:
};
///for serialization
///do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
struct btCollisionShapeData
{
void *m_userPointer;

View File

@@ -171,7 +171,7 @@ public:
};
///do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
struct btCompoundShapeChildData
{
btTransformFloatData m_transform;
@@ -180,7 +180,7 @@ struct btCompoundShapeChildData
float m_childMargin;
};
///do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
struct btCompoundShapeData
{
btCollisionShapeData m_collisionShapeData;

View File

@@ -96,7 +96,7 @@ public:
};
///do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
struct btConvexHullShapeData
{
btConvexInternalShapeData m_convexInternalShapeData;

View File

@@ -118,7 +118,7 @@ public:
};
///do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
struct btConvexInternalShapeData
{
btCollisionShapeData m_collisionShapeData;

View File

@@ -159,7 +159,7 @@ public:
};
///do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
struct btCylinderShapeData
{
btConvexInternalShapeData m_convexInternalShapeData;

View File

@@ -66,6 +66,7 @@ public:
};
///do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
struct btStaticPlaneShapeData
{
btCollisionShapeData m_collisionShapeData;

View File

@@ -109,6 +109,7 @@ struct btShortIntIndexData
short int m_value;
};
///do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
struct btMeshPartData
{
btVector3FloatData *m_vertices3f;
@@ -121,6 +122,7 @@ struct btMeshPartData
};
///do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
struct btStridingMeshInterfaceData
{
btMeshPartData *m_meshPartsPtr;

View File

@@ -88,7 +88,7 @@ public:
};
///do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
struct btTriangleMeshShapeData
{
btCollisionShapeData m_collisionShapeData;