/* * area.hpp * BoE * * Created by Celtic Minstrel on 02/09/16. * */ #ifndef BOE_DATA_AREA_HPP #define BOE_DATA_AREA_HPP #include #include #include #include "vector2d.hpp" #include "location.hpp" #include "special.hpp" enum { AREA_TINY = 24, AREA_SMALL = 32, AREA_MEDIUM = 48, AREA_LARGE = 64, AREA_HUGE = 128, }; class cArea { public: const size_t max_dim; vector2d terrain; std::vector special_locs; std::vector sign_locs; std::vector area_desc; std::string name; // Persistent data for saved games std::vector> maps; explicit cArea(size_t dim) : max_dim(dim) , terrain(dim, dim) , maps(dim, boost::dynamic_bitset<>(dim)) {} }; #endif