/**************/ /*** Export ***/ /**************/ #ifndef __EXPORT_HEADER__ #define __EXPORT_HEADER__ #include "stdafx.h" #include "mapedit.h" #include //#include "GinTex.h" //#include "Tile.h" #include #include "ExportHdr.h" /*****************************************************************************/ /*****************************************************************************/ /*****************************************************************************/ class CCore; class CMap; class CTile; class CExport { public: CExport(char *Filename,int LayerCount); ~CExport(); void ExportLayerTile(CCore *Core,char *LayerName,int SubType,CMap &Map); void ExportLayerCollision(CCore *Core,char *LayerName,int SubType,CMap &Map); void ExportTiles(CCore *Core); void ExportTexList(CCore *Core); protected: void ExportTile(CCore *Core,CTile &ThisTile,sExpTile &OutTile); void ExportTile3d(CCore *Core,CTile &ThisTile,sExpTile &OutTile); void ExportTile2d(CCore *Core,CTile &ThisTile,sExpTile &OutTile); sExpFileHdr FileHdr; int LayerCount; CList LayerOfs; CList TriList; CList TexList; CList UsedTileList; // GString Filename; FILE *File; // int Count; }; /*****************************************************************************/ #endif