summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/direct.h
diff options
context:
space:
mode:
authorennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-28 05:31:36 +0000
committerennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-28 05:31:36 +0000
commit17d51dec2e404928c52bd4358c66703285f1eb0f (patch)
tree0dfd58f79f2359a887fbb94a65c68d33b426f324 /crawl-ref/source/direct.h
parente7c257339952a377b86b78e88397e35c12851a87 (diff)
downloadcrawl-ref-17d51dec2e404928c52bd4358c66703285f1eb0f.tar.gz
crawl-ref-17d51dec2e404928c52bd4358c66703285f1eb0f.zip
* Monster list is now placed to the left of the view if the terminal is wide enough to make better use of available space.
* Added init.txt options for monster list placement. mlist_min_height - minimum items in the monster list (default: 5) mlist_force_inline - force the monster list to be between hud and messages * Fixed some (but not all) problems with the monster list being updated properly when monsters appear. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3909 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/direct.h')
-rw-r--r--crawl-ref/source/direct.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/direct.h b/crawl-ref/source/direct.h
index 8caedfa583..896cb6d60c 100644
--- a/crawl-ref/source/direct.h
+++ b/crawl-ref/source/direct.h
@@ -49,6 +49,7 @@ public:
coord_def msgsz; // Size of the message pane.
coord_def mlistp; // Left-top pos of the monster list.
coord_def mlistsz; // Size of the monster list.
+ bool mlist_inline; // Is the mlist inline or in its own column?
crawl_view_buffer vbuf; // Buffer for drawing the main game map.
@@ -66,6 +67,9 @@ public:
static const int hud_min_width = 41;
static const int hud_min_gutter = 3;
static const int hud_max_gutter = 6;
+ static const int mlist_gutter = 1;
+ static const int mlist_min_width = 14;
+ static const int mlist_max_width = 26;
private:
coord_def last_player_pos;