diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2010-03-02 22:46:34 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2010-03-02 22:47:26 +0100 |
commit | b5d49a0c6d05b3008b92b6f2045a12e6d4f61ce0 (patch) | |
tree | 9521b9ef1352fa1f52d93010b15b80bd1778e540 /crawl-ref/source/show.h | |
parent | 61a89c81ef8d7dbcef2301b85b1aed305f30648a (diff) | |
download | crawl-ref-b5d49a0c6d05b3008b92b6f2045a12e6d4f61ce0.tar.gz crawl-ref-b5d49a0c6d05b3008b92b6f2045a12e6d4f61ce0.zip |
Add CMD_SHOW_TERRAIN (key '|') to show just terrain.
Diffstat (limited to 'crawl-ref/source/show.h')
-rw-r--r-- | crawl-ref/source/show.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/show.h b/crawl-ref/source/show.h index 9df8d6b62c..a20ed8a6d7 100644 --- a/crawl-ref/source/show.h +++ b/crawl-ref/source/show.h @@ -76,8 +76,9 @@ class show_def public: show_type operator()(const coord_def &ep) const { return grid(ep); } - void init(); - void update_at(const coord_def &gp, const coord_def &ep); + void init(bool terrain_only = false); + void update_at(const coord_def &gp, const coord_def &ep, + bool terrain_only = false); }; // Convert a show object as in env.show to one to be stored in |