/* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*
*/
#ifndef MM1_MAPS_MAPS_H
#define MM1_MAPS_MAPS_H
#include "common/array.h"
#include "common/rect.h"
#include "graphics/managed_surface.h"
#include "mm/mm1/maps/map.h"
namespace MM {
namespace MM1 {
namespace Maps {
enum TownId {
NO_TOWN = 0, SORPIGAL = 1, PORTSMITH = 2,
ALGARY = 3, DUSK = 4, ERLIQUIN = 5
};
enum DirMask {
DIRMASK_N = 0xC0, DIRMASK_E = 0x30,
DIRMASK_S = 0xC, DIRMASK_W = 3
};
enum StateFlag {
SFLAG_SPELLS_DISALLOWED = 2
};
enum Visited {
VISITED_NONE = 0, VISITED_NORMAL = 1, VISITED_SPECIAL = 2,
VISITED_EXIT = 3, VISITED_BUSINESS = 4
};
/**
* Container for all the game maps
*/
class Maps {
friend class Map;
private:
Common::Array