
typedef struct 
{ 
	unsigned int      nNumVertex;
	unsigned int      nNumFaces;
	unsigned int      nNumStrips;
	unsigned int      nFlags;
	unsigned int      nMaterial;
	float             fCenter[3];
	float             *pVertex;
	float             *pUV;
	float             *pNormals;
	float             *pPackedVertex;
	unsigned int      *pVertexColor;
	unsigned int      *pVertexMaterial;
	unsigned int      *pFaces;
	unsigned int      *pStrips;
	unsigned int      *pStripLength;
} Struct_Mesh;


typedef struct 
{ 
	char     *sMatName;
	char     *spMatFile;
	char     *sAlphaFile;
	char     *sBumpFile;
	unsigned nMatAmbient;
	unsigned nMatDiffuse;
	unsigned nMatSpecular;
	float    fMatShininess;
	float    fMatShineStrength;
	float    fMatTransparency;
	unsigned nMatShading;
	int      nTextureIndex;  /*-KK, -1 for none */
} Struct_Material;

typedef struct 
{
	int nWidth;
	int nHeight;
	int eFormat;
	int nUserInt;
	unsigned short *pBitmapData;
} Struct_Texture;


typedef struct 
{
	int				nMeshes;
	Struct_Mesh		*pMeshes;

	int				nMaterials;
	Struct_Material	*pMaterials;

	int				nTextures;
	Struct_Texture	*pTextures;
} Struct_Scene;


extern int numScenes;
extern Struct_Scene *allScenes[];
	


