#define ALLEGRO_STATICLINK
#include <allegro.h>

#define TILE_W 16
#define TILE_H 16
#define ZONE_W 550
#define ZONE_H 550

class TILE {
public:
	int num;
	int passable;
};

class FRINGE {
public:
	int num;
	int passable;
};

class OBJECT {
public:
	int num;
	int passable;
};

// the 3 layered zone map
class MAP {
public:
   	TILE tile[ZONE_W][ZONE_H]; // map tiles
	FRINGE fringe[ZONE_W][ZONE_H]; // trees, tables, etc
	OBJECT object[ZONE_W][ZONE_H]; // players, monsters, items
	void load();
	void save();
};
