summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mapdef.h
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-23 22:06:04 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-23 22:06:04 +0000
commit281255938e3fe3b4489c86eba89ae8da1783c337 (patch)
treeb1bf2cd82f0523a3cb37768375e927effac3cb23 /crawl-ref/source/mapdef.h
parentc8189c13faf12b8e598645a2ce4d5526ef2bcb6d (diff)
downloadcrawl-ref-281255938e3fe3b4489c86eba89ae8da1783c337.tar.gz
crawl-ref-281255938e3fe3b4489c86eba89ae8da1783c337.zip
Removed redundant buffer used to go from map_def to env.grid and all the tedious code used to mess with this pointless buffer.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7560 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mapdef.h')
-rw-r--r--crawl-ref/source/mapdef.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/mapdef.h b/crawl-ref/source/mapdef.h
index dad2e26af2..585ed6a542 100644
--- a/crawl-ref/source/mapdef.h
+++ b/crawl-ref/source/mapdef.h
@@ -260,6 +260,7 @@ public:
coord_def size() const;
int glyph(int x, int y) const;
+ int glyph(const coord_def &) const;
bool is_solid(int gly) const;
bool solid_borders(map_section_type border);