summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libdos.h
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/libdos.h
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/libdos.h')
-rw-r--r--crawl-ref/source/libdos.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/crawl-ref/source/libdos.h b/crawl-ref/source/libdos.h
index 72872acdd5..1b8ae87e75 100644
--- a/crawl-ref/source/libdos.h
+++ b/crawl-ref/source/libdos.h
@@ -3,10 +3,17 @@
void init_libdos();
+int get_number_of_lines();
+int get_number_of_cols();
+
inline void enable_smart_cursor(bool ) { }
inline bool is_smart_cursor_enabled() { return (false); }
void set_cursor_enabled(bool enabled);
bool is_cursor_enabled();
void clear_to_end_of_line();
+void message_out(int mline, int colour, const char *str, int firstcol = 0,
+ bool newline = true);
+void clear_message_window();
+
#endif