From Paul Martz, "I've added support for indexed light points and the light

point appearance palette to the OpenFlight loader. Both are 15.8 features.
I also added parsing/comments regarding other things that have changed for
v15.8."
This commit is contained in:
Robert Osfield
2004-03-14 15:26:36 +00:00
parent 28759baa98
commit 3bf1bbdabd
22 changed files with 482 additions and 18 deletions

View File

@@ -64,3 +64,33 @@ void LightPointRecord::endian()
ENDIAN( pSLightPoint->sfFlags );
pSLightPoint->animRot.endian();
}
////////////////////////////////////////////////////////////////////
//
// Indexed LightPointRecord
//
////////////////////////////////////////////////////////////////////
RegisterRecordProxy<LightPointIndexRecord> g_LightPointIndexdProxy;
LightPointIndexRecord::LightPointIndexRecord()
{
}
// virtual
LightPointIndexRecord::~LightPointIndexRecord()
{
}
void LightPointIndexRecord::endian()
{
SLightPointIndex *pSLightPointIndex = (SLightPointIndex*)getData();
ENDIAN( pSLightPointIndex->iAppearanceIndex );
ENDIAN( pSLightPointIndex->iAnimationIndex );
ENDIAN( pSLightPointIndex->iDrawOrder );
}