Added Yefei He's RoadRecords to the flt loader, these records will be
ignored by the loader, but will allow the loader to skip over them and continue reading the rest of the file correctly.
This commit is contained in:
61
src/osgPlugins/flt/RoadRecords.cpp
Normal file
61
src/osgPlugins/flt/RoadRecords.cpp
Normal file
@@ -0,0 +1,61 @@
|
||||
// RoadRecords.cpp
|
||||
|
||||
#include "flt.h"
|
||||
#include "Registry.h"
|
||||
#include "RoadRecords.h"
|
||||
|
||||
using namespace flt;
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// RoadSegmentRecord
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
RegisterRecordProxy<RoadSegmentRecord> g_RoadSegmentProxy;
|
||||
|
||||
RoadSegmentRecord::RoadSegmentRecord()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
// virtual
|
||||
RoadSegmentRecord::~RoadSegmentRecord()
|
||||
{
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// RoadConstructionRecord
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
RegisterRecordProxy<RoadConstructionRecord> g_RoadConstructionProxy;
|
||||
|
||||
RoadConstructionRecord::RoadConstructionRecord()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
// virtual
|
||||
RoadConstructionRecord::~RoadConstructionRecord()
|
||||
{
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// RoadPathRecord
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
RegisterRecordProxy<RoadPathRecord> g_RoadPathProxy;
|
||||
|
||||
RoadPathRecord::RoadPathRecord()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
// virtual
|
||||
RoadPathRecord::~RoadPathRecord()
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user