diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-12-31 07:28:37 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-12-31 07:28:37 +0000 |
commit | 19f993c7183042c4666569fce41f7dbf39a61522 (patch) | |
tree | fbe15aef8b40df555dc62300a0f69e97a3cbc016 /crawl-ref/source/output.cc | |
parent | 58bb44d35fd7b24c377895aabcb33ef5f201a978 (diff) | |
download | crawl-ref-19f993c7183042c4666569fce41f7dbf39a61522.tar.gz crawl-ref-19f993c7183042c4666569fce41f7dbf39a61522.zip |
Added show_turns option to control turn counter display.
Also documented morgue_dir (thanks, David).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@750 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/output.cc')
-rw-r--r-- | crawl-ref/source/output.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/crawl-ref/source/output.cc b/crawl-ref/source/output.cc index 4ab715cfa4..2c544fb544 100644 --- a/crawl-ref/source/output.cc +++ b/crawl-ref/source/output.cc @@ -62,8 +62,12 @@ void update_turn_count() { // Don't update turn counter when running/resting/traveling to // prevent pointless screen updates. - if (you.running > 0 || (you.running < 0 && Options.travel_delay == -1)) + if (!Options.show_turns + || you.running > 0 + || (you.running < 0 && Options.travel_delay == -1)) + { return; + } // FIXME: Create some kind of layout manager class so we can // templatise the heads-up display layout and stop hardcoding |