This commit is contained in:
Daveo 2000-09-22 15:11:29 +00:00
parent 7f8167ec20
commit b49c9271c1
19 changed files with 2158 additions and 0 deletions

45
Utils/MapEdit/Core.h Normal file
View file

@ -0,0 +1,45 @@
/***********************/
/*** Map Editor Core ***/
/***********************/
#ifndef __CORE_HEADER__
#define __CORE_HEADER__
#include <Vector>
/*****************************************************************************/
//struct sLayer;
struct sLayer
{
char Name[32];
// sLayer *Next,*Prev;
};
/*****************************************************************************/
class CCore
{
public:
CCore();
~CCore();
// Layers
void LayerAdd(char *Name=0);
void LayerSetActive(int Layer);
int LayerGetActive();
int LayerGetCount();
sLayer const &LayerGet(int i);
void LayerDelete(int Layer);
void LayerMoveUp(int Layer);
void LayerMoveDown(int Layer);
private:
std::vector<sLayer> Layers;
int ActiveLayer;
};
/*****************************************************************************/
#endif