diff options
author | Enne Walker <enne.walker@gmail.com> | 2010-06-06 22:15:18 -0400 |
---|---|---|
committer | Enne Walker <enne.walker@gmail.com> | 2010-06-08 21:36:23 -0400 |
commit | 5d16a7dbfa222346c16c6f3aa275c503a001be0a (patch) | |
tree | 2160d53e6b517477c6a6652b96186d5cf4c7f744 /crawl-ref/source/tilepick.h | |
parent | 99492108ecb20b35e48d230c5abc588ac5190596 (diff) | |
download | crawl-ref-5d16a7dbfa222346c16c6f3aa275c503a001be0a.tar.gz crawl-ref-5d16a7dbfa222346c16c6f3aa275c503a001be0a.zip |
Refactor tileidx_monster function.
This splits this function out into one function that knows about the
monster info and one that only knows about the monster type.
Diffstat (limited to 'crawl-ref/source/tilepick.h')
-rw-r--r-- | crawl-ref/source/tilepick.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/tilepick.h b/crawl-ref/source/tilepick.h index 7bf06c125a..07a6ea982b 100644 --- a/crawl-ref/source/tilepick.h +++ b/crawl-ref/source/tilepick.h @@ -20,8 +20,8 @@ class monsters; tileidx_t tileidx_feature(const coord_def &gc); tileidx_t tileidx_out_of_bounds(int branch); -tileidx_t tileidx_monster_base(const monsters *mon, bool detected = false); -tileidx_t tileidx_monster(const monsters *mon, bool detected = false); +tileidx_t tileidx_monster(const monsters *mon); +tileidx_t tileidx_monster_detected(const monsters *mon); tileidx_t tileidx_draco_base(const monsters *mon); tileidx_t tileidx_draco_job(const monsters *mon); |