This commit is contained in:
parent
2518a438e2
commit
23d9f79f4c
11 changed files with 283 additions and 164 deletions
37
Utils/MapEdit/Map.h
Normal file
37
Utils/MapEdit/Map.h
Normal file
|
@ -0,0 +1,37 @@
|
|||
/******************/
|
||||
/*** Map Stuph ***/
|
||||
/*****************/
|
||||
|
||||
#ifndef __MAP_HEADER__
|
||||
#define __MAP_HEADER__
|
||||
|
||||
#include <Vector>
|
||||
|
||||
struct sMapElem
|
||||
{
|
||||
int Bank;
|
||||
int Tile;
|
||||
int Flags;
|
||||
};
|
||||
|
||||
/*****************************************************************************/
|
||||
class CMap
|
||||
{
|
||||
public:
|
||||
CMap(){};
|
||||
~CMap(){};
|
||||
|
||||
int GetWidth();
|
||||
int GetHeight();
|
||||
|
||||
void SetSize(int Width,int Height);
|
||||
void SetWidth(int Width);
|
||||
void SetHeight(int Height);
|
||||
|
||||
protected:
|
||||
std::vector< std::vector<sMapElem> > Map;
|
||||
};
|
||||
|
||||
|
||||
/*****************************************************************************/
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue