2001-01-11 00:32:10 +08:00
|
|
|
// ObjectRecord.cpp
|
|
|
|
|
|
|
|
#include "flt.h"
|
|
|
|
#include "Registry.h"
|
|
|
|
#include "ObjectRecord.h"
|
|
|
|
|
|
|
|
using namespace flt;
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// ObjectRecord
|
|
|
|
//
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
RegisterRecordProxy<ObjectRecord> g_ObjectProxy;
|
|
|
|
|
|
|
|
ObjectRecord::ObjectRecord()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// virtual
|
|
|
|
ObjectRecord::~ObjectRecord()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void ObjectRecord::endian()
|
|
|
|
{
|
2001-09-20 05:08:56 +08:00
|
|
|
SObject *pSObject = (SObject*)getData();
|
2001-01-11 00:32:10 +08:00
|
|
|
|
|
|
|
ENDIAN( pSObject->dwFlags );
|
|
|
|
ENDIAN( pSObject->iObjectRelPriority );
|
|
|
|
ENDIAN( pSObject->wTransparency );
|
|
|
|
ENDIAN( pSObject->iSpecialId_1 );
|
|
|
|
ENDIAN( pSObject->iSpecialId_2 );
|
|
|
|
ENDIAN( pSObject->iSignificance );
|
|
|
|
}
|