display/source/CursesDisplay.cpp
// draw_tile is called externally from a Display to draw a particular engine
// coordinate.  The display takes the given y and x, adds the appropriate offsets,
// and then calls its own internal function to draw the given DisplayTile at the
// correct location on-screen.
draw_tile is called externally from a Display to draw a particular engine
coordinate.  The display takes the given y and x, adds the appropriate offsets,
and then calls its own internal function to draw the given DisplayTile at the
correct location on-screen.
draw_tile is called externally from a Display to draw a particular engine coordinate . The display takes the given y and x adds the appropriate offsets and then calls its own internal function to draw the given DisplayTile at the correct location on - screen .
void CursesDisplay::draw_tile(const uint y, const uint x, const DisplayTile& tile)
{
  curs_set(0);
  uint terminal_row = CursesConstants::MAP_START_ROW + y;
  uint terminal_col = CursesConstants::MAP_START_COL + x;
  draw_coordinate(tile, terminal_row, terminal_col);
  refresh();
}
void CursesDisplay :: draw_tile ( const uint y , const uint x , const DisplayTile & tile ) { curs_set ( 0 ) ; uint terminal_row = CursesConstants :: MAP_START_ROW + y ; uint terminal_col = CursesConstants :: MAP_START_COL + x ; draw_coordinate ( tile , terminal_row , terminal_col ) ; refresh ( ) ; }
draw_tile is called externally from a Display to draw a particular engine
coordinate.
draw_tile is called externally from a Display to draw a particular engine coordinate .
// Turn off the cursor temporarily - higher level redraw functions will enable it // and place it correctly.