//===========================================================================//
// File:	GeoExport.h                                                 
// Project: MechWarrior 4
// Contents: Base Class for exporting plugins
//---------------------------------------------------------------------------//
//   Date    Who  Modification                                               //
// --------  ---  ---------------------------------------------------------- //
// 04/28/99  TAS  Initial coding, 
//---------------------------------------------------------------------------//
// Copyright (C) 1999, Microsoft
// All Rights reserved worldwide
// This unpublished sourcecode is PROPRIETARY and CONFIDENTIAL
//===========================================================================//

#ifndef __GEOEXPORT__
#define __GEOEXPORT__

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "BaseGeoExport.h"
#include "AnimationSuite.h"

typedef struct {
	CString name;
	CString type;
	CString transform;	
}RootGeo;

//Exports Erfs
class GeoExporter: public BaseGeoExporter
{
public:
    
    GeoExporter(const char *str) : BaseGeoExporter(str) {}
    int	DoExportWrap(const TCHAR *name,ExpInterface *ei,Interface *i, BOOL suppressPrompts=FALSE);
	int WriteOutGeometry_Video_Data_Files(
		const CString& path,const CString& fileName, const CString& strCageName, 
		const CString &lightFileName, RootGeo rootGeos[], int numOfRootGeos, bool bSetUniqueYes);
	int GetRootGeos(CString path, RootGeo rootGeos[], int* numRootGeos, INode *node);
};

/////////////////////////////////////////////////////////////////////////////
#endif
