SBSPSS/Utils/MapEdit/Export.h

51 lines
1.0 KiB
C
Raw Normal View History

2000-11-24 23:34:20 +01:00
/**************/
/*** Export ***/
/**************/
#ifndef __EXPORT_HEADER__
#define __EXPORT_HEADER__
#include "stdafx.h"
#include <Vector>
2000-12-11 22:29:59 +01:00
#include <GFName.hpp>
2000-12-01 22:08:54 +01:00
#include "mapedit.h"
2000-11-24 23:34:20 +01:00
#include "Quantize.h"
2000-12-04 17:47:34 +01:00
#include <list.h>
2000-11-24 23:34:20 +01:00
/*****************************************************************************/
/*****************************************************************************/
/*****************************************************************************/
class CCore;
class CMap;
2000-12-01 22:08:54 +01:00
2000-11-24 23:34:20 +01:00
class CTile;
class CExport
{
public:
CExport(char *Filename);
~CExport();
2000-11-30 23:17:55 +01:00
virtual void ExportLayerTile(CCore *Core,char *LayerName,int SubType,CMap &Map)=0;
2001-01-24 23:35:11 +01:00
virtual void ExportLayerCollision(CCore *Core,char *LayerName,int SubType,CMap &Map)=0;
2000-11-30 23:17:55 +01:00
virtual void ExportTiles(CCore *Core)=0;
2000-11-24 23:34:20 +01:00
protected:
2001-01-24 23:35:11 +01:00
void BuildColTable(CTile &ThisTile);
2000-11-24 23:34:20 +01:00
2001-01-24 23:35:11 +01:00
GFName Filename;
FILE *File;
int Count;
2000-12-01 22:08:54 +01:00
2001-01-24 23:35:11 +01:00
std::vector<int> ColTable;
2000-12-01 22:08:54 +01:00
2000-11-24 23:34:20 +01:00
};
/*****************************************************************************/
2000-11-30 23:17:55 +01:00
#endif