This commit is contained in:
Daveo 2001-01-08 21:33:31 +00:00
parent 4561175ce9
commit f3ea84c1ac
5 changed files with 58 additions and 21 deletions

View file

@ -52,7 +52,8 @@ struct sShortXYZ
//***************************************************************************
struct sVtx
{
s16 vx, vy, vz, pad;
s16 vx, vy, vz, pad;
#ifdef WIN32
bool operator==(sVtx const &v1) {return((vx==v1.vx) && (vy==v1.vy) && (vz==v1.vz));}
#endif
@ -109,26 +110,24 @@ struct sQuad
}; // 20
//***************************************************************************
/*
struct sWeight
{
s16 X,Y,Z,VtxNo;
s16 vx,vy,vz,VtxNo; // 8
};
*/
//***************************************************************************
/*
struct sBone
{
SVECTOR BoneSize; // 8
s16 Parent,Idx;
s32 WeightCount; // 4
sWeight *WeightList;
}; // 16
*/
sVtx BoneSize; // 8
s16 Parent,Idx; // 4
s32 WeightCount; // 4
sWeight *WeightList; // 4
}; // 20
//***************************************************************************
//***************************************************************************
//***************************************************************************
// Tiles
// Maps
enum TILE3D_FLAGS
{
@ -212,6 +211,23 @@ struct sLvlHdr
};
//***************************************************************************
//***************************************************************************
//***************************************************************************
// Actors
struct sActor3dHdr
{
u16 NodeCount;
u16 TriCount;
u16 QuadCount;
u16 WeightCount;
u32 NodeData;
u32 TriData;
u32 QuadData;
u32 WeightData;
};
#endif