Go to the source code of this file.
Functions | |
| bool | in_bounds_x (int x) |
| bool | in_bounds_y (int y) |
| bool | in_bounds (int x, int y) |
| bool | map_bounds_x (int x) |
| bool | map_bounds_y (int y) |
| bool | map_bounds (int x, int y) |
| coord_def | random_in_bounds () |
| bool | in_bounds (const coord_def &p) |
| bool | map_bounds (const coord_def &p) |
| bool | map_bounds_with_margin (coord_def p, int margin) |
| bool | show_bounds (const coord_def &p) |
| int | grid_distance (const coord_def &p1, const coord_def &p2) |
| int | distance (const coord_def &p1, const coord_def &p2) |
| bool | adjacent (const coord_def &p1, const coord_def &p2) |
| coord_def | player2grid (const coord_def &pc) |
| coord_def | grid2player (const coord_def &pc) |



| bool in_bounds | ( | const coord_def & | p | ) | [inline] |

| bool in_bounds | ( | int | x, | |
| int | y | |||
| ) |

| bool in_bounds_x | ( | int | x | ) |
| bool in_bounds_y | ( | int | y | ) |
| bool map_bounds | ( | const coord_def & | p | ) | [inline] |

| bool map_bounds | ( | int | x, | |
| int | y | |||
| ) |

| bool map_bounds_with_margin | ( | coord_def | p, | |
| int | margin | |||
| ) |
| bool map_bounds_x | ( | int | x | ) |
| bool map_bounds_y | ( | int | y | ) |
| coord_def random_in_bounds | ( | ) |

| bool show_bounds | ( | const coord_def & | p | ) | [inline] |
1.5.6