summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libw32c.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-01-12 08:41:34 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-01-12 08:41:34 +0000
commit7a592cc1f6ccc109172b0653f0eb43fd8f1c40a2 (patch)
tree29667502b0de5bc7664f4b93b7693ed3236030f9 /crawl-ref/source/libw32c.cc
parent4a36706dfc155fbf554767e537451a8a037b209b (diff)
downloadcrawl-ref-7a592cc1f6ccc109172b0653f0eb43fd8f1c40a2.tar.gz
crawl-ref-7a592cc1f6ccc109172b0653f0eb43fd8f1c40a2.zip
First steps towards making delay_message_clear useful. The intent is to use a
scrolling message window and show --more-- only when the message window is filled with new messages since the last mesclr (as suggested by Eidolos/doy on ##crawl). This currently works only on curses (breaks the DOS and Windows compiles), I'm working on fixing that. There are also some cursor glitches with prompts at the bottom of the message window that I need to fix. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@837 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/libw32c.cc')
-rw-r--r--crawl-ref/source/libw32c.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/crawl-ref/source/libw32c.cc b/crawl-ref/source/libw32c.cc
index 7dc5b696e3..4e778b7aab 100644
--- a/crawl-ref/source/libw32c.cc
+++ b/crawl-ref/source/libw32c.cc
@@ -881,3 +881,13 @@ bool setBuffering( bool value )
return oldValue;
}
+
+int get_number_of_lines()
+{
+ return (25);
+}
+
+int get_number_of_cols()
+{
+ return (80);
+}