diff options
Diffstat (limited to 'crawl-ref/source/los.h')
-rw-r--r-- | crawl-ref/source/los.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/crawl-ref/source/los.h b/crawl-ref/source/los.h index 92d00090e0..7fcc406878 100644 --- a/crawl-ref/source/los.h +++ b/crawl-ref/source/los.h @@ -43,21 +43,21 @@ void losight(env_show_grid& sh, const coord_def& center, void losight(env_show_grid& sh, const los_param& param); void calc_show_los(); -bool see_grid( const env_show_grid &show, - const coord_def &c, - const coord_def &pos ); -bool see_grid(const coord_def &p); -bool see_grid_no_trans( const coord_def &p ); +bool see_cell(const env_show_grid &show, + const coord_def &c, + const coord_def &pos ); +bool see_cell(const coord_def &p); +bool see_cell_no_trans( const coord_def &p ); bool trans_wall_blocking( const coord_def &p ); -inline bool see_grid( int grx, int gry ) +inline bool see_cell(int grx, int gry) { - return see_grid(coord_def(grx, gry)); + return see_cell(coord_def(grx, gry)); } -inline bool see_grid_no_trans(int x, int y) +inline bool see_cell_no_trans(int x, int y) { - return see_grid_no_trans(coord_def(x, y)); + return see_cell_no_trans(coord_def(x, y)); } inline bool trans_wall_blocking(int x, int y) |