summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libunix.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/libunix.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/libunix.h')
-rw-r--r--crawl-ref/source/libunix.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/crawl-ref/source/libunix.h b/crawl-ref/source/libunix.h
index c619cf114d..52ecc4f72b 100644
--- a/crawl-ref/source/libunix.h
+++ b/crawl-ref/source/libunix.h
@@ -9,6 +9,13 @@
char *strlwr(char *str);
char getche(void);
+void message_out(int mline, int colour, const char *str, int firstcol = 0,
+ bool newline = true);
+void clear_message_window();
+
+int get_number_of_lines();
+int get_number_of_cols();
+
int getch_ck(void);
int clrscr(void);
int cprintf(const char *format,...);
@@ -24,8 +31,6 @@ int window(int x1, int y1, int x2, int y2);
void update_screen(void);
void clear_to_end_of_line(void);
void clear_to_end_of_screen(void);
-int get_number_of_lines_from_curses(void);
-int get_number_of_cols_from_curses(void);
void get_input_line_from_curses( char *const buff, int len );
void delay(unsigned long time);