From eb7baf83704e5ffa3d0059e8db34b3c3508b2428 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Sat, 27 Oct 2007 15:59:10 +0000 Subject: Minor view code cleanup; this ought to fix the DOS redraw issues as well. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2629 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/libunix.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'crawl-ref/source/libunix.h') diff --git a/crawl-ref/source/libunix.h b/crawl-ref/source/libunix.h index cee2e6577e..ee424433df 100644 --- a/crawl-ref/source/libunix.h +++ b/crawl-ref/source/libunix.h @@ -7,6 +7,12 @@ #define O_BINARY O_RDWR #endif +#ifdef UNICODE_GLYPHS +typedef unsigned int screen_buffer_t; +#else +typedef unsigned short screen_buffer_t; +#endif + char getche(void); void message_out(int mline, int colour, const char *str, int firstcol = 0, @@ -30,6 +36,7 @@ int translate_keypad(int keyin); int wherex(void); int wherey(void); int window(int x1, int y1, int x2, int y2); +void puttext(int x1, int y1, int x2, int y2, const screen_buffer_t *); void update_screen(void); void clear_to_end_of_line(void); void clear_to_end_of_screen(void); @@ -41,6 +48,7 @@ void unixcurses_startup(void); void textbackground(int bg); void textcolor(int col); void textattr(int col); +int cset_adjust(int raw); void set_altcharset(bool alt_on); bool get_altcharset(); -- cgit v1.2.3-54-g00ecf