54 int Get(
int a_x,
int a_y );
55 char*
GetID(
void ) {
return m_id; }
56 int* GetMagicP(
int a_x,
int a_y );
57 void Put(
int a_x,
int a_y,
int a_elem ) { m_map[ a_y * m_width + a_x ] = a_elem; }
62 int CellReplacementNeighbour(
int a_x,
int a_y,
int a_polyref);
64 bool MissingCellReplace(
int a_x,
int a_y,
bool a_fieldsonly);
66 bool MissingCellReplaceWrap(
int a_x,
int a_y,
bool a_fieldsonly);
68 void Init1(
const char* a_mapfile,
Landscape * m_landscape);
69 void Init2(
const char* a_mapfile,
Landscape * m_landscape);
76 return &m_map[ a_y * m_width + a_x ];
82 if (a_x<0 || a_x>=m_width ||
83 a_y<0 || a_y>=m_height ) {
91 return m_map[ a_y * m_width + a_x ];