#ifndef __ORIMPEXP_DEVICE_ENGINE_H__
#define __ORIMPEXP_DEVICE_ENGINE_H__
class ORGamesExportEngine
{
public:
ORGamesExportEngine ();
virtual ~ORGamesExportEngine ();
void Export( const char* pFilename);
private:
void ExportGlobalInfo ();
void ExportModels ();
void ExportConstraints ();
void ExportDevices ();
void ExportTextures ();
void ExportMaterials ();
void ExportMedia ();
void ExportTakes ();
void ExportModel ( FBModel* pModel, bool pRecursive = true, bool pIgnoreLightsCameras = true );
void ExportPropertyList ( FBComponent* pComponent, int pTabNumber = 1 );
void ExportAnimationNodes ( FBAnimationNode* pNode, const char* pParentName );
void ExportMesh ( FBModel* pModel );
void ExportMaterials ( FBModel* pModel );
void ExportOpticalModelInfo ( FBModelOptical* pModel );
void ExportConstraint ( FBConstraint* pConstraint );
void ExportActor ( FBActor* pActor );
void ExportMaterial ( FBMaterial* pMaterial );
void ExportTexture ( FBTexture* pTexture );
void ExportDevice ( FBDevice* pDevice );
void ExportMedia ( FBVideo* pVideo );
void ExportTake ( FBTake* pTake );
void FileHeaderOpen (const char* pHeader);
void FileHeaderClose ();
public:
bool mExportGlobalInfo;
bool mExportModels;
bool mExportAnimation;
bool mExportMesh;
bool mExportDevices;
bool mExportConstraints;
bool mExportProperties;
bool mExportCameras;
bool mExportLights;
bool mExportTextures;
bool mExportMaterials;
bool mExportTakes;
bool mExportMedia;
bool mExportSelected;
private:
FBSystem mSystem;
FBApplication mApplication;
};
#endif