summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/view.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-11-10 13:35:52 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-11-10 13:57:07 +0100
commit7296afe57a7ea99996e083e646395f4f4be95648 (patch)
tree36575e7d627cd018a177cea6357c86f3f9c8fe09 /crawl-ref/source/view.cc
parent9ea804adc31235b649583d839f409c2fd257fdfd (diff)
downloadcrawl-ref-7296afe57a7ea99996e083e646395f4f4be95648.tar.gz
crawl-ref-7296afe57a7ea99996e083e646395f4f4be95648.zip
Remove inside_level_bounds.
This was a weird mix of in_bounds and map_bounds (exclusive top-left, inclusive top-right). Replaced with in_bounds.
Diffstat (limited to 'crawl-ref/source/view.cc')
-rw-r--r--crawl-ref/source/view.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/crawl-ref/source/view.cc b/crawl-ref/source/view.cc
index 05e43236bc..e333bec5e6 100644
--- a/crawl-ref/source/view.cc
+++ b/crawl-ref/source/view.cc
@@ -86,16 +86,6 @@
crawl_view_geometry crawl_view;
-bool inside_level_bounds(int x, int y)
-{
- return (x > 0 && x < GXM && y > 0 && y < GYM);
-}
-
-bool inside_level_bounds(const coord_def &p)
-{
- return (inside_level_bounds(p.x, p.y));
-}
-
bool is_notable_terrain(dungeon_feature_type ftype)
{
return (get_feature_def(ftype).is_notable());