From 7a592cc1f6ccc109172b0653f0eb43fd8f1c40a2 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Fri, 12 Jan 2007 08:41:34 +0000 Subject: 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 --- crawl-ref/source/libw32c.cc | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'crawl-ref/source/libw32c.cc') 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); +} -- cgit v1.2.3-54-g00ecf