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:
@@ -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 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user