diff options
author | Enne Walker <enne.walker@gmail.com> | 2010-05-26 22:42:34 -0400 |
---|---|---|
committer | Enne Walker <enne.walker@gmail.com> | 2010-05-26 23:15:26 -0400 |
commit | 1f1ceb1cdc839d57b55e934cd9bffb84a7418e8d (patch) | |
tree | 0f29fb30c736733693e1d8552687c91bc51ff270 /crawl-ref/source/tilereg-dgn.h | |
parent | 5babdf18d2468fc2f42fb1545af673b636f611e8 (diff) | |
download | crawl-ref-1f1ceb1cdc839d57b55e934cd9bffb84a7418e8d.tar.gz crawl-ref-1f1ceb1cdc839d57b55e934cd9bffb84a7418e8d.zip |
Allow left-clicking on monster list to attack.
This uses the same code as the dungeon, so firing, casting, evoking on
monsters can all be done via keyboard modifiers.
Diffstat (limited to 'crawl-ref/source/tilereg-dgn.h')
-rw-r--r-- | crawl-ref/source/tilereg-dgn.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/tilereg-dgn.h b/crawl-ref/source/tilereg-dgn.h index 7d69f95e29..896cd4995b 100644 --- a/crawl-ref/source/tilereg-dgn.h +++ b/crawl-ref/source/tilereg-dgn.h @@ -19,6 +19,9 @@ struct TextTag coord_def gc; }; +bool tile_dungeon_tip(const coord_def &gc, std::string &tip); +int tile_click_cell(const coord_def &gc, unsigned char mod); + class DungeonRegion : public TileRegion { public: |