int aw_sector_from_cell (int cell)

DESCRIPTION

Converts a cell coordinate to a sector coordinate.

NOTES

See Property for a detailed description of the relationship between sectors and cells.

EXAMPLE

void convert_cell_to_sector (int cell_x, int cell_z)
{

  printf ("cell (%d, %d) is in sector (%d, %d)\n", cell_x, cell_z,
    aw_sector_from_cell (cell_x), aw_sector_from_cell (cell_z));

}

SEE ALSO

aw_query