summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/output.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-25 12:55:26 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-25 12:55:26 +0000
commit3970539e0caa99ad9b68d454cc46f713ac71bc73 (patch)
treedb9d7f8943f3e8adf036a7fec4f47d53d06521ec /crawl-ref/source/output.cc
parent6d3a9722a2da87fd55334a2484b2064e118f69f8 (diff)
downloadcrawl-ref-3970539e0caa99ad9b68d454cc46f713ac71bc73.tar.gz
crawl-ref-3970539e0caa99ad9b68d454cc46f713ac71bc73.zip
Improve targetting via monster list, add a new option to define the
toggle's initial setting, and update/correct the documentation a bit. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6135 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/output.cc')
-rw-r--r--crawl-ref/source/output.cc11
1 files changed, 8 insertions, 3 deletions
diff --git a/crawl-ref/source/output.cc b/crawl-ref/source/output.cc
index b769206e7c..6074856306 100644
--- a/crawl-ref/source/output.cc
+++ b/crawl-ref/source/output.cc
@@ -1450,13 +1450,13 @@ void get_monster_pane_info(std::vector<monster_pane_info>& mons)
}
#define BOTTOM_JUSTIFY_MONSTER_LIST 0
-void update_monster_pane()
+bool update_monster_pane()
{
const int max_print = crawl_view.mlistsz.y;
textbackground(BLACK);
if (max_print <= 0)
- return;
+ return (false);
std::vector<monster_pane_info> mons;
get_monster_pane_info(mons);
@@ -1514,10 +1514,15 @@ void update_monster_pane()
cgotoxy(crawl_view.mlistsz.x - 4, crawl_view.mlistsz.y, GOTO_MLIST);
cprintf(" ... ");
}
+
+ return zombified;
}
#else
// FIXME: Implement this for Tiles!
-void update_monster_pane() {}
+bool update_monster_pane()
+{
+ return (false);
+}
#endif
const char* itosym1(int stat)