diff options
author | Florian Diebold <flodiebold@gmail.com> | 2012-07-04 23:10:32 +0200 |
---|---|---|
committer | Florian Diebold <flodiebold@gmail.com> | 2012-07-04 23:13:08 +0200 |
commit | d4f407ec6519a8ba2348699ff4ae18c325cc65da (patch) | |
tree | 866f800cc72f603a039ccea6f545bd4e102f3c1e /crawl-ref/source/env.h | |
parent | 957b2ec75df10225ebc91a7acb02b228d7bed7c4 (diff) | |
download | crawl-ref-d4f407ec6519a8ba2348699ff4ae18c325cc65da.tar.gz crawl-ref-d4f407ec6519a8ba2348699ff4ae18c325cc65da.zip |
New option: show_travel_trail.
This highlights the path taken during the last exploration or travel,
and should help make travel_delay=-1 less disorienting. The path is
cleared when the player moves otherwise.
In console, it is indicated with COLFLAG_REVERSE, which I'm not sure
is the best option, but just changing the floor colour didn't seem
noticeable enough.
Diffstat (limited to 'crawl-ref/source/env.h')
-rw-r--r-- | crawl-ref/source/env.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/env.h b/crawl-ref/source/env.h index fb642f2cd6..44bc4e40ea 100644 --- a/crawl-ref/source/env.h +++ b/crawl-ref/source/env.h @@ -50,6 +50,8 @@ struct crawl_environment FixedArray< map_cell, GXM, GYM > map_shadow; std::set<coord_def> visible; + std::vector<coord_def> travel_trail; + // indexed by grid coords #ifdef USE_TILE FixedArray<tile_fg_store, GXM, GYM> tile_bk_fg; |