#include "deliantra/data/map.h" #include using data::map; void map::clear () { x = 0; y = 0; for (auto &row : rows) for (auto &cell : row) cell.clear_all (); } void map::ensure (int x, int y) { rows.ensure (y); rows.at (y).ensure (x); }